]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit600e5f8cdc95376c44422118ae7d53f92f158668
tree5f260dee87b1f4b1fb6d38ffa359296b92690792
parentdac9f8a72bb907092e7e513695a84efdf3b6d56d
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