]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
tracing/samples: Update the trace-event-sample.h with TRACE_DEFINE_ENUM()
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Wed, 1 Apr 2015 19:55:36 +0000 (15:55 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 8 Apr 2015 13:39:58 +0000 (09:39 -0400)
commit32eb3d0d09943ab9dcc01fb8d2619b64e965992c
treed370b85fcc0885d435588070b04832a87d5d42ce
parent3673b8e4ce7237160fa31ee8d7e94a4d5a9976a1
tracing/samples: Update the trace-event-sample.h with TRACE_DEFINE_ENUM()

Document the use of TRACE_DEFINE_ENUM() by adding enums to the
trace-event-sample.h and using this macro to convert them in the format
files.

Also update the comments and sho the use of __print_symbolic() and
__print_flags() as well as adding comments abount __print_array().

Link: http://lkml.kernel.org/r/20150403013802.220157513@goodmis.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>
samples/trace_events/trace-events-sample.h