]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
Documentation: kprobetrace: document 'trigger' file
authorAndreas Ziegler <andreas.ziegler@fau.de>
Mon, 16 Jul 2018 11:05:58 +0000 (13:05 +0200)
committerJonathan Corbet <corbet@lwn.net>
Mon, 23 Jul 2018 15:26:42 +0000 (09:26 -0600)
As the other files are documented explicitly, let's add a
short description for 'trigger' as well.

Signed-off-by: Andreas Ziegler <andreas.ziegler@fau.de>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/trace/kprobetrace.rst

index c4aaef7d7c89a51d508c14b29881e1d44581699c..8bfc75c908061710ec3e406c7497000b08a80050 100644 (file)
@@ -81,7 +81,7 @@ Per-probe event filtering feature allows you to set different filter on each
 probe and gives you what arguments will be shown in trace buffer. If an event
 name is specified right after 'p:' or 'r:' in kprobe_events, it adds an event
 under tracing/events/kprobes/<EVENT>, at the directory you can see 'id',
-'enable', 'format' and 'filter'.
+'enable', 'format', 'filter' and 'trigger'.
 
 enable:
   You can enable/disable the probe by writing 1 or 0 on it.
@@ -95,6 +95,9 @@ filter:
 id:
   This shows the id of this probe event.
 
+trigger:
+  This allows to install trigger commands which are executed when the event is
+  hit (for details, see Documentation/trace/events.rst, section 6).
 
 Event Profiling
 ---------------