Merge tag 'md/4.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md
[deliverable/linux.git] / arch / powerpc / perf / power9-events-list.h
CommitLineData
34922527
MS
1/*
2 * Performance counter support for POWER9 processors.
3 *
4 * Copyright 2016 Madhavan Srinivasan, IBM Corporation.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version
9 * 2 of the License, or (at your option) any later version.
10 */
11
12/*
13 * Power9 event codes.
14 */
15EVENT(PM_CYC, 0x0001e)
16EVENT(PM_ICT_NOSLOT_CYC, 0x100f8)
17EVENT(PM_CMPLU_STALL, 0x1e054)
18EVENT(PM_INST_CMPL, 0x00002)
19EVENT(PM_BRU_CMPL, 0x40060)
20EVENT(PM_BR_MPRED_CMPL, 0x400f6)
21
22/* All L1 D cache load references counted at finish, gated by reject */
23EVENT(PM_LD_REF_L1, 0x100fc)
24/* Load Missed L1 */
25EVENT(PM_LD_MISS_L1_FIN, 0x2c04e)
26/* Store Missed L1 */
27EVENT(PM_ST_MISS_L1, 0x300f0)
28/* L1 cache data prefetches */
29EVENT(PM_L1_PREF, 0x20054)
30/* Instruction fetches from L1 */
31EVENT(PM_INST_FROM_L1, 0x04080)
32/* Demand iCache Miss */
33EVENT(PM_L1_ICACHE_MISS, 0x200fd)
34/* Instruction Demand sectors wriittent into IL1 */
35EVENT(PM_L1_DEMAND_WRITE, 0x0408c)
36/* Instruction prefetch written into IL1 */
1a058f16 37EVENT(PM_IC_PREF_WRITE, 0x0488c)
34922527
MS
38/* The data cache was reloaded from local core's L3 due to a demand load */
39EVENT(PM_DATA_FROM_L3, 0x4c042)
40/* Demand LD - L3 Miss (not L2 hit and not L3 hit) */
41EVENT(PM_DATA_FROM_L3MISS, 0x300fe)
42/* All successful D-side store dispatches for this thread */
1a058f16 43EVENT(PM_L2_ST, 0x16880)
34922527 44/* All successful D-side store dispatches for this thread that were L2 Miss */
1a058f16 45EVENT(PM_L2_ST_MISS, 0x26880)
34922527
MS
46/* Total HW L3 prefetches(Load+store) */
47EVENT(PM_L3_PREF_ALL, 0x4e052)
48/* Data PTEG reload */
49EVENT(PM_DTLB_MISS, 0x300fc)
50/* ITLB Reloaded */
51EVENT(PM_ITLB_MISS, 0x400fc)
52/* Run_Instructions */
53EVENT(PM_RUN_INST_CMPL, 0x500fa)
54/* Run_cycles */
55EVENT(PM_RUN_CYC, 0x600f4)
This page took 0.056155 seconds and 5 git commands to generate.