Merge tag 'trace-v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux...
[sfrench/cifs-2.6.git] / Documentation / admin-guide / kernel-parameters.txt
index fb388c6c8c607e647ec2ea72f22c5446ddd1e647..5a0eff3231c6e10069aaa77e7a5856594eb7aa0f 100644 (file)
                        See also Documentation/trace/ftrace.rst "trace options"
                        section.
 
+       trace_trigger=[trigger-list]
+                       [FTRACE] Add a event trigger on specific events.
+                       Set a trigger on top of a specific event, with an optional
+                       filter.
+
+                       The format is is "trace_trigger=<event>.<trigger>[ if <filter>],..."
+                       Where more than one trigger may be specified that are comma deliminated.
+
+                       For example:
+
+                         trace_trigger="sched_switch.stacktrace if prev_state == 2"
+
+                       The above will enable the "stacktrace" trigger on the "sched_switch"
+                       event but only trigger it if the "prev_state" of the "sched_switch"
+                       event is "2" (TASK_UNINTERUPTIBLE).
+
+                       See also "Event triggers" in Documentation/trace/events.rst
+
+
        traceoff_on_warning
                        [FTRACE] enable this option to disable tracing when a
                        warning is hit. This turns off "tracing_on". Tracing can