tracing: Move the defines to create TRACE_EVENTS into their own files
authorSteven Rostedt (Google) <rostedt@goodmis.org>
Thu, 3 Mar 2022 22:05:33 +0000 (17:05 -0500)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Fri, 11 Mar 2022 16:49:23 +0000 (11:49 -0500)
commitaf6b9668e85ffd1502aada8036ccbf4dbd481708
tree463707fb4d354febbf35f3e51bc4034d082a7e07
parent953c2f052112a857c00058a641dc0c58ec7551d4
tracing: Move the defines to create TRACE_EVENTS into their own files

In an effort to add custom event macros that can be used to create your
own custom events based on existing tracepoints, move the defines of the
special macros used in TRACE_EVENT() into their own files such that they
can be reused for TRACE_CUSTOM_EVENT().

Link: https://lkml.kernel.org/r/20220303220625.553406495@goodmis.org
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Joel Fernandes <joel@joelfernandes.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Tom Zanussi <zanussi@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
include/trace/stages/init.h [new file with mode: 0644]
include/trace/stages/stage1_defines.h [new file with mode: 0644]
include/trace/stages/stage2_defines.h [new file with mode: 0644]
include/trace/stages/stage3_defines.h [new file with mode: 0644]
include/trace/stages/stage4_defines.h [new file with mode: 0644]
include/trace/stages/stage5_defines.h [new file with mode: 0644]
include/trace/stages/stage6_defines.h [new file with mode: 0644]
include/trace/stages/stage7_defines.h [new file with mode: 0644]
include/trace/trace_events.h