perf tools: Fix bprintk reading in trace output
authorSteven Rostedt <srostedt@redhat.com>
Wed, 14 Oct 2009 19:43:40 +0000 (15:43 -0400)
committerIngo Molnar <mingo@elte.hu>
Thu, 15 Oct 2009 08:42:38 +0000 (10:42 +0200)
commitffa1895561645103d8f8059b35d9c06e6eeead2e
treea53ed5d7f732d3ee3831f972f5a02c52d86e546d
parent07a4bdddcf2546ccfbfb3c782deab636c371edeb
perf tools: Fix bprintk reading in trace output

The bprintk parsing was broken in more ways than one.

The file parsing was incorrect, and the words used by the
arguments are always 4 bytes aligned, even on 64-bit machines.

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