diff options
author | Steven Rostedt (Red Hat) <[email protected]> | 2015-03-27 17:08:41 -0400 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2015-04-08 10:58:35 -0400 |
commit | 91df6089aa330f12f31cf4b710350a3d6e3d66e6 (patch) | |
tree | 739c899fddf1adc81fcd358927b247ddd455cf12 /lib/memory-notifier-error-inject.c | |
parent | 43d0f71f0e3f36cc54de8e95bd8005063fa9e818 (diff) |
writeback: Export enums used by tracepoint to user space
The enums used in tracepoints for __print_symbolic() do not have their
values shown in the tracepoint format files and this makes it difficult
for user space tools to convert the binary values to the strings they
are to represent.
Add TRACE_DEFINE_ENUM(x) macros to export the enum names to their values
to make the tracing output from user space tools more robust.
Link: http://lkml.kernel.org/r/[email protected]
Cc: Dave Chinner <[email protected]>
Cc: Jens Axboe <[email protected]>
Reviewed-by: Masami Hiramatsu <[email protected]>
Tested-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions