aboutsummaryrefslogtreecommitdiff
path: root/kernel/printk.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-05-28 13:37:24 -0400
committerSteven Rostedt <rostedt@goodmis.org>2009-06-01 23:23:10 -0400
commit2af15d6a44b871ad4c2a651302374cde8f335480 (patch)
tree39f06d511e3e1d1970fe4571128549c1c26230c1 /kernel/printk.c
parentf2aebaee653a35b01c3665de2cbb1e31456b8ea8 (diff)
ftrace: add kernel command line function filtering
When using ftrace=function on the command line to trace functions on boot up, one can not filter out functions that are commonly called. This patch adds two new ftrace command line commands. ftrace_notrace=function-list ftrace_filter=function-list Where function-list is a comma separated list of functions to filter. The ftrace_notrace will make the functions listed not be included in the function tracing, and ftrace_filter will only trace the functions listed. These two act the same as the debugfs/tracing/set_ftrace_notrace and debugfs/tracing/set_ftrace_filter respectively. The simple glob expressions that are allowed by the filter files can also be used by the command line interface. ftrace_notrace=rcu*,*lock,*spin* Will not trace any function that starts with rcu, ends with lock, or has the word spin in it. Note, if the self tests are enabled, they may interfere with the filtering set by the command lines. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/printk.c')
0 files changed, 0 insertions, 0 deletions