]> git.baikalelectronics.ru Git - kernel.git/commit
tracing/boot: Add synthetic event support
authorMasami Hiramatsu <mhiramat@kernel.org>
Fri, 10 Jan 2020 16:06:52 +0000 (01:06 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 13 Jan 2020 18:19:42 +0000 (13:19 -0500)
commit4b6b1eba5d8f7dc7fd0ec1d0e05d4b18f49a2968
treed09c96f98d9a1a70ec0fe68185a0889d1147ae40
parentb4ee65c1c3e881fe0584ed398f93d2a8f7fa2f95
tracing/boot: Add synthetic event support

Add synthetic event node support to boot time tracing.
The synthetic event is a kind of event node, but the group
name is "synthetic".

 - ftrace.event.synthetic.EVENT.fields = FIELD[, FIELD2...]
   Defines new synthetic event with FIELDs. Each field should be
   "type varname".

The synthetic node requires "fields" string arraies, which defines
the fields as same as tracing/synth_events interface.

Link: http://lkml.kernel.org/r/157867241236.17873.12411615143321557709.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_boot.c
kernel/trace/trace_events_hist.c