diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2015-03-27 17:04:45 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2015-04-08 10:58:25 -0400 |
commit | 43d0f71f0e3f36cc54de8e95bd8005063fa9e818 (patch) | |
tree | 6a2fe6dc9bad2c959779696c8623eed69af6fe0a /include/trace/events/writeback.h | |
parent | 6ba16eefcdaa8634e1c1d70d5c31b0495c99ab02 (diff) | |
download | blackbird-op-linux-43d0f71f0e3f36cc54de8e95bd8005063fa9e818.tar.gz blackbird-op-linux-43d0f71f0e3f36cc54de8e95bd8005063fa9e818.zip |
v4l: Export enums used by tracepoints to user space
Enums used by tracepoints for __print_symbolic() are shown in the
tracepoint format files with just their names and not their values.
This makes it difficult for user space tools to know how to convert the
binary data into their string representations.
By adding the use of TRACE_DEFINE_ENUM(), the enum names will be mapped
to their values and shown in the tracing file system to let tools
convert the data as necessary.
Link: http://lkml.kernel.org/r/20150403013802.220157513@goodmis.org
Acked-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
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 'include/trace/events/writeback.h')
0 files changed, 0 insertions, 0 deletions