tracing: Allow for modules to convert their enums to values
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Wed, 25 Mar 2015 19:44:21 +0000 (15:44 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 8 Apr 2015 13:39:57 +0000 (09:39 -0400)
commit3673b8e4ce7237160fa31ee8d7e94a4d5a9976a1
treedbbc779ed3883db285d243d85452a7e603120d85
parent0c564a538aa934ad15b2145aaf8b64f3feb0be63
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>
include/linux/module.h
kernel/module.c
kernel/trace/trace.c
kernel/trace/trace_events.c