aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/trace-event.h
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-10-14 15:43:39 -0400
committerIngo Molnar <mingo@elte.hu>2009-10-15 04:42:38 -0400
commit07a4bdddcf2546ccfbfb3c782deab636c371edeb (patch)
tree5f260dee87b1f4b1fb6d38ffa359296b92690792 /tools/perf/util/trace-event.h
parent13999e59343b042b0807be2df6ae5895d29782a0 (diff)
perf tools: Still continue on failed parsing of an event
Even though an event may fail to parse, we should not kill the entire report. The trace should still be able to show what it can. If an event fails to parse, a warning is printed, and the output continues. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> LKML-Reference: <20091014194359.190809589@goodmis.org> 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.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/tools/perf/util/trace-event.h b/tools/perf/util/trace-event.h
index da77e073c867..29821acc8db6 100644
--- a/tools/perf/util/trace-event.h
+++ b/tools/perf/util/trace-event.h
@@ -139,12 +139,14 @@ struct event {
139}; 139};
140 140
141enum { 141enum {
142 EVENT_FL_ISFTRACE = 1, 142 EVENT_FL_ISFTRACE = 0x01,
143 EVENT_FL_ISPRINT = 2, 143 EVENT_FL_ISPRINT = 0x02,
144 EVENT_FL_ISBPRINT = 4, 144 EVENT_FL_ISBPRINT = 0x04,
145 EVENT_FL_ISFUNC = 8, 145 EVENT_FL_ISFUNC = 0x08,
146 EVENT_FL_ISFUNCENT = 16, 146 EVENT_FL_ISFUNCENT = 0x10,
147 EVENT_FL_ISFUNCRET = 32, 147 EVENT_FL_ISFUNCRET = 0x20,
148
149 EVENT_FL_FAILED = 0x80000000
148}; 150};
149 151
150struct record { 152struct record {