perf: Don't print traces when debugging ordering
authorFrederic Weisbecker <fweisbec@gmail.com>
Thu, 27 May 2010 13:46:25 +0000 (15:46 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Thu, 24 Jun 2010 21:36:05 +0000 (23:36 +0200)
commit6fcf7ddbb73d677b3bb7b16f0fff1419cb8349e9
tree03d0135d2857251361bc3c1bdd728146ce9f6e94
parentaa59a48596d8358a908bfb458300b5625cd47785
perf: Don't print traces when debugging ordering

Errors due to ordering bugs are easily lost in the middle
of traces.

When we are in this mode, don't print the traces so that
we don't miss the debugging messages.
But display a comforting message if we didn't encounter any
ordering problem.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
tools/perf/builtin-trace.c