power9-events-list.h 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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. * Power9 event codes.
  13. */
  14. EVENT(PM_CYC, 0x0001e)
  15. EVENT(PM_ICT_NOSLOT_CYC, 0x100f8)
  16. EVENT(PM_CMPLU_STALL, 0x1e054)
  17. EVENT(PM_INST_CMPL, 0x00002)
  18. EVENT(PM_BR_CMPL, 0x4d05e)
  19. EVENT(PM_BR_MPRED_CMPL, 0x400f6)
  20. /* All L1 D cache load references counted at finish, gated by reject */
  21. EVENT(PM_LD_REF_L1, 0x100fc)
  22. /* Load Missed L1 */
  23. EVENT(PM_LD_MISS_L1_FIN, 0x2c04e)
  24. EVENT(PM_LD_MISS_L1, 0x3e054)
  25. /* Alternate event code for PM_LD_MISS_L1 */
  26. EVENT(PM_LD_MISS_L1_ALT, 0x400f0)
  27. /* Store Missed L1 */
  28. EVENT(PM_ST_MISS_L1, 0x300f0)
  29. /* L1 cache data prefetches */
  30. EVENT(PM_L1_PREF, 0x20054)
  31. /* Instruction fetches from L1 */
  32. EVENT(PM_INST_FROM_L1, 0x04080)
  33. /* Demand iCache Miss */
  34. EVENT(PM_L1_ICACHE_MISS, 0x200fd)
  35. /* Instruction Demand sectors wriittent into IL1 */
  36. EVENT(PM_L1_DEMAND_WRITE, 0x0408c)
  37. /* Instruction prefetch written into IL1 */
  38. EVENT(PM_IC_PREF_WRITE, 0x0488c)
  39. /* The data cache was reloaded from local core's L3 due to a demand load */
  40. EVENT(PM_DATA_FROM_L3, 0x4c042)
  41. /* Demand LD - L3 Miss (not L2 hit and not L3 hit) */
  42. EVENT(PM_DATA_FROM_L3MISS, 0x300fe)
  43. /* All successful D-side store dispatches for this thread */
  44. EVENT(PM_L2_ST, 0x16880)
  45. /* All successful D-side store dispatches for this thread that were L2 Miss */
  46. EVENT(PM_L2_ST_MISS, 0x26880)
  47. /* Total HW L3 prefetches(Load+store) */
  48. EVENT(PM_L3_PREF_ALL, 0x4e052)
  49. /* Data PTEG reload */
  50. EVENT(PM_DTLB_MISS, 0x300fc)
  51. /* ITLB Reloaded */
  52. EVENT(PM_ITLB_MISS, 0x400fc)
  53. /* Run_Instructions */
  54. EVENT(PM_RUN_INST_CMPL, 0x500fa)
  55. /* Alternate event code for PM_RUN_INST_CMPL */
  56. EVENT(PM_RUN_INST_CMPL_ALT, 0x400fa)
  57. /* Run_cycles */
  58. EVENT(PM_RUN_CYC, 0x600f4)
  59. /* Alternate event code for Run_cycles */
  60. EVENT(PM_RUN_CYC_ALT, 0x200f4)
  61. /* Instruction Dispatched */
  62. EVENT(PM_INST_DISP, 0x200f2)
  63. EVENT(PM_INST_DISP_ALT, 0x300f2)
  64. /* Alternate Branch event code */
  65. EVENT(PM_BR_CMPL_ALT, 0x10012)
  66. /* Branch event that are not strongly biased */
  67. EVENT(PM_BR_2PATH, 0x20036)
  68. /* ALternate branch event that are not strongly biased */
  69. EVENT(PM_BR_2PATH_ALT, 0x40036)
  70. /* Blacklisted events */
  71. EVENT(PM_MRK_ST_DONE_L2, 0x10134)
  72. EVENT(PM_RADIX_PWC_L1_HIT, 0x1f056)
  73. EVENT(PM_FLOP_CMPL, 0x100f4)
  74. EVENT(PM_MRK_NTF_FIN, 0x20112)
  75. EVENT(PM_RADIX_PWC_L2_HIT, 0x2d024)
  76. EVENT(PM_IFETCH_THROTTLE, 0x3405e)
  77. EVENT(PM_MRK_L2_TM_ST_ABORT_SISTER, 0x3e15c)
  78. EVENT(PM_RADIX_PWC_L3_HIT, 0x3f056)
  79. EVENT(PM_RUN_CYC_SMT2_MODE, 0x3006c)
  80. EVENT(PM_TM_TX_PASS_RUN_INST, 0x4e014)
  81. EVENT(PM_DISP_HELD_SYNC_HOLD, 0x4003c)
  82. EVENT(PM_DTLB_MISS_16G, 0x1c058)
  83. EVENT(PM_DERAT_MISS_2M, 0x1c05a)
  84. EVENT(PM_DTLB_MISS_2M, 0x1c05c)
  85. EVENT(PM_MRK_DTLB_MISS_1G, 0x1d15c)
  86. EVENT(PM_DTLB_MISS_4K, 0x2c056)
  87. EVENT(PM_DERAT_MISS_1G, 0x2c05a)
  88. EVENT(PM_MRK_DERAT_MISS_2M, 0x2d152)
  89. EVENT(PM_MRK_DTLB_MISS_4K, 0x2d156)
  90. EVENT(PM_MRK_DTLB_MISS_16G, 0x2d15e)
  91. EVENT(PM_DTLB_MISS_64K, 0x3c056)
  92. EVENT(PM_MRK_DERAT_MISS_1G, 0x3d152)
  93. EVENT(PM_MRK_DTLB_MISS_64K, 0x3d156)
  94. EVENT(PM_DTLB_MISS_16M, 0x4c056)
  95. EVENT(PM_DTLB_MISS_1G, 0x4c05a)
  96. EVENT(PM_MRK_DTLB_MISS_16M, 0x4c15e)