Re: [PATCH] perf tool: don't print bogus data on -e instructions

2013-10-01 Thread Ingo Molnar
* Ramkumar Ramachandra wrote: > When only the instructions event is requested: > > $ perf stat -e instructions git s > M builtin-stat.c > > Performance counter stats for 'git s': > >917,453,420 instructions #0.00 insns per cycle > >0.213002926 seconds time

[PATCH] perf tool: don't print bogus data on -e instructions

2013-10-01 Thread Ramkumar Ramachandra
When only the instructions event is requested: $ perf stat -e instructions git s M builtin-stat.c Performance counter stats for 'git s': 917,453,420 instructions #0.00 insns per cycle 0.213002926 seconds time elapsed The 0.00 insns per cycle comment in the out