perf tools: Handle both versions of ftrace output
authorSteven Rostedt <srostedt@redhat.com>
Wed, 14 Oct 2009 19:43:41 +0000 (15:43 -0400)
committerIngo Molnar <mingo@elte.hu>
Thu, 15 Oct 2009 08:42:39 +0000 (10:42 +0200)
commit0d1da915c76838c9ee7af7cdefbcb2bae9424161
tree5aac3e7f4c9c44814e6a1833e5d5f02b0b7ae9d7
parentffa1895561645103d8f8059b35d9c06e6eeead2e
perf tools: Handle both versions of ftrace output

The ftrace output events can have either arguments or no
arguments. The parser needs to be able to handle both.

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.790221427@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/trace-event-parse.c