diff options
author | Tom Zanussi <tzanussi@gmail.com> | 2009-11-25 01:15:47 -0600 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-28 10:04:25 +0100 |
commit | eb9a42caa7a926beb935a22bc59d981b35f0b652 (patch) | |
tree | d546fbd988180882659515d586511f896809abec /tools/perf/util/trace-event.h | |
parent | 956ffd027bedc4106b901eb6a50f0a6c6de4113d (diff) |
perf trace: Add flag/symbolic format_flags
It's useful to know whether a field is a flag or symbolic field
for e.g. when generating scripts - it allows us to translate
those fields specially rather than literally as plain numeric
values.
Signed-off-by: Tom Zanussi <tzanussi@gmail.com>
Cc: fweisbec@gmail.com
Cc: rostedt@goodmis.org
Cc: anton@samba.org
Cc: hch@infradead.org
LKML-Reference: <1259133352-23685-3-git-send-email-tzanussi@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/trace-event.h')
-rw-r--r-- | tools/perf/util/trace-event.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/trace-event.h b/tools/perf/util/trace-event.h index e7aaf002e66..aeb915778ae 100644 --- a/tools/perf/util/trace-event.h +++ b/tools/perf/util/trace-event.h @@ -29,6 +29,8 @@ enum format_flags { FIELD_IS_SIGNED = 4, FIELD_IS_STRING = 8, FIELD_IS_DYNAMIC = 16, + FIELD_IS_FLAG = 32, + FIELD_IS_SYMBOLIC = 64, }; struct format_field { |