Re: [RFC][PATCH 09/10] v4l: Export enums used by tracepoints to user space

2015-03-28 Thread Steven Rostedt
On Sat, 28 Mar 2015 21:00:29 +0800 Xie XiuQi wrote: > On 2015/3/28 5:37, Steven Rostedt wrote: > > > #define show_field(field) \ > > - __print_symbolic(field, \ > > - { V4L2_FIELD_ANY, "AN

Re: [RFC][PATCH 09/10] v4l: Export enums used by tracepoints to user space

2015-03-28 Thread Xie XiuQi
On 2015/3/28 5:37, Steven Rostedt wrote: > #define show_field(field)\ > - __print_symbolic(field, \ > - { V4L2_FIELD_ANY, "ANY" },\ > - { V4L2_FIELD_NONE,

[RFC][PATCH 09/10] v4l: Export enums used by tracepoints to user space

2015-03-27 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" 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