aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Ingo Molnar <mingo@elte.hu> 2008-07-17 17:40:48 +0200
committerGravatar Ingo Molnar <mingo@elte.hu> 2008-07-17 17:40:48 +0200
commit2464a609ded094204a3aed24823745ec58e3c879 (patch)
tree54080daf81746787dbd11160752e04b9652b8728 /scripts
parentftrace: do not trace scheduler functions (diff)
downloadlinux-2464a609ded0.tar.gz
linux-2464a609ded0.tar.bz2
linux-2464a609ded0.zip
ftrace: do not trace library functions
make function tracing more robust: do not trace library functions. We've already got a sizable list of exceptions: ifdef CONFIG_FTRACE # Do not profile string.o, since it may be used in early boot or vdso CFLAGS_REMOVE_string.o = -pg # Also do not profile any debug utilities CFLAGS_REMOVE_spinlock_debug.o = -pg CFLAGS_REMOVE_list_debug.o = -pg CFLAGS_REMOVE_debugobjects.o = -pg CFLAGS_REMOVE_find_next_bit.o = -pg CFLAGS_REMOVE_cpumask.o = -pg CFLAGS_REMOVE_bitmap.o = -pg endif ... and the pattern has been that random library functionality showed up in ftrace's critical path (outside of its recursion check), causing hard to debug lockups. So be a bit defensive about it and exclude all lib/*.o functions by default. It's not that they are overly interesting for tracing purposes anyway. Specific ones can still be traced, in an opt-in manner. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions