Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4.15-rc2 71 lines 2.5 kB view raw
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_BR_CMPL, 0x4d05e) 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) 26EVENT(PM_LD_MISS_L1, 0x3e054) 27/* Alternate event code for PM_LD_MISS_L1 */ 28EVENT(PM_LD_MISS_L1_ALT, 0x400f0) 29/* Store Missed L1 */ 30EVENT(PM_ST_MISS_L1, 0x300f0) 31/* L1 cache data prefetches */ 32EVENT(PM_L1_PREF, 0x20054) 33/* Instruction fetches from L1 */ 34EVENT(PM_INST_FROM_L1, 0x04080) 35/* Demand iCache Miss */ 36EVENT(PM_L1_ICACHE_MISS, 0x200fd) 37/* Instruction Demand sectors wriittent into IL1 */ 38EVENT(PM_L1_DEMAND_WRITE, 0x0408c) 39/* Instruction prefetch written into IL1 */ 40EVENT(PM_IC_PREF_WRITE, 0x0488c) 41/* The data cache was reloaded from local core's L3 due to a demand load */ 42EVENT(PM_DATA_FROM_L3, 0x4c042) 43/* Demand LD - L3 Miss (not L2 hit and not L3 hit) */ 44EVENT(PM_DATA_FROM_L3MISS, 0x300fe) 45/* All successful D-side store dispatches for this thread */ 46EVENT(PM_L2_ST, 0x16880) 47/* All successful D-side store dispatches for this thread that were L2 Miss */ 48EVENT(PM_L2_ST_MISS, 0x26880) 49/* Total HW L3 prefetches(Load+store) */ 50EVENT(PM_L3_PREF_ALL, 0x4e052) 51/* Data PTEG reload */ 52EVENT(PM_DTLB_MISS, 0x300fc) 53/* ITLB Reloaded */ 54EVENT(PM_ITLB_MISS, 0x400fc) 55/* Run_Instructions */ 56EVENT(PM_RUN_INST_CMPL, 0x500fa) 57/* Alternate event code for PM_RUN_INST_CMPL */ 58EVENT(PM_RUN_INST_CMPL_ALT, 0x400fa) 59/* Run_cycles */ 60EVENT(PM_RUN_CYC, 0x600f4) 61/* Alternate event code for Run_cycles */ 62EVENT(PM_RUN_CYC_ALT, 0x200f4) 63/* Instruction Dispatched */ 64EVENT(PM_INST_DISP, 0x200f2) 65EVENT(PM_INST_DISP_ALT, 0x300f2) 66/* Alternate Branch event code */ 67EVENT(PM_BR_CMPL_ALT, 0x10012) 68/* Branch event that are not strongly biased */ 69EVENT(PM_BR_2PATH, 0x20036) 70/* ALternate branch event that are not strongly biased */ 71EVENT(PM_BR_2PATH_ALT, 0x40036)