diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-02-13 17:08:48 -0500 |
---|---|---|
committer | Steven Rostedt <srostedt@redhat.com> | 2009-02-16 16:55:50 -0500 |
commit | 64e7c440618998fd69eee6ab490b042d12248021 (patch) | |
tree | 384246f895f2697dd6927b776c67755cc13e901d /Documentation/bt8xxgpio.txt | |
parent | 9f4801e30ad291e27284e873696da1ead92d68fa (diff) |
ftrace: add module command function filter selection
This patch adds a "command" syntax to the function filtering files:
/debugfs/tracing/set_ftrace_filter
/debugfs/tracing/set_ftrace_notrace
Of the format: <function>:<command>:<parameter>
The command is optional, and dependent on the command, so are
the parameters.
echo do_fork > set_ftrace_filter
Will only trace 'do_fork'.
echo 'sched_*' > set_ftrace_filter
Will only trace functions starting with the letters 'sched_'.
echo '*:mod:ext3' > set_ftrace_filter
Will trace only the ext3 module functions.
echo '*write*:mod:ext3' > set_ftrace_notrace
Will prevent the ext3 functions with the letters 'write' in
the name from being traced.
echo '!*_allocate:mod:ext3' > set_ftrace_filter
Will remove the functions in ext3 that end with the letters
'_allocate' from the ftrace filter.
Although this patch implements the 'command' format, only the
'mod' command is supported. More commands to follow.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'Documentation/bt8xxgpio.txt')
0 files changed, 0 insertions, 0 deletions