]> git.baikalelectronics.ru Git - kernel.git/commit
perf script: Fix event ordering settings to work with older kernels
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 25 Dec 2010 20:33:12 +0000 (18:33 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 25 Dec 2010 20:33:12 +0000 (18:33 -0200)
commite2593a5753d01cccd992b6a9218cd795c2e32cfc
treeaf460ad0c8e6cd30728ee025dbcf77c0aaea189c
parent2f9a2f34b283ed5184d69b178ffaa939564a43b3
perf script: Fix event ordering settings to work with older kernels

If we don't use .ordering_requires_timestamps we'll end up trying to order
events with no timestamps when running on older kernels.

Problem introduced in 971f4534.

After the last three fixes, perf scripting is back working, tested with
new perf userspace on old and new (with sample_id_all) kernels.

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ian Munsie <imunsie@au1.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
Cc: Torok Edwin <edwintorok@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-script.c