summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2015-03-27 17:04:45 -0400
committerSteven Rostedt <rostedt@goodmis.org>2015-04-08 10:58:25 -0400
commit43d0f71f0e3f36cc54de8e95bd8005063fa9e818 (patch)
tree6a2fe6dc9bad2c959779696c8623eed69af6fe0a /scripts
parent6ba16eefcdaa8634e1c1d70d5c31b0495c99ab02 (diff)
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 'scripts')
0 files changed, 0 insertions, 0 deletions