tracing: Add TRACE_SYSTEM_VAR to intel-sst
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Wed, 1 Apr 2015 18:14:53 +0000 (14:14 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 7 Apr 2015 16:31:12 +0000 (12:31 -0400)
commit882156e0407f06ca3d4c6500a7d347c3a2ed88b4
tree99ff88e417e5d050b34b7ead949010e242a9e05d
parent77cb2fea1e5fc4b083dd967f231bbf6edd96150e
tracing: Add TRACE_SYSTEM_VAR to intel-sst

New code will require TRACE_SYSTEM to be a valid C variable name,
but some tracepoints have TRACE_SYSTEM with '-' and not '_', so
it can not be used. Instead, add a TRACE_SYSTEM_VAR that can
give the tracing infrastructure a unique name for the trace system.

Link: http://lkml.kernel.org/r/20150402142831.GT6023@sirena.org.uk
Acked-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Tested-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/trace/events/intel-sst.h