perf stat: Add -n/--null option to run without counters
authorIngo Molnar <mingo@elte.hu>
Sat, 27 Jun 2009 04:10:30 +0000 (06:10 +0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 27 Jun 2009 04:11:24 +0000 (06:11 +0200)
commit0cfb7a13b8e4e0afd4b856156ab16a182de7505b
tree7ebae71e6ef94d3bb95e43b4b2735c378f217449
parentfde953c1c67986e1c381fa50d8207b1578b5cefa
perf stat: Add -n/--null option to run without counters

Allow a no-counters run. This can be useful to measure just
elapsed wall-clock time - or to assess the raw overhead of perf
stat itself, without running any counters.

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-stat.c