diff options
author | Steven Rostedt <srostedt@redhat.com> | 2008-11-26 08:16:23 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-26 08:52:52 +0300 |
commit | df4fc31558dd2a3a30292ddb3a64c2a5befcec73 (patch) | |
tree | e7e57093541568a039175aa846fe135f6ba575e2 /include/linux/ftrace.h | |
parent | c2324b694fa8ffee382a124198c68754088e483c (diff) | |
download | linux-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 'include/linux/ftrace.h')
0 files changed, 0 insertions, 0 deletions