]> git.baikalelectronics.ru Git - kernel.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)
commitac01aec9b3f10c257ebc131c8aa75b41f2e99b42
treed370b85fcc0885d435588070b04832a87d5d42ce
parent6c1c6f127f1b52f0105ae8875e5c412b536be473
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