Skip to contentSkip to conversation

Please pull JSON files for Power9 PMU events

GIT PULL Applied Sukadev Bhattiprolu 3 participants 4 messages Aug 2, 2017 – Aug 14, 2017 perf events

lore
Share & tools
lore
#0 lore raw

Hi Arnaldo,

Please pull some updates/cleanups to the POWER9 PMU events.

The following changes since commit 81e3d8b2af2e7417f1d5164aab5c1a75955e8a5d:

perf trace beautify ioctl: Beautify perf ioctl's 'cmd' arg (2017-08-01 13:33:50 -0300)

are available in the git repository at:
https://github.com/sukadev/linux/ p9-json-v2

Sukadev Bhattiprolu (2):
perf vendor events powerpc: remove suffix in mapfile perf vendor events powerpc: Update POWER9 events

 tools/perf/pmu-events/arch/powerpc/mapfile.csv     |   20 +-
 .../perf/pmu-events/arch/powerpc/power9/cache.json |  191 +-
 .../arch/powerpc/power9/floating-point.json        |   42 +-
 .../pmu-events/arch/powerpc/power9/frontend.json   |  517 ++---
 .../pmu-events/arch/powerpc/power9/marked.json     |  905 +++----
 .../pmu-events/arch/powerpc/power9/memory.json     |  178 +-
 .../perf/pmu-events/arch/powerpc/power9/other.json | 2716 ++++++++++++++++----
 .../pmu-events/arch/powerpc/power9/pipeline.json   |  779 +++----
 tools/perf/pmu-events/arch/powerpc/power9/pmc.json |  167 +-
 .../arch/powerpc/power9/translation.json           |  314 +--
 10 files changed, 3521 insertions(+), 2308 deletions(-)
maintainer Applied
#1 lore raw

Em Wed, Aug 02, 2017 at 10:46:17AM -0700, Sukadev Bhattiprolu escreveu:

Quoted 7 lines

Hi Arnaldo,

Please pull some updates/cleanups to the POWER9 PMU events.

The following changes since commit 81e3d8b2af2e7417f1d5164aab5c1a75955e8a5d:

perf trace beautify ioctl: Beautify perf ioctl's 'cmd' arg (2017-08-01 13:33:50 -0300)

Thanks, applied.

- Arnaldo

#2 lore raw

[tip:perf/core] perf vendor events powerpc: remove suffix in mapfile

In reply to Sukadev Bhattiprolu
perf vendor events powerpc: remove suffix in mapfile
Commit-ID:  2862a16875452b697c65d8e06cc010c922d19171
Gitweb:     http://git.kernel.org/tip/2862a16875452b697c65d8e06cc010c922d19171
Author:     Sukadev Bhattiprolu <[email protected]>
AuthorDate: Thu, 27 Jul 2017 01:42:29 -0400
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Fri, 11 Aug 2017 10:42:52 -0300

perf vendor events powerpc: remove suffix in mapfile

Drop the .json suffix for events directory in the mapfile.csv.

Now that we have separate JSON files for each topic in a CPU (eg: see tools/perf/pmu-events/arch/powerpc/power8/*.json) the .json suffix in the mapfile is misleading and redundant.

---
 tools/perf/pmu-events/arch/powerpc/mapfile.csv | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
tools/perf/pmu-events/arch/powerpc/mapfile.csv +10 -10
index 14318ef2..a0f3a11 100644
@@ -13,13 +13,13 @@
 #
 
 # Power8 entries
-004b0000,1,power8.json,core
-004b0201,1,power8.json,core
-004c0000,1,power8.json,core
-004d0000,1,power8.json,core
-004d0100,1,power8.json,core
-004d0200,1,power8.json,core
-004c0100,1,power8.json,core
-004e0100,1,power9.json,core
-004e0200,1,power9.json,core
-004e1200,1,power9.json,core
+004b0000,1,power8,core
+004b0201,1,power8,core
+004c0000,1,power8,core
+004d0000,1,power8,core
+004d0100,1,power8,core
+004d0200,1,power8,core
+004c0100,1,power8,core
+004e0100,1,power9,core
+004e0200,1,power9,core
+004e1200,1,power9,core
#3 lore raw

[tip:perf/core] perf vendor events powerpc: Update POWER9 events

In reply to Sukadev Bhattiprolu
perf vendor events powerpc: Update POWER9 events
Commit-ID:  3c22ba5243040c13f9a79e3ae70399c0ae0872a4
Gitweb:     http://git.kernel.org/tip/3c22ba5243040c13f9a79e3ae70399c0ae0872a4
Author:     Sukadev Bhattiprolu <[email protected]>
AuthorDate: Thu, 27 Jul 2017 02:23:57 -0400
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Fri, 11 Aug 2017 10:42:52 -0300

perf vendor events powerpc: Update POWER9 events

Update and cleanup POWER9 PMU events.

---
 .../perf/pmu-events/arch/powerpc/power9/cache.json |  191 +-
 .../arch/powerpc/power9/floating-point.json        |   42 +-
 .../pmu-events/arch/powerpc/power9/frontend.json   |  517 ++--
 .../pmu-events/arch/powerpc/power9/marked.json     |  905 +++----
 .../pmu-events/arch/powerpc/power9/memory.json     |  178 +-
 .../perf/pmu-events/arch/powerpc/power9/other.json | 2768 ++++++++++++++++----
 .../pmu-events/arch/powerpc/power9/pipeline.json   |  779 +++---
 tools/perf/pmu-events/arch/powerpc/power9/pmc.json |  167 +-
 .../arch/powerpc/power9/translation.json           |  314 +--
 9 files changed, 3537 insertions(+), 2324 deletions(-)
tools/perf/pmu-events/arch/powerpc/power9/cache.json +76 -115
index 437c83b..18f6645 100644
@@ -1,176 +1,137 @@
 [
   {,
-    "EventCode": "0x1002A",
-    "EventName": "PM_CMPLU_STALL_LARX",
-    "BriefDescription": "Finish stall because the NTF instruction was a larx waiting to be satisfied",
-    "PublicDescription": ""
+    "EventCode": "0x300F4",
+    "EventName": "PM_THRD_CONC_RUN_INST",
+    "BriefDescription": "PPC Instructions Finished by this thread when all threads in the core had the run-latch set"
   },
   {,
-    "EventCode": "0x1003C",
-    "EventName": "PM_CMPLU_STALL_DMISS_L2L3",
-    "BriefDescription": "Completion stall by Dcache miss which resolved in L2/L3",
-    "PublicDescription": ""
+    "EventCode": "0x1E056",
+    "EventName": "PM_CMPLU_STALL_FLUSH_ANY_THREAD",
+    "BriefDescription": "Cycles in which the NTC instruction is not allowed to complete because any of the 4 threads in the same core suffered a flush, which blocks completion"
   },
   {,
-    "EventCode": "0x14048",
-    "EventName": "PM_INST_FROM_ON_CHIP_CACHE",
-    "BriefDescription": "The processor's Instruction cache was reloaded either shared or modified data from another core's L2/L3 on the same chip due to an instruction fetch (not prefetch)",
-    "PublicDescription": ""
+    "EventCode": "0x4D016",
+    "EventName": "PM_CMPLU_STALL_FXLONG",
+    "BriefDescription": "Completion stall due to a long latency scalar fixed point instruction (division, square root)"
   },
   {,
-    "EventCode": "0x3E054",
-    "EventName": "PM_LD_MISS_L1",
-    "BriefDescription": "Load Missed L1, counted at execution time (can be greater than loads finished). LMQ merges are not included in this count. i.e. if a load instruction misses on an address that is already allocated on the LMQ, this event will not increment for that load). Note that this count is per slice, so if a load spans multiple slices this event will increment multiple times for a single load.",
-    "PublicDescription": ""
+    "EventCode": "0x2D016",
+    "EventName": "PM_CMPLU_STALL_FXU",
+    "BriefDescription": "Finish stall due to a scalar fixed point or CR instruction in the execution pipeline. These instructions get routed to the ALU, ALU2, and DIV pipes"
   },
   {,
-    "EventCode": "0x400F0",
-    "EventName": "PM_LD_MISS_L1",
-    "BriefDescription": "Load Missed L1, at execution time (not gated by finish, which means this counter can be greater than loads finished)",
-    "PublicDescription": ""
+    "EventCode": "0x1D15C",
+    "EventName": "PM_MRK_DTLB_MISS_1G",
+    "BriefDescription": "Marked Data TLB reload (after a miss) page size 2M. Implies radix translation was used"
   },
   {,
-    "EventCode": "0x1404A",
-    "EventName": "PM_INST_FROM_RL2L3_SHR",
-    "BriefDescription": "The processor's Instruction cache was reloaded with Shared (S) data from another chip's L2 or L3 on the same Node or Group (Remote), as this chip due to an instruction fetch (not prefetch)",
-    "PublicDescription": ""
+    "EventCode": "0x4D12A",
+    "EventName": "PM_MRK_DATA_FROM_RL4_CYC",
+    "BriefDescription": "Duration in cycles to reload from another chip's L4 on the same Node or Group ( Remote) due to a marked load"
   },
   {,
-    "EventCode": "0x1C058",
-    "EventName": "PM_DTLB_MISS_16G",
-    "BriefDescription": "Data TLB Miss page size 16G",
-    "PublicDescription": ""
+    "EventCode": "0x1003C",
+    "EventName": "PM_CMPLU_STALL_DMISS_L2L3",
+    "BriefDescription": "Completion stall by Dcache miss which resolved in L2/L3"
   },
   {,
-    "EventCode": "0x1D15C",
-    "EventName": "PM_MRK_DTLB_MISS_1G",
-    "BriefDescription": "Marked Data TLB reload (after a miss) page size 2M. Implies radix translation was used",
-    "PublicDescription": ""
+    "EventCode": "0x4C014",
+    "EventName": "PM_CMPLU_STALL_LMQ_FULL",
+    "BriefDescription": "Finish stall because the NTF instruction was a load that missed in the L1 and the LMQ was unable to accept this load miss request because it was full"
   },
   {,
-    "EventCode": "0x1E056",
-    "EventName": "PM_CMPLU_STALL_FLUSH_ANY_THREAD",
-    "BriefDescription": "Cycles in which the NTC instruction is not allowed to complete because any of the 4 threads in the same core suffered a flush, which blocks completion",
-    "PublicDescription": ""
+    "EventCode": "0x14048",
+    "EventName": "PM_INST_FROM_ON_CHIP_CACHE",
+    "BriefDescription": "The processor's Instruction cache was reloaded either shared or modified data from another core's L2/L3 on the same chip due to an instruction fetch (not prefetch)"
   },
   {,
-    "EventCode": "0x101E6",
-    "EventName": "PM_THRESH_EXC_4096",
-    "BriefDescription": "Threshold counter exceed a count of 4096",
-    "PublicDescription": ""
+    "EventCode": "0x4D014",
+    "EventName": "PM_CMPLU_STALL_LOAD_FINISH",
+    "BriefDescription": "Finish stall because the NTF instruction was a load instruction with all its dependencies satisfied just going through the LSU pipe to finish"
   },
   {,
-    "EventCode": "0x2C01A",
-    "EventName": "PM_CMPLU_STALL_LHS",
-    "BriefDescription": "Finish stall because the NTF instruction was a load that hit on an older store and it was waiting for store data",
-    "PublicDescription": ""
+    "EventCode": "0x2404A",
+    "EventName": "PM_INST_FROM_RL4",
+    "BriefDescription": "The processor's Instruction cache was reloaded from another chip's L4 on the same Node or Group ( Remote) due to an instruction fetch (not prefetch)"
   },
   {,
-    "EventCode": "0x2D016",
-    "EventName": "PM_CMPLU_STALL_FXU",
-    "BriefDescription": "Finish stall due to a scalar fixed point or CR instruction in the execution pipeline. These instructions get routed to the ALU, ALU2, and DIV pipes",
-    "PublicDescription": ""
+    "EventCode": "0x1404A",
+    "EventName": "PM_INST_FROM_RL2L3_SHR",
+    "BriefDescription": "The processor's Instruction cache was reloaded with Shared (S) data from another chip's L2 or L3 on the same Node or Group (Remote), as this chip due to an instruction fetch (not prefetch)"
   },
   {,
-    "EventCode": "0x24046",
-    "EventName": "PM_INST_FROM_RL2L3_MOD",
-    "BriefDescription": "The processor's Instruction cache was reloaded with Modified (M) data from another chip's L2 or L3 on the same Node or Group (Remote), as this chip due to an instruction fetch (not prefetch)",
-    "PublicDescription": ""
+    "EventCode": "0x401EA",
+    "EventName": "PM_THRESH_EXC_128",
+    "BriefDescription": "Threshold counter exceeded a value of 128"
   },
   {,
-    "EventCode": "0x2404A",
-    "EventName": "PM_INST_FROM_RL4",
-    "BriefDescription": "The processor's Instruction cache was reloaded from another chip's L4 on the same Node or Group ( Remote) due to an instruction fetch (not prefetch)",
-    "PublicDescription": ""
+    "EventCode": "0x400F6",
+    "EventName": "PM_BR_MPRED_CMPL",
+    "BriefDescription": "Number of Branch Mispredicts"
   },
   {,
     "EventCode": "0x2F140",
     "EventName": "PM_MRK_DPTEG_FROM_L2_MEPF",
-    "BriefDescription": "A Page Table Entry was loaded into the TLB from local core's L2 hit without dispatch conflicts on Mepf state. due to a marked data side request. When using Radix Page Translation, this count excludes PDE reloads. Only PTE reloads are included",
-    "PublicDescription": ""
+    "BriefDescription": "A Page Table Entry was loaded into the TLB from local core's L2 hit without dispatch conflicts on Mepf state. due to a marked data side request. When using Radix Page Translation, this count excludes PDE reloads. Only PTE reloads are included"
   },
   {,
-    "EventCode": "0x2D15E",
-    "EventName": "PM_MRK_DTLB_MISS_16G",
-    "BriefDescription": "Marked Data TLB Miss page size 16G",
-    "PublicDescription": ""
-  },
-  {,
-    "EventCode": "0x3F14A",
-    "EventName": "PM_MRK_DPTEG_FROM_RMEM",
-    "BriefDescription": "A Page Table Entry was loaded into the TLB from another chip's memory on the same Node or Group ( Remote) due to a marked data side request. When using Radix Page Translation, this count excludes PDE reloads. Only PTE reloads are included",
-    "PublicDescription": ""
+    "EventCode": "0x101E6",
+    "EventName": "PM_THRESH_EXC_4096",
+    "BriefDescription": "Threshold counter exceed a count of 4096"
   },
   {,
     "EventCode": "0x3D156",
     "EventName": "PM_MRK_DTLB_MISS_64K",
-    "BriefDescription": "Marked Data TLB Miss page size 64K",
-    "PublicDescription": ""
+    "BriefDescription": "Marked Data TLB Miss page size 64K"
   },
   {,
-    "EventCode": "0x3006C",
-    "EventName": "PM_RUN_CYC_SMT2_MODE",
-    "BriefDescription": "Cycles in which this thread's run latch is set and the core is in SMT2 mode",
-    "PublicDescription": ""
+    "EventCode": "0x4C15E",
+    "EventName": "PM_MRK_DTLB_MISS_16M",
+    "BriefDescription": "Marked Data TLB Miss page size 16M"
   },
   {,
-    "EventCode": "0x300F4",
-    "EventName": "PM_THRD_CONC_RUN_INST",
-    "BriefDescription": "PPC Instructions Finished by this thread when all threads in the core had the run-latch set",
-    "PublicDescription": ""
+    "EventCode": "0x2D15E",
+    "EventName": "PM_MRK_DTLB_MISS_16G",
+    "BriefDescription": "Marked Data TLB Miss page size 16G"
   },
   {,
-    "EventCode": "0x4C014",
-    "EventName": "PM_CMPLU_STALL_LMQ_FULL",
-    "BriefDescription": "Finish stall because the NTF instruction was a load that missed in the L1 and the LMQ was unable to accept this load miss request because it was full",
-    "PublicDescription": ""
+    "EventCode": "0x3F14A",
+    "EventName": "PM_MRK_DPTEG_FROM_RMEM",
+    "BriefDescription": "A Page Table Entry was loaded into the TLB from another chip's memory on the same Node or Group ( Remote) due to a marked data side request. When using Radix Page Translation, this count excludes PDE reloads. Only PTE reloads are included"
   },
   {,
     "EventCode": "0x4C016",
     "EventName": "PM_CMPLU_STALL_DMISS_L2L3_CONFLICT",
-    "BriefDescription": "Completion stall due to cache miss that resolves in the L2 or L3 with a conflict",
-    "PublicDescription": ""
-  },
-  {,
-    "EventCode": "0x4D014",
-    "EventName": "PM_CMPLU_STALL_LOAD_FINISH",
-    "BriefDescription": "Finish stall because the NTF instruction was a load instruction with all its dependencies satisfied just going through the LSU pipe to finish",
-    "PublicDescription": ""
+    "BriefDescription": "Completion stall due to cache miss that resolves in the L2 or L3 with a conflict"
   },
   {,
-    "EventCode": "0x4D016",
-    "EventName": "PM_CMPLU_STALL_FXLONG",
-    "BriefDescription": "Completion stall due to a long latency scalar fixed point instruction (division, square root)",
-    "PublicDescription": ""
+    "EventCode": "0x2C01A",
+    "EventName": "PM_CMPLU_STALL_LHS",
+    "BriefDescription": "Finish stall because the NTF instruction was a load that hit on an older store and it was waiting for store data"
   },
   {,
-    "EventCode": "0x4D12A",
-    "EventName": "PM_MRK_DATA_FROM_RL4_CYC",
-    "BriefDescription": "Duration in cycles to reload from another chip's L4 on the same Node or Group ( Remote) due to a marked load",
-    "PublicDescription": ""
+    "EventCode": "0x401E4",
+    "EventName": "PM_MRK_DTLB_MISS",
+    "BriefDescription": "Marked dtlb miss"
   },
   {,
-    "EventCode": "0x4C15E",
-    "EventName": "PM_MRK_DTLB_MISS_16M",
-    "BriefDescription": "Marked Data TLB Miss page size 16M",
-    "PublicDescription": ""
+    "EventCode": "0x24046",
+    "EventName": "PM_INST_FROM_RL2L3_MOD",
+    "BriefDescription": "The processor's Instruction cache was reloaded with Modified (M) data from another chip's L2 or L3 on the same Node or Group (Remote), as this chip due to an instruction fetch (not prefetch)"
   },
   {,
-    "EventCode": "0x401E4",
-    "EventName": "PM_MRK_DTLB_MISS",
-    "BriefDescription": "Marked dtlb miss",
-    "PublicDescription": ""
+    "EventCode": "0x1002A",
+    "EventName": "PM_CMPLU_STALL_LARX",
+    "BriefDescription": "Finish stall because the NTF instruction was a larx waiting to be satisfied"
   },
   {,
-    "EventCode": "0x401EA",
-    "EventName": "PM_THRESH_EXC_128",
-    "BriefDescription": "Threshold counter exceeded a value of 128",
-    "PublicDescription": ""
+    "EventCode": "0x3006C",
+    "EventName": "PM_RUN_CYC_SMT2_MODE",
+    "BriefDescription": "Cycles in which this thread's run latch is set and the core is in SMT2 mode"
   },
   {,
-    "EventCode": "0x400F6",
-    "EventName": "PM_BR_MPRED_CMPL",
-    "BriefDescription": "Number of Branch Mispredicts",
-    "PublicDescription": ""
+    "EventCode": "0x1C058",
+    "EventName": "PM_DTLB_MISS_16G",
+    "BriefDescription": "Data TLB Miss page size 16G"
   }
-]
+]
\ No newline at end of file
tools/perf/pmu-events/arch/powerpc/power9/floating-point.json +15 -27

60 lines not on this page · raw message

tools/perf/pmu-events/arch/powerpc/power9/frontend.json +224 -293

671 lines not on this page · raw message

tools/perf/pmu-events/arch/powerpc/power9/marked.json +385 -520

1,167 lines not on this page · raw message

tools/perf/pmu-events/arch/powerpc/power9/memory.json +76 -102

235 lines not on this page · raw message

tools/perf/pmu-events/arch/powerpc/power9/other.json +2222 -546

614 lines not on this page · raw message

tools/perf/pmu-events/arch/powerpc/power9/pipeline.json +328 -451

779 lines not on this page · raw message

tools/perf/pmu-events/arch/powerpc/power9/pmc.json +74 -93

167 lines not on this page · raw message

tools/perf/pmu-events/arch/powerpc/power9/translation.json +137 -177

314 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.