diff options
author | Steven Rostedt <srostedt@redhat.com> | 2008-11-26 05:16:23 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-26 05:52:52 (GMT) |
commit | df4fc31558dd2a3a30292ddb3a64c2a5befcec73 (patch) | |
tree | e7e57093541568a039175aa846fe135f6ba575e2 /arch/x86/kernel/ftrace.c | |
parent | c2324b694fa8ffee382a124198c68754088e483c (diff) | |
download | linux-fsl-qoriq-df4fc31558dd2a3a30292ddb3a64c2a5befcec73.tar.xz |
ftrace: add function tracing to single thread
Impact: feature to function trace a single thread
This patch adds the ability to function trace a single thread.
The file:
/debugfs/tracing/set_ftrace_pid
contains the pid to trace. Valid pids are any positive integer.
Writing any negative number to this file will disable the pid
tracing and the function tracer will go back to tracing all of
threads.
This feature works with both static and dynamic function tracing.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/ftrace.c')
0 files changed, 0 insertions, 0 deletions