OSDN Git Service

perf tools: Propagate event parse error handling
authorFrederic Weisbecker <fweisbec@gmail.com>
Sun, 22 May 2011 00:17:22 +0000 (02:17 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Sun, 22 May 2011 01:38:49 +0000 (03:38 +0200)
commit5538becaec9ca2ff21e7826372941dc46f498487
tree66b51fae732a6993f4af1434a1ffe4a83110c71c
parent98e1da905cbe64bb023a165c7c01eef5e800609e
perf tools: Propagate event parse error handling

Better handle event parsing error by propagating the details
in upper layers or by dumping some failure message. So that
the user knows he has some crazy events in the batch.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Stephane Eranian <eranian@google.com>
tools/perf/builtin-test.c
tools/perf/builtin-top.c
tools/perf/util/python.c
tools/perf/util/session.c