summaryrefslogtreecommitdiffstats
path: root/Documentation/cpu-freq/cpu-drivers.txt
diff options
context:
space:
mode:
authorSteven Rostedt2009-02-16 21:28:00 +0100
committerSteven Rostedt2009-02-17 04:50:06 +0100
commit8fc0c701c5b6c0c3e242758c3acef6f9047940a9 (patch)
treeaa9c495fc2d898b39873e1ce9f154bed64b33f8e /Documentation/cpu-freq/cpu-drivers.txt
parentftrace: add traceon traceoff commands to enable/disable the buffers (diff)
downloadkernel-qcow2-linux-8fc0c701c5b6c0c3e242758c3acef6f9047940a9.tar.gz
kernel-qcow2-linux-8fc0c701c5b6c0c3e242758c3acef6f9047940a9.tar.xz
kernel-qcow2-linux-8fc0c701c5b6c0c3e242758c3acef6f9047940a9.zip
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 'Documentation/cpu-freq/cpu-drivers.txt')
0 files changed, 0 insertions, 0 deletions