From: Steven Rostedt (Red Hat) Date: Fri, 27 Mar 2015 20:15:07 +0000 (-0400) Subject: net/9p/tracing: Export enums in tracepoints to userspace X-Git-Tag: omap-for-v4.2/o2_dc~149^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56e1b226088b07d14ad863bb73753ae24d48c113;p=pandora-kernel.git net/9p/tracing: Export enums in tracepoints to userspace 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/20150403013802.220157513@goodmis.org Cc: Aneesh Kumar K.V Cc: Eric Van Hensbergen Reviewed-by: Masami Hiramatsu Tested-by: Masami Hiramatsu Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed