perf tools: Still continue on failed parsing of an event
authorSteven Rostedt <srostedt@redhat.com>
Wed, 14 Oct 2009 19:43:39 +0000 (15:43 -0400)
committerIngo Molnar <mingo@elte.hu>
Thu, 15 Oct 2009 08:42:38 +0000 (10:42 +0200)
commit07a4bdddcf2546ccfbfb3c782deab636c371edeb
tree5f260dee87b1f4b1fb6d38ffa359296b92690792
parent13999e59343b042b0807be2df6ae5895d29782a0
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>
tools/perf/util/trace-event-parse.c
tools/perf/util/trace-event.h