linux/Documentation/trace
Tom Zanussi e91eefd731 tracing: Add alternative synthetic event trace action syntax
Add a 'trace(synthetic_event_name, params)' alternative to
synthetic_event_name(params).

Currently, the syntax used for generating synthetic events is to
invoke synthetic_event_name(params) i.e. use the synthetic event name
as a function call.

Users requested a new form that more explicitly shows that the
synthetic event is in effect being traced.  In this version, a new
'trace()' keyword is used, and the synthetic event name is passed in
as the first argument.

In addition, for the sake of consistency with other actions, change
the documention to emphasize the trace() form over the function-call
form, which remains documented as equivalent.

Link: http://lkml.kernel.org/r/d082773e50232a001480cf837679a1e01c1a2eb7.1550100284.git.tom.zanussi@linux.intel.com

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2019-02-20 13:51:07 -05:00
..
postprocess
coresight-cpu-debug.txt doc: trace: fix reference to cpuidle documentation file 2019-01-09 11:44:30 +01:00
coresight.txt docs: Fix some broken references 2018-06-15 18:10:01 -03:00
events-kmem.rst
events-msr.rst
events-nmi.rst
events-power.rst cpufreq: trace frequency limits change 2018-07-26 10:17:47 +02:00
events.rst docs: histogram.txt: convert it to ReST file format 2018-07-02 11:26:02 -06:00
ftrace-design.rst
ftrace-uses.rst docs: Fix some broken references 2018-06-15 18:10:01 -03:00
ftrace.rst ftrace: Allow enabling of filters via index of available_filter_functions 2019-02-15 13:10:09 -05:00
function-graph-fold.vim
histogram.rst tracing: Add alternative synthetic event trace action syntax 2019-02-20 13:51:07 -05:00
hwlat_detector.rst
index.rst stm class: Add a reference to the SyS-T document 2018-12-19 20:21:06 +01:00
intel_th.rst docs: Fix some broken references 2018-06-15 18:10:01 -03:00
kprobetrace.rst tracing/kprobes: Use dyn_event framework for kprobe events 2018-12-08 20:54:09 -05:00
mmiotrace.rst
ring-buffer-design.txt
stm.rst stm class: SPDX-ify the documentation 2018-10-11 12:12:55 +02:00
sys-t.rst stm class: Document the MIPI SyS-T protocol usage 2018-10-11 12:12:55 +02:00
tracepoint-analysis.rst docs: Fix some broken references 2018-06-15 18:10:01 -03:00
tracepoints.rst
uprobetracer.rst tracing/uprobes: Use dyn_event framework for uprobe events 2018-12-08 20:54:10 -05:00