diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2018-05-11 15:41:24 -0400 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2018-05-29 08:29:30 -0400 |
commit | d3439f9d6c1a5316ba66397408a275f0601f69aa (patch) | |
tree | c42a24ff0a374a1f33635ee9901afd0f10d728c1 /Documentation/trace/events.rst | |
parent | 3be4c1e52aa5a917aacb1c3829c2d89096b30230 (diff) | |
download | linux-d3439f9d6c1a5316ba66397408a275f0601f69aa.tar.bz2 |
tracing: Document trace_marker triggers
Add documentation and an example on how to use trace_marker triggers.
Reviewed-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Reviewed-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'Documentation/trace/events.rst')
-rw-r--r-- | Documentation/trace/events.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/trace/events.rst b/Documentation/trace/events.rst index a5ea2cb0082b..1afae55dc55c 100644 --- a/Documentation/trace/events.rst +++ b/Documentation/trace/events.rst @@ -338,10 +338,14 @@ used for conditionally invoking triggers. The syntax for event triggers is roughly based on the syntax for set_ftrace_filter 'ftrace filter commands' (see the 'Filter commands' -section of Documentation/trace/ftrace.txt), but there are major +section of Documentation/trace/ftrace.rst), but there are major differences and the implementation isn't currently tied to it in any way, so beware about making generalizations between the two. +Note: Writing into trace_marker (See Documentation/trace/ftrace.rst) + can also enable triggers that are written into + /sys/kernel/tracing/events/ftrace/print/trigger + 6.1 Expression syntax --------------------- |