Hi Stephane, Attached is a patch that implements the settings for POWER8. It is tested and results mirror those from using the perf tool. u/k/h are now supported for both generic ‘perf’ events and PMU events. Thanks very much for your help on this!
In digging through the kernel perf code, I was unable to decipher (in the 30 minutes I spent) whether or now Power7 or other members of the family have this support. Just as well, since I can’t test them. @IBM folks, you can simply add a .supported_plm = POWER_PLM to the pfmlib_power?.c emu descriptor to test U/K counting. If it supports hypervisor (or others), see pfmlib_power_priv.h for the definition of POWER8_PLM.
power8-plms.patch
Description: Binary data
------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://sdm.link/zohomanageengine
_______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel