Re: [PATCH 1/2] power7, perf: Make some new raw event codes available in sysfs
From: Anshuman Khandual <hidden>
Date: 2014-01-02 05:06:16
On 12/18/2013 07:29 AM, Michael Ellerman wrote:
On Fri, 2013-12-13 at 10:00 +0530, Anshuman Khandual wrote:quoted
On 12/13/2013 08:20 AM, Michael Ellerman wrote:quoted
On Wed, 2013-10-16 at 11:22 +0530, Anshuman Khandual wrote:quoted
This patch adds some more raw event codes into the existing list of event codes present in power7-events-list.h file. This tries to complete the list of events supported in Power7 and matches the raw event list with libpfm4 library.It's a bit annoying, but you also need to update the "ABI" document:What is annoying ? you need to be specific.It's annoying that we have to update the ABI document.quoted
quoted
Documentation/ABI/testing/sysfs-bus-event_source-devices-eventsThe events listed under the following heading are events required to do CPI analysis.No they are not, it doesn't say that anywhere in the file. It happens that the events in there *now* are the CPI events, but that's because they are the only ones that have been added.quoted
"Description: POWER-systems specific performance monitoring event" /sys/devices/cpu/events/PM_1PLUS_PPC_CMPL /sys/devices/cpu/events/PM_BRU_FIN /sys/devices/cpu/events/PM_BR_MPRED /sys/devices/cpu/events/PM_CMPLU_STALLAll events that appear in /sys/devices/cpu/events on powerpc should be listed in the file.
Done, sent out the V2 version of the patch for POWER7 adding all the sysfs exported raw events into the ABI documentation file.