perf_counter tools: Split display into reading and printing
commit2996f5ddb7ba8889caeeac65edafe48845106eaa
authorIngo Molnar <mingo@elte.hu>
Fri, 29 May 2009 07:10:54 +0000 (29 09:10 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 29 May 2009 07:21:49 +0000 (29 09:21 +0200)
treee5a93215c835bb820720d929513a4cbebfbbeeea
parentc04f5e5d7b523f90ee3cdd70a68c4002aaecd3fa
perf_counter tools: Split display into reading and printing

We introduce the extra pass to allow the print-out to possibly
rely on already read counters.

[ Impact: cleanup ]

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: John Kacur <jkacur@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Documentation/perf_counter/builtin-stat.c