mcst-linux-kernel/patches-2024.06.26/papi-5.4.3/0003-define-e2k-papi-events...

156 lines
5.1 KiB
Diff

Link:
Subject: define e2k papi events
Bug: 83034
Tags: e2k
diff -rupN a/src/papi_events.csv b/src/papi_events.csv
--- a/src/papi_events.csv 2020-11-27 04:18:51.363249096 +0300
+++ b/src/papi_events.csv 2020-11-27 04:16:15.841340000 +0300
@@ -110,6 +110,146 @@ PRESET,PAPI_FP_OPS,DERIVED_SUB,RETIRED_M
#
########################
+## E2K #
+########################
+
+CPU,elbrus-v3
+CPU,elbrus-v4
+CPU,elbrus-v5
+#
+PRESET,PAPI_L1_DCH,NOT_DERIVED,L1_HIT
+PRESET,PAPI_L1_DCA,NOT_DERIVED,L1_QUERY
+PRESET,PAPI_L1_TCH,NOT_DERIVED,PAPI_L1_DCH
+PRESET,PAPI_L1_TCA,NOT_DERIVED,PAPI_L1_DCA
+PRESET,PAPI_L1_DCM,DERIVED_SUB,PAPI_L1_DCA,PAPI_L1_DCH
+
+PRESET,PAPI_BTAC_M,NOT_DERIVED,IB_DISP_MISS
+PRESET,PAPI_L1_ICM,DERIVED_ADD,IB_AHEAD_MISS,PAPI_BTAC_M
+
+PRESET,PAPI_L1_TCM,DERIVED_ADD,PAPI_L1_DCM,PAPI_L1_ICM
+
+PRESET,PAPI_L2_TCH,NOT_DERIVED,L2_HIT
+PRESET,PAPI_L2_TCA,NOT_DERIVED,L2_QUERY
+PRESET,PAPI_L2_TCM,DERIVED_SUB,PAPI_L2_TCA,PAPI_L2_TCH
+
+PRESET,PAPI_CA_INV,NOT_DERIVED,L2_EXT_INV
+
+PRESET,PAPI_TLB_DM,DERIVED_SUB,DTLB_QUERY,DTLB_HIT
+PRESET,PAPI_TLB_IM,DERIVED_ADD,IB_AHEAD_ITLB_MISS,IB_DISP_ITLB_MISS
+PRESET,PAPI_TLB_TL,DERIVED_ADD,PAPI_TLB_DM,PAPI_TLB_IM
+
+PRESET,PAPI_TOT_INS,NOT_DERIVED,EXEC
+PRESET,PAPI_TOT_CYC,NOT_DERIVED,TICKS
+PRESET,PAPI_RES_STL,DERIVED_SUB,PAPI_TOT_CYC,PAPI_TOT_INS
+PRESET,PAPI_REF_CYC,NOT_DERIVED,PAPI_TOT_CYC
+PRESET,PAPI_TOT_IIS,NOT_DERIVED,PAPI_TOT_INS
+
+PRESET,PAPI_L1_DCW,NOT_DERIVED,L1_ST_QUERY
+PRESET,PAPI_L1_TCW,NOT_DERIVED,PAPI_L1_DCW
+PRESET,PAPI_L2_TCW,NOT_DERIVED,L2_ST_QUERY
+
+PRESET,PAPI_L1_STM,DERIVED_SUB,PAPI_L1_DCW,L1_ST_HIT
+PRESET,PAPI_L2_STM,DERIVED_SUB,PAPI_L2_TCW,L2_ST_HIT
+
+#PRESET,PAPI_L1_LDM,DERIVED_SUB,PAPI_L1_TCM,PAPI_L1_STM
+#PRESET,PAPI_L2_LDM,DERIVED_SUB,PAPI_L2_TCM,PAPI_L2_STM
+
+PRESET,PAPI_MEM_SCY,DERIVED_POSTFIX,N0|4|*|,BUB_E2
+PRESET,PAPI_STL_ICY,NOT_DERIVED,IB_NO_COMMAND
+PRESET,PAPI_HW_INT,NOT_DERIVED,TRAPS
+PRESET,PAPI_BR_NTK,NOT_DERIVED,CT_NOT_TAKEN
+#
+# v1 does not support TICKS #
+#
+CPU,elbrus-v1
+#
+PRESET,PAPI_BTAC_M,DERIVED_ADD,IB_DISP_0_MISS,IB_DISP_1_MISS
+#PRESET,PAPI_L1_ICM,DERIVED_ADD,PAPI_BTAC_M,IB_AHEAD_0_MISS,IB_AHEAD_1_MISS
+PRESET,PAPI_TOT_CYC,NOT_DERIVED,PERF_COUNT_HW_CPU_CYCLES
+PRESET,PAPI_L1_DCH,NOT_DERIVED,L1_HIT
+PRESET,PAPI_L1_DCA,NOT_DERIVED,L1_QUERY
+PRESET,PAPI_L1_TCH,NOT_DERIVED,PAPI_L1_DCH
+PRESET,PAPI_L1_TCA,NOT_DERIVED,PAPI_L1_DCA
+PRESET,PAPI_L1_DCM,DERIVED_SUB,PAPI_L1_DCA,PAPI_L1_DCH
+
+#PRESET,PAPI_L1_TCM,DERIVED_ADD,PAPI_L1_DCM,PAPI_L1_ICM
+
+PRESET,PAPI_L2_TCH,NOT_DERIVED,L2_HIT
+PRESET,PAPI_L2_TCA,NOT_DERIVED,L2_QUERY
+PRESET,PAPI_L2_TCM,DERIVED_SUB,PAPI_L2_TCA,PAPI_L2_TCH
+
+PRESET,PAPI_CA_INV,NOT_DERIVED,L2_EXT_INV
+
+PRESET,PAPI_TLB_DM,DERIVED_SUB,DTLB_QUERY,DTLB_HIT
+PRESET,PAPI_TLB_IM,DERIVED_ADD,IB_AHEAD_ITLB_MISS,IB_DISP_ITLB_MISS
+PRESET,PAPI_TLB_TL,DERIVED_ADD,PAPI_TLB_DM,PAPI_TLB_IM
+
+PRESET,PAPI_TOT_INS,NOT_DERIVED,EXEC
+PRESET,PAPI_RES_STL,DERIVED_SUB,PAPI_TOT_CYC,PAPI_TOT_INS
+PRESET,PAPI_REF_CYC,NOT_DERIVED,PAPI_TOT_CYC
+PRESET,PAPI_TOT_IIS,NOT_DERIVED,PAPI_TOT_INS
+
+PRESET,PAPI_L1_DCW,NOT_DERIVED,L1_ST_QUERY
+PRESET,PAPI_L1_TCW,NOT_DERIVED,PAPI_L1_DCW
+PRESET,PAPI_L2_TCW,NOT_DERIVED,L2_ST_QUERY
+
+PRESET,PAPI_L1_STM,DERIVED_SUB,PAPI_L1_DCW,L1_ST_HIT
+PRESET,PAPI_L2_STM,DERIVED_SUB,PAPI_L2_TCW,L2_ST_HIT
+
+#PRESET,PAPI_L1_LDM,DERIVED_SUB,PAPI_L1_TCM,PAPI_L1_STM
+#PRESET,PAPI_L2_LDM,DERIVED_SUB,PAPI_L2_TCM,PAPI_L2_STM
+
+PRESET,PAPI_MEM_SCY,DERIVED_POSTFIX,N0|4|*|,BUB_E2
+PRESET,PAPI_STL_ICY,NOT_DERIVED,IB_NO_COMMAND
+PRESET,PAPI_HW_INT,NOT_DERIVED,TRAPS
+PRESET,PAPI_BR_NTK,NOT_DERIVED,CT_NOT_TAKEN
+#
+CPU,elbrus-v2
+#
+PRESET,PAPI_BTAC_M,DERIVED_ADD,IB_DISP_0_MISS,IB_DISP_1_MISS
+#PRESET,PAPI_L1_ICM,DERIVED_ADD,PAPI_BTAC_M,IB_AHEAD_0_MISS,IB_AHEAD_1_MISS
+PRESET,PAPI_TOT_CYC,NOT_DERIVED,TICKS
+PRESET,PAPI_L1_DCH,NOT_DERIVED,L1_HIT
+PRESET,PAPI_L1_DCA,NOT_DERIVED,L1_QUERY
+PRESET,PAPI_L1_TCH,NOT_DERIVED,PAPI_L1_DCH
+PRESET,PAPI_L1_TCA,NOT_DERIVED,PAPI_L1_DCA
+PRESET,PAPI_L1_DCM,DERIVED_SUB,PAPI_L1_DCA,PAPI_L1_DCH
+
+#PRESET,PAPI_L1_TCM,DERIVED_ADD,PAPI_L1_DCM,PAPI_L1_ICM
+
+PRESET,PAPI_L2_TCH,NOT_DERIVED,L2_HIT
+PRESET,PAPI_L2_TCA,NOT_DERIVED,L2_QUERY
+PRESET,PAPI_L2_TCM,DERIVED_SUB,PAPI_L2_TCA,PAPI_L2_TCH
+
+PRESET,PAPI_CA_INV,NOT_DERIVED,L2_EXT_INV
+
+PRESET,PAPI_TLB_DM,DERIVED_SUB,DTLB_QUERY,DTLB_HIT
+PRESET,PAPI_TLB_IM,DERIVED_ADD,IB_AHEAD_ITLB_MISS,IB_DISP_ITLB_MISS
+PRESET,PAPI_TLB_TL,DERIVED_ADD,PAPI_TLB_DM,PAPI_TLB_IM
+
+PRESET,PAPI_TOT_INS,NOT_DERIVED,EXEC
+PRESET,PAPI_RES_STL,DERIVED_SUB,PAPI_TOT_CYC,PAPI_TOT_INS
+PRESET,PAPI_REF_CYC,NOT_DERIVED,PAPI_TOT_CYC
+PRESET,PAPI_TOT_IIS,NOT_DERIVED,PAPI_TOT_INS
+
+PRESET,PAPI_L1_DCW,NOT_DERIVED,L1_ST_QUERY
+PRESET,PAPI_L1_TCW,NOT_DERIVED,PAPI_L1_DCW
+PRESET,PAPI_L2_TCW,NOT_DERIVED,L2_ST_QUERY
+
+PRESET,PAPI_L1_STM,DERIVED_SUB,PAPI_L1_DCW,L1_ST_HIT
+PRESET,PAPI_L2_STM,DERIVED_SUB,PAPI_L2_TCW,L2_ST_HIT
+
+#PRESET,PAPI_L1_LDM,DERIVED_SUB,PAPI_L1_TCM,PAPI_L1_STM
+#PRESET,PAPI_L2_LDM,DERIVED_SUB,PAPI_L2_TCM,PAPI_L2_STM
+
+PRESET,PAPI_MEM_SCY,DERIVED_POSTFIX,N0|4|*|,BUB_E2
+PRESET,PAPI_STL_ICY,NOT_DERIVED,IB_NO_COMMAND
+PRESET,PAPI_HW_INT,NOT_DERIVED,TRAPS
+PRESET,PAPI_BR_NTK,NOT_DERIVED,CT_NOT_TAKEN
+#
+
+
+########################
# AMD64 #
########################