Thread (8 messages) 8 messages, 2 authors, 2014-02-07

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-events
The 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_STALL
All 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help