perf_counter: Correct PERF_SAMPLE_RAW output
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 10 Aug 2009 09:16:52 +0000 (11:16 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 10 Aug 2009 09:33:09 +0000 (11:33 +0200)
commita044560c3a1f0ad75ce685c1ed7604820b9ed319
tree51fa4979ad02d388b35e1a56020bfbd8c2e5329d
parentc0a8865e32c8d1a562db38e06ef31ef23282f646
perf_counter: Correct PERF_SAMPLE_RAW output

PERF_SAMPLE_* output switches should unconditionally output the
correct format, as they are the only way to unambiguously parse
the PERF_EVENT_SAMPLE data.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1249896447.17467.74.camel@twins>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/perf_counter.h
include/trace/ftrace.h
kernel/perf_counter.c