2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 13:13:57 +08:00
linux-next/Documentation/trace
Tom Zanussi f404da6e1d tracing: Add 'last error' error facility for hist triggers
With the addition of variables and actions, it's become necessary to
provide more detailed error information to users about syntax errors.

Add a 'last error' facility accessible via the erroring event's 'hist'
file.  Reading the hist file after an error will display more detailed
information about what went wrong, if information is available.  This
extended error information will be available until the next hist
trigger command for that event.

  # echo xxx > /sys/kernel/debug/tracing/events/sched/sched_wakeup/trigger
  echo: write error: Invalid argument

  # cat /sys/kernel/debug/tracing/events/sched/sched_wakeup/hist

  ERROR: Couldn't yyy: zzz
  Last command: xxx

Also add specific error messages for variable and action errors.

Link: http://lkml.kernel.org/r/64e9c422fc8aeafcc2f7a3b4328c0cffe7969129.1516069914.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>
2018-03-10 16:06:02 -05:00
..
postprocess trace-vmscan-postprocess: sync with tracepoints updates 2017-02-22 16:41:29 -08:00
coresight-cpu-debug.txt doc: coresight: correct usage for disabling idle states 2017-10-20 15:03:06 +02:00
coresight.txt coresight: stm: adding driver for CoreSight STM component 2016-05-03 14:59:30 -07:00
events-kmem.txt mm-tracepoint: rename page-free events 2012-01-10 16:30:41 -08:00
events-msr.txt x86, tracing, perf: Add trace point for MSR accesses 2015-12-06 12:56:10 +01:00
events-nmi.txt x86: Add NMI duration tracepoints 2013-06-23 11:52:58 +02:00
events-power.txt PM / QoS: Rename device resume latency QoS items 2014-02-11 00:35:23 +01:00
events.txt tracing: Move hist trigger Documentation to histogram.txt 2018-03-10 16:05:48 -05:00
ftrace-design.txt ftrace: Add return address pointer to ftrace_ret_stack 2016-08-24 12:15:14 +02:00
ftrace-uses.rst docs: ftrace-uses.rst fix varios code-block directives 2017-12-21 13:39:31 -07:00
ftrace.txt tracing: Add timestamp_mode trace file 2018-03-10 16:05:51 -05:00
function-graph-fold.vim tracing: Add vim script to enable folding for function_graph traces 2009-08-26 00:32:04 -04:00
histogram.txt tracing: Add 'last error' error facility for hist triggers 2018-03-10 16:06:02 -05:00
hwlat_detector.txt tracing: Have hwlat trace migrate across tracing_cpumask CPUs 2016-09-02 12:47:54 -04:00
intel_th.txt Documentation: fix ref to trace stm content 2017-10-19 12:57:42 -06:00
kprobetrace.txt New features for this release: 2017-05-03 18:41:21 -07:00
mmiotrace.txt Documentation: Update mmiotrace.txt 2009-12-20 06:18:23 +01:00
ring-buffer-design.txt doc: fix double words 2014-03-21 13:16:58 +01:00
stm.txt stm class: Document the stm_ftrace 2017-08-25 17:58:34 +03:00
tracepoint-analysis.txt mm-tracepoint: fix documentation and examples 2012-01-10 16:30:41 -08:00
tracepoints.txt tracing: Add trace_<tracepoint>_enabled() function 2014-05-07 12:10:51 -04:00
uprobetracer.txt perf/core: Rename CONFIG_[UK]PROBE_EVENT to CONFIG_[UK]PROBE_EVENTS 2017-03-01 10:26:39 +01:00