aboutsummaryrefslogtreecommitdiffstats
path: root/samples/trace_events/trace-events-sample.h
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2015-03-25 15:44:21 -0400
committerSteven Rostedt <rostedt@goodmis.org>2015-04-08 09:39:57 -0400
commit3673b8e4ce7237160fa31ee8d7e94a4d5a9976a1 (patch)
treedbbc779ed3883db285d243d85452a7e603120d85 /samples/trace_events/trace-events-sample.h
parenttracing: Add TRACE_DEFINE_ENUM() macro to map enums to their values (diff)
downloadlinux-dev-3673b8e4ce7237160fa31ee8d7e94a4d5a9976a1.tar.xz
linux-dev-3673b8e4ce7237160fa31ee8d7e94a4d5a9976a1.zip
tracing: Allow for modules to convert their enums to values
Update the infrastructure such that modules that declare TRACE_DEFINE_ENUM() will have those enums converted into their values in the tracepoint print fmt strings. Link: http://lkml.kernel.org/r/87vbhjp74q.fsf@rustcorp.com.au Acked-by: Rusty Russell <rusty@rustcorp.com.au> 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>
Diffstat (limited to 'samples/trace_events/trace-events-sample.h')
0 files changed, 0 insertions, 0 deletions