]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit00625b78994065c8dc32cff18e76304183af97aa
tree51fa4979ad02d388b35e1a56020bfbd8c2e5329d
parent12f9f1876eff903c58a27b5e225f8273acfaddf9
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