]> git.baikalelectronics.ru Git - kernel.git/commit
net/9p/tracing: Export enums in tracepoints to userspace
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Fri, 27 Mar 2015 20:15:07 +0000 (16:15 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 8 Apr 2015 13:39:59 +0000 (09:39 -0400)
commitc778252808b8a18fdadf9b691e5490351c31d9e4
tree22b50047529f732e8762181122f7376a6a3d2cae
parent0bcc193724d3859a6e4f31cb90765adffc0acc0d
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 <aneesh.kumar@linux.vnet.ibm.com>
Cc: Eric Van Hensbergen <ericvh@gmail.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>
include/trace/events/9p.h