summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Ziegler <andreas.ziegler@fau.de>2018-07-16 14:05:58 +0300
committerJonathan Corbet <corbet@lwn.net>2018-07-23 18:26:42 +0300
commit31130c8ec8cc03dec563b8e1317be508d4268225 (patch)
tree5b18f8af83fafd4f93f6f9239db696e93d4072b6
parente50891d6eff5bc446ecf5d4c04906a19d2eb8424 (diff)
downloadlinux-31130c8ec8cc03dec563b8e1317be508d4268225.tar.xz
Documentation: kprobetrace: document 'trigger' file
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>
-rw-r--r--Documentation/trace/kprobetrace.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/trace/kprobetrace.rst b/Documentation/trace/kprobetrace.rst
index c4aaef7d7c89..8bfc75c90806 100644
--- a/Documentation/trace/kprobetrace.rst
+++ b/Documentation/trace/kprobetrace.rst
@@ -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
---------------