perf list: Fix the output to not include tracepoints without an id
authorPeter Zijlstra <peterz@infradead.org>
Thu, 6 Aug 2009 14:48:54 +0000 (16:48 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 9 Aug 2009 10:54:38 +0000 (12:54 +0200)
commitae07b63f4b6728e1f98aa5c5416cfc1280f59f51
treec2fb9451f371153d7d9a5a609ad22b894efd3ab9
parentf36a1a133a947973efb8e6a1fbdcc23e4a011437
perf list: Fix the output to not include tracepoints without an id

Stop perf list from displaying tracepoints without an id file,
those are special tracepoints that are not interfaced to
perfcounters so listing them is erroneous and passing them as
events will produce no output.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Jason Baron <jbaron@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Chris Mason <chris.mason@oracle.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/parse-events.c