summaryrefslogtreecommitdiffstats
path: root/Documentation/trace/ftrace.txt
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2015-11-03 22:37:15 +0100
committerSteven Rostedt <rostedt@goodmis.org>2015-11-03 22:37:15 +0100
commit627645fdb657dfae5fcf26bbf6a6e1b63751dbc8 (patch)
tree7c8d356aa5ba5d77def07dd5859d848c94172131 /Documentation/trace/ftrace.txt
parentring_buffer: Remove unneeded smp_wmb() before wakeup of reader benchmark (diff)
downloadlinux-627645fdb657dfae5fcf26bbf6a6e1b63751dbc8.tar.xz
linux-627645fdb657dfae5fcf26bbf6a6e1b63751dbc8.zip
tracing: Add some documentation about set_event_pid
Update Documentation to include some comments about how to use set_event_pid. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Documentation/trace/ftrace.txt')
-rw-r--r--Documentation/trace/ftrace.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/trace/ftrace.txt b/Documentation/trace/ftrace.txt
index db18362c14f3..f52f297cb406 100644
--- a/Documentation/trace/ftrace.txt
+++ b/Documentation/trace/ftrace.txt
@@ -204,6 +204,12 @@ of ftrace. Here is a list of some of the key files:
Have the function tracer only trace a single thread.
+ set_event_pid:
+
+ Have the events only trace a task with a PID listed in this file.
+ Note, sched_switch and sched_wake_up will also trace events
+ listed in this file.
+
set_graph_function:
Set a "trigger" function where tracing should start