~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/powerpc/perf/power10-events-list.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0-or-later */
  2 /*
  3  * Performance counter support for POWER10 processors.
  4  *
  5  * Copyright 2020 Madhavan Srinivasan, IBM Corporation.
  6  * Copyright 2020 Athira Rajeev, IBM Corporation.
  7  */
  8 
  9 /*
 10  * Power10 event codes.
 11  */
 12 EVENT(PM_CYC,                           0x600f4);
 13 EVENT(PM_DISP_STALL_CYC,                        0x100f8);
 14 EVENT(PM_EXEC_STALL,                            0x30008);
 15 EVENT(PM_INST_CMPL,                             0x500fa);
 16 EVENT(PM_BR_CMPL,                               0x4d05e);
 17 EVENT(PM_BR_MPRED_CMPL,                         0x400f6);
 18 EVENT(PM_BR_FIN,                                0x2f04a);
 19 EVENT(PM_MPRED_BR_FIN,                          0x3e098);
 20 EVENT(PM_LD_DEMAND_MISS_L1_FIN,                 0x400f0);
 21 
 22 /* All L1 D cache load references counted at finish, gated by reject */
 23 EVENT(PM_LD_REF_L1,                             0x100fc);
 24 /* Load Missed L1 */
 25 EVENT(PM_LD_MISS_L1,                            0x3e054);
 26 /* Store Missed L1 */
 27 EVENT(PM_ST_MISS_L1,                            0x300f0);
 28 /* L1 cache data prefetches */
 29 EVENT(PM_LD_PREFETCH_CACHE_LINE_MISS,           0x1002c);
 30 /* Demand iCache Miss */
 31 EVENT(PM_L1_ICACHE_MISS,                        0x200fc);
 32 /* Instruction fetches from L1 */
 33 EVENT(PM_INST_FROM_L1,                          0x04080);
 34 /* Instruction Demand sectors wriittent into IL1 */
 35 EVENT(PM_INST_FROM_L1MISS,                      0x03f00000001c040);
 36 /* Instruction prefetch written into IL1 */
 37 EVENT(PM_IC_PREF_REQ,                           0x040a0);
 38 /* The data cache was reloaded from local core's L3 due to a demand load */
 39 EVENT(PM_DATA_FROM_L3,                          0x01340000001c040);
 40 /* Demand LD - L3 Miss (not L2 hit and not L3 hit) */
 41 EVENT(PM_DATA_FROM_L3MISS,                      0x300fe);
 42 /* All successful D-side store dispatches for this thread */
 43 EVENT(PM_L2_ST,                                 0x010000046080);
 44 /* All successful D-side store dispatches for this thread that were L2 Miss */
 45 EVENT(PM_L2_ST_MISS,                            0x26880);
 46 /* Total HW L3 prefetches(Load+store) */
 47 EVENT(PM_L3_PF_MISS_L3,                         0x100000016080);
 48 /* Data PTEG reload */
 49 EVENT(PM_DTLB_MISS,                             0x300fc);
 50 /* ITLB Reloaded */
 51 EVENT(PM_ITLB_MISS,                             0x400fc);
 52 
 53 EVENT(PM_CYC_ALT,                               0x0001e);
 54 EVENT(PM_INST_CMPL_ALT,                         0x00002);
 55 
 56 /*
 57  * Memory Access Events
 58  *
 59  * Primary PMU event used here is PM_MRK_INST_CMPL (0x401e0)
 60  * To enable capturing of memory profiling, these MMCRA bits
 61  * needs to be programmed and corresponding raw event format
 62  * encoding.
 63  *
 64  * MMCRA bits encoding needed are
 65  *     SM (Sampling Mode)
 66  *     EM (Eligibility for Random Sampling)
 67  *     TECE (Threshold Event Counter Event)
 68  *     TS (Threshold Start Event)
 69  *     TE (Threshold End Event)
 70  *
 71  * Corresponding Raw Encoding bits:
 72  *     sample [EM,SM]
 73  *     thresh_sel (TECE)
 74  *     thresh start (TS)
 75  *     thresh end (TE)
 76  */
 77 
 78 EVENT(MEM_LOADS,                                0x35340401e0);
 79 EVENT(MEM_STORES,                               0x353c0401e0);
 80 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php