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

2013-10-01 Thread Ingo Molnar
* Ramkumar Ramachandra wrote: > When only the cycles event is requested: > > $ perf stat -e cycles dd if=/dev/zero of=/dev/null count=100 > 100+0 records in > 100+0 records out > 51200 bytes (512 MB) copied, 0.26123 s, 2.0 GB/s > > Performance counter stats for 'dd if=/dev/zer

[PATCH 2/2] perf tool: don't print bogus data on -e cycles

2013-09-30 Thread Ramkumar Ramachandra
When only the cycles event is requested: $ perf stat -e cycles dd if=/dev/zero of=/dev/null count=100 100+0 records in 100+0 records out 51200 bytes (512 MB) copied, 0.26123 s, 2.0 GB/s Performance counter stats for 'dd if=/dev/zero of=/dev/null count=100': 911,626,45