diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-02-16 15:28:00 -0500 |
---|---|---|
committer | Steven Rostedt <srostedt@redhat.com> | 2009-02-16 22:50:06 -0500 |
commit | 8fc0c701c5b6c0c3e242758c3acef6f9047940a9 (patch) | |
tree | aa9c495fc2d898b39873e1ce9f154bed64b33f8e /fs/cramfs | |
parent | 23b4ff3aa479c9e3bb23cb6b2d0a97878399784a (diff) |
ftrace: show selected functions in set_ftrace_filter
This patch adds output to show what functions have tracer hooks
attached to them.
# echo 'sys_open:traceon:4' > /debug/tracing/set_ftrace_filter
# cat set_ftrace_filter
#### all functions enabled ####
sys_open:ftrace_traceon:0000000000000004
# echo 'do_fork:traceoff:' > set_ftrace_filter
# cat set_ftrace_filter
#### all functions enabled ####
sys_open:ftrace_traceon:0000000000000002
do_fork:ftrace_traceoff:ffffffffffffffff
Note the 4 changed to a 2. This is because The code was executed twice
since the traceoff was added. If a cat is done again:
#### all functions enabled ####
sys_open:ftrace_traceon
do_fork:ftrace_traceoff:ffffffffffffffff
The number disappears. That is because it will not print a NULL.
Callbacks to allow the tracer to pretty print will be implemented soon.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'fs/cramfs')
0 files changed, 0 insertions, 0 deletions