diff options
author | Steven Rostedt (Red Hat) <[email protected]> | 2015-03-27 16:18:07 -0400 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2015-04-08 09:40:00 -0400 |
commit | 5511b9a471f3bb2f1cd5d7bf6b4191403e49315e (patch) | |
tree | 1ca42206a40fd328591832c58e92aa0983e92ae4 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
parent | 56e1b226088b07d14ad863bb73753ae24d48c113 (diff) |
f2fs: Export the enums in the tracepoints to userspace
The tracepoints that use __print_symbolic() use enums as the value
to convert to strings. Unfortunately, the format files for these
tracepoints show the enum name and not their value. This causes some
userspace tools not to know how to convert __print_symbolic() to
their strings.
Add TRACE_DEFINE_ENUM() macros to export the enums used to userspace
to let those tools know what those enum values are.
Link: http://lkml.kernel.org/r/[email protected]
Cc: Namjae Jeon <[email protected]>
Cc: Pankaj Kumar <[email protected]>
Cc: Jaegeuk Kim <[email protected]>
Reviewed-by: Masami Hiramatsu <[email protected]>
Tested-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions