summaryrefslogtreecommitdiffstats
path: root/samples/trace_events
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat)2015-03-25 20:44:21 +0100
committerSteven Rostedt2015-04-08 15:39:57 +0200
commit3673b8e4ce7237160fa31ee8d7e94a4d5a9976a1 (patch)
treedbbc779ed3883db285d243d85452a7e603120d85 /samples/trace_events
parenttracing: Add TRACE_DEFINE_ENUM() macro to map enums to their values (diff)
downloadkernel-qcow2-linux-3673b8e4ce7237160fa31ee8d7e94a4d5a9976a1.tar.gz
kernel-qcow2-linux-3673b8e4ce7237160fa31ee8d7e94a4d5a9976a1.tar.xz
kernel-qcow2-linux-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')
0 files changed, 0 insertions, 0 deletions