Path: blob/master/arch/powerpc/perf/power8-events-list.h
26442 views
/* SPDX-License-Identifier: GPL-2.0-or-later */1/*2* Performance counter support for POWER8 processors.3*4* Copyright 2014 Sukadev Bhattiprolu, IBM Corporation.5*/67/*8* Power8 event codes.9*/10EVENT(PM_CYC, 0x0001e)11EVENT(PM_GCT_NOSLOT_CYC, 0x100f8)12EVENT(PM_CMPLU_STALL, 0x4000a)13EVENT(PM_INST_CMPL, 0x00002)14EVENT(PM_BRU_FIN, 0x10068)15EVENT(PM_BR_MPRED_CMPL, 0x400f6)1617/* All L1 D cache load references counted at finish, gated by reject */18EVENT(PM_LD_REF_L1, 0x100ee)19/* Load Missed L1 */20EVENT(PM_LD_MISS_L1, 0x3e054)21/* Store Missed L1 */22EVENT(PM_ST_MISS_L1, 0x300f0)23/* L1 cache data prefetches */24EVENT(PM_L1_PREF, 0x0d8b8)25/* Instruction fetches from L1 */26EVENT(PM_INST_FROM_L1, 0x04080)27/* Demand iCache Miss */28EVENT(PM_L1_ICACHE_MISS, 0x200fd)29/* Instruction Demand sectors wriittent into IL1 */30EVENT(PM_L1_DEMAND_WRITE, 0x0408c)31/* Instruction prefetch written into IL1 */32EVENT(PM_IC_PREF_WRITE, 0x0408e)33/* The data cache was reloaded from local core's L3 due to a demand load */34EVENT(PM_DATA_FROM_L3, 0x4c042)35/* Demand LD - L3 Miss (not L2 hit and not L3 hit) */36EVENT(PM_DATA_FROM_L3MISS, 0x300fe)37/* All successful D-side store dispatches for this thread */38EVENT(PM_L2_ST, 0x17080)39/* All successful D-side store dispatches for this thread that were L2 Miss */40EVENT(PM_L2_ST_MISS, 0x17082)41/* Total HW L3 prefetches(Load+store) */42EVENT(PM_L3_PREF_ALL, 0x4e052)43/* Data PTEG reload */44EVENT(PM_DTLB_MISS, 0x300fc)45/* ITLB Reloaded */46EVENT(PM_ITLB_MISS, 0x400fc)47/* Run_Instructions */48EVENT(PM_RUN_INST_CMPL, 0x500fa)49/* Alternate event code for PM_RUN_INST_CMPL */50EVENT(PM_RUN_INST_CMPL_ALT, 0x400fa)51/* Run_cycles */52EVENT(PM_RUN_CYC, 0x600f4)53/* Alternate event code for Run_cycles */54EVENT(PM_RUN_CYC_ALT, 0x200f4)55/* Marked store completed */56EVENT(PM_MRK_ST_CMPL, 0x10134)57/* Alternate event code for Marked store completed */58EVENT(PM_MRK_ST_CMPL_ALT, 0x301e2)59/* Marked two path branch */60EVENT(PM_BR_MRK_2PATH, 0x10138)61/* Alternate event code for PM_BR_MRK_2PATH */62EVENT(PM_BR_MRK_2PATH_ALT, 0x40138)63/* L3 castouts in Mepf state */64EVENT(PM_L3_CO_MEPF, 0x18082)65/* Alternate event code for PM_L3_CO_MEPF */66EVENT(PM_L3_CO_MEPF_ALT, 0x3e05e)67/* Data cache was reloaded from a location other than L2 due to a marked load */68EVENT(PM_MRK_DATA_FROM_L2MISS, 0x1d14e)69/* Alternate event code for PM_MRK_DATA_FROM_L2MISS */70EVENT(PM_MRK_DATA_FROM_L2MISS_ALT, 0x401e8)71/* Alternate event code for PM_CMPLU_STALL */72EVENT(PM_CMPLU_STALL_ALT, 0x1e054)73/* Two path branch */74EVENT(PM_BR_2PATH, 0x20036)75/* Alternate event code for PM_BR_2PATH */76EVENT(PM_BR_2PATH_ALT, 0x40036)77/* # PPC Dispatched */78EVENT(PM_INST_DISP, 0x200f2)79/* Alternate event code for PM_INST_DISP */80EVENT(PM_INST_DISP_ALT, 0x300f2)81/* Marked filter Match */82EVENT(PM_MRK_FILT_MATCH, 0x2013c)83/* Alternate event code for PM_MRK_FILT_MATCH */84EVENT(PM_MRK_FILT_MATCH_ALT, 0x3012e)85/* Alternate event code for PM_LD_MISS_L1 */86EVENT(PM_LD_MISS_L1_ALT, 0x400f0)87/*88* Memory Access Event -- mem_access89* Primary PMU event used here is PM_MRK_INST_CMPL, along with90* Random Load/Store Facility Sampling (RIS) in Random sampling mode (MMCRA[SM]).91*/92EVENT(MEM_ACCESS, 0x10401e0)939495