diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2015-03-27 16:53:03 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2015-04-08 09:41:08 -0400 |
commit | 6ba16eefcdaa8634e1c1d70d5c31b0495c99ab02 (patch) | |
tree | ed11bd1d3873fea26d35c61da538d9d9f6549b5e /include/trace/events/nmi.h | |
parent | 190f0b76ca498789b4dc6acb8c8e9a31b6548f9d (diff) |
SUNRPC: Export enums in tracepoints to user space
The enums used in the tracepoints for __print_symbolic() have their
names shown in the tracepoint format files. User space tools do not know
how to convert those names into their values to be able to convert the
binary data.
Use TRACE_DEFINE_ENUM() to export the enum names to their values for
userspace to do the parsing correctly.
Link: http://lkml.kernel.org/r/20150403013802.220157513@goodmis.org
Acked-by: Trond Myklebust <trond.myklebust@primarydata.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 'include/trace/events/nmi.h')
0 files changed, 0 insertions, 0 deletions