File oprofile-power9-remove-event-entries-with-0x00-values.patch of Package oprofile
From: Will Schmidt <will_schmidt@vnet.ibm.com>
Date: Tue, 25 Jul 2017 11:59:00 -0500
Subject: power9, remove event entries with 0x00 values.
Git-repo: git://git.code.sf.net/p/oprofile/oprofile
Git-commit: 4a518527ba2226f57c6522693d55bd5a6a748a35
References: FATE#321458
A few of the events in the power9 list have event numbers of all zero, which
aren't useful to us. The events have valid values elsewhere in the tables, so
squash the zero entries.
Due credit, this was noticed and reported to me by Michael Petlan (mpetlan@redhat.com).
Signed-off-by: Will Schmidt <will_schmidt@vnet.ibm.com>
Signed-off-by: Tony Jones <tonyj@suse.de>
---
events/ppc64/power9/events | 2 --
1 file changed, 2 deletions(-)
diff --git a/events/ppc64/power9/events b/events/ppc64/power9/events
index 72645154..2116c9bc 100644
--- a/events/ppc64/power9/events
+++ b/events/ppc64/power9/events
@@ -865,12 +865,10 @@ event:0x000001688C counters:0 um:zero minimum:10000 name:PM_RC_USAGE : Co
event:0x00000468A6 counters:3 um:zero minimum:10000 name:PM_RD_CLEARING_SC : Read clearing SC
event:0x00000460A6 counters:3 um:zero minimum:10000 name:PM_RD_FORMING_SC : Read forming SC
event:0x00000268A8 counters:1 um:zero minimum:10000 name:PM_RD_HIT_PF : RD machine hit L3 PF machine
-event:0x0000000 counters:5 um:zero minimum:10000 name:PM_RUN_CYC : Run_cycles
event:0x00000200F4 counters:1 um:zero minimum:10000 name:PM_RUN_CYC : Run_cycles
event:0x000003006C counters:2 um:zero minimum:100000 name:PM_RUN_CYC_SMT2_MODE : Cycles in which this thread's run latch is set and the core is in SMT2 mode
event:0x000002006C counters:1 um:zero minimum:100000 name:PM_RUN_CYC_SMT4_MODE : Cycles in which this thread's run latch is set and the core is in SMT4 mode
event:0x000001006C counters:0 um:zero minimum:100000 name:PM_RUN_CYC_ST_MODE : Cycles run latch is set and core is in ST mode
-event:0x0000000 counters:4 um:zero minimum:10000 name:PM_RUN_INST_CMPL : Run_Instructions
event:0x00000400FA counters:3 um:zero minimum:10000 name:PM_RUN_INST_CMPL : Run_Instructions
event:0x00000400F4 counters:3 um:zero minimum:10000 name:PM_RUN_PURR : Run_PURR
event:0x0000010008 counters:0 um:zero minimum:10000 name:PM_RUN_SPURR : Run SPURR