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