diff options
author | Steven Rostedt (Red Hat) <[email protected]> | 2015-03-27 16:48:57 -0400 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2015-04-08 09:40:01 -0400 |
commit | 190f0b76ca498789b4dc6acb8c8e9a31b6548f9d (patch) | |
tree | c3c7be3f8715e8dc6a9b003e3bbd47b7c9272f0b /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | f0a91b3caa053c9964f1d1e6941f0963d002a670 (diff) |
mm: tracing: Export enums in tracepoints to user space
The enums used in tracepoints with __print_symbolic() have their
names shown in the tracepoint format files and not their values.
This makes it difficult for user space tools to convert the binary
data to the strings as user space does not know what those enums
are about.
By having them use TRACE_DEFINE_ENUM(), the names of the enums will
be mapped to the values and shown to user space.
Link: http://lkml.kernel.org/r/[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/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions