The tracepoints in the 9p code use a lot of enums for the __print_symbolic()
function. These enums are shown in the tracepoint format files, and user
space tools such as trace-cmd does not have the information to parse it.
Add helper macros to export the enums with TRACE_DEFINE_ENUM().
Link: http://lkml.kernel.org/r/[email protected]
Cc: Aneesh Kumar K.V <[email protected]>
Cc: Eric Van Hensbergen <[email protected]>
Reviewed-by: Masami Hiramatsu <[email protected]>
Tested-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Additionally change cast from long to unsigned long to follow specificator.
Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Eric Van Hensbergen <[email protected]>