[RFC][PATCH] perf: Add a few generic stalled-cycles events

Sukadev Bhattiprolu sukadev at linux.vnet.ibm.com
Sat Oct 20 04:05:39 EST 2012


Stephane Eranian [eranian at google.com] wrote:
| So all in all, I think this is not a very good idea. You have to put
| this into the tool or a library that auto-detects the
| host CPU and programs the right set of events.
| 
| We've had that discussion many times. Just reiterating my personal
| opinion on this.

Yes that would work too. One drawback is that the hardware events
will be in the tool, while the software/tracepoint events in the
kernel sysfs representation.

Or is that the reason we want all events in one place (sysfs) ?

Sukadev



More information about the Linuxppc-dev mailing list