# =======================================================================================
#
#      Filename:  perfmon_sandybridgeEP_events.txt
#
#      Description:  Event list for Intel SandyBridge EP
#
#      Version:   5.1.0
#      Released:  20.11.2020
#
#      Author:   Jan Treibig (jt), jan.treibig@gmail.com
#                Thomas Gruber (tr), thomas.roehl@googlemail.com
#      Project:  likwid
#
#      Copyright (C) 2020 RRZE, University Erlangen-Nuremberg
#
#      This program is free software: you can redistribute it and/or modify it under
#      the terms of the GNU General Public License as published by the Free Software
#      Foundation, either version 3 of the License, or (at your option) any later
#      version.
#
#      This program is distributed in the hope that it will be useful, but WITHOUT ANY
#      WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
#      PARTICULAR PURPOSE.  See the GNU General Public License for more details.
#
#      You should have received a copy of the GNU General Public License along with
#      this program.  If not, see <http://www.gnu.org/licenses/>.
#
# =======================================================================================

EVENT_TEMP_CORE               0x00   TMP0
UMASK_TEMP_CORE               0x00

EVENT_PWR_PKG_ENERGY          0x02   PWR0
UMASK_PWR_PKG_ENERGY          0x00

EVENT_PWR_PP0_ENERGY          0x01   PWR1
UMASK_PWR_PP0_ENERGY          0x00

EVENT_PWR_PP1_ENERGY          0x04   PWR2
UMASK_PWR_PP1_ENERGY          0x00

EVENT_PWR_DRAM_ENERGY         0x03   PWR3
UMASK_PWR_DRAM_ENERGY         0x00

EVENT_VOLTAGE_CORE          0x00   VTG0
UMASK_VOLTAGE_CORE          0x00

EVENT_INSTR_RETIRED           0x00   FIXC0
UMASK_INSTR_RETIRED_ANY       0x00

EVENT_CPU_CLK_UNHALTED        0x00   FIXC1
UMASK_CPU_CLK_UNHALTED_CORE   0x00

EVENT_CPU_CLK_UNHALTED        0x00   FIXC2
UMASK_CPU_CLK_UNHALTED_REF    0x00

EVENT_LOAD_BLOCKS                 0x03  PMC
UMASK_LOAD_BLOCKS_DATA_UNKNOWN    0x01
UMASK_LOAD_BLOCKS_STORE_FORWARD   0x02
UMASK_LOAD_BLOCKS_NO_SR           0x08
UMASK_LOAD_BLOCKS_ALL_BLOCK       0x10

EVENT_MISALIGN_MEM_REF           0x05  PMC
UMASK_MISALIGN_MEM_REF_LOAD      0x01
UMASK_MISALIGN_MEM_REF_STORE     0x02
UMASK_MISALIGN_MEM_REF_ANY       0x03

EVENT_LD_BLOCKS_PARTIAL                 0x07  PMC
UMASK_LD_BLOCKS_PARTIAL_ADDRESS_ALIAS   0x01
UMASK_LD_BLOCKS_PARTIAL_ALL_STA_BLOCK   0x08

EVENT_DTLB_LOAD_MISSES                 0x08  PMC
UMASK_DTLB_LOAD_MISSES_CAUSES_A_WALK   0x01
UMASK_DTLB_LOAD_MISSES_WALK_COMPLETED  0x02
UMASK_DTLB_LOAD_MISSES_WALK_DURATION   0x04

EVENT_INT_MISC                       0x0D  PMC
DEFAULT_OPTIONS_INT_MISC_RECOVERY_CYCLES EVENT_OPTION_THRESHOLD=0x1
UMASK_INT_MISC_RECOVERY_CYCLES       0x03
DEFAULT_OPTIONS_INT_MISC_RECOVERY_COUNT EVENT_OPTION_THRESHOLD=0x1,EVENT_OPTION_EDGE=1
UMASK_INT_MISC_RECOVERY_COUNT        0x03
UMASK_INT_MISC_RAT_STALL_CYCLES      0x40
DEFAULT_OPTIONS_INT_MISC_RAT_STALL_COUNT EVENT_OPTION_EDGE=1
UMASK_INT_MISC_RAT_STALL_COUNT       0x40

EVENT_UOPS_ISSUED                0x0E  PMC
UMASK_UOPS_ISSUED_ANY            0x01
DEFAULT_OPTIONS_UOPS_ISSUED_USED_CYCLES EVENT_OPTION_THRESHOLD=0x1
UMASK_UOPS_ISSUED_USED_CYCLES   0x01
DEFAULT_OPTIONS_UOPS_ISSUED_STALL_CYCLES EVENT_OPTION_THRESHOLD=0x1,EVENT_OPTION_INVERT=1
UMASK_UOPS_ISSUED_STALL_CYCLES   0x01
DEFAULT_OPTIONS_UOPS_ISSUED_TOTAL_CYCLES EVENT_OPTION_THRESHOLD=0xA,EVENT_OPTION_INVERT=1
UMASK_UOPS_ISSUED_TOTAL_CYCLES   0x01
DEFAULT_OPTIONS_UOPS_ISSUED_CORE_USED_CYCLES EVENT_OPTION_THRESHOLD=0x1,EVENT_OPTION_ANYTHREAD=1
UMASK_UOPS_ISSUED_CORE_USED_CYCLES   0x01
DEFAULT_OPTIONS_UOPS_ISSUED_CORE_STALL_CYCLES EVENT_OPTION_THRESHOLD=0x1,EVENT_OPTION_INVERT=1,EVENT_OPTION_ANYTHREAD=1
UMASK_UOPS_ISSUED_CORE_STALL_CYCLES   0x01
DEFAULT_OPTIONS_UOPS_ISSUED_CORE_TOTAL_CYCLES EVENT_OPTION_THRESHOLD=0xA,EVENT_OPTION_INVERT=1,EVENT_OPTION_ANYTHREAD=1
UMASK_UOPS_ISSUED_CORE_TOTAL_CYCLES   0x01
DEFAULT_OPTIONS_UOPS_ISSUED_CYCLES_GE_1_UOPS_EXEC EVENT_OPTION_THRESHOLD=0x1
UMASK_UOPS_ISSUED_CYCLES_GE_1_UOPS_EXEC 0x01
DEFAULT_OPTIONS_UOPS_ISSUED_CYCLES_GE_2_UOPS_EXEC EVENT_OPTION_THRESHOLD=0x2
UMASK_UOPS_ISSUED_CYCLES_GE_2_UOPS_EXEC 0x01
DEFAULT_OPTIONS_UOPS_ISSUED_CYCLES_GE_3_UOPS_EXEC EVENT_OPTION_THRESHOLD=0x3
UMASK_UOPS_ISSUED_CYCLES_GE_3_UOPS_EXEC 0x01
DEFAULT_OPTIONS_UOPS_ISSUED_CYCLES_GE_4_UOPS_EXEC EVENT_OPTION_THRESHOLD=0x4
UMASK_UOPS_ISSUED_CYCLES_GE_4_UOPS_EXEC 0x01

EVENT_FP_COMP_OPS_EXE                          0x10   PMC
UMASK_FP_COMP_OPS_EXE_X87                      0x01
UMASK_FP_COMP_OPS_EXE_SSE_FP_PACKED_DOUBLE     0x10
UMASK_FP_COMP_OPS_EXE_SSE_FP_SCALAR_SINGLE     0x20
UMASK_FP_COMP_OPS_EXE_SSE_FP_PACKED_SINGLE     0x40
UMASK_FP_COMP_OPS_EXE_SSE_FP_SCALAR_DOUBLE     0x80

EVENT_SIMD_FP_256_PACKED            0x11   PMC
UMASK_SIMD_FP_256_PACKED_SINGLE     0x01
UMASK_SIMD_FP_256_PACKED_DOUBLE     0x02

EVENT_ARITH                      0x14   PMC
UMASK_ARITH_FPU_DIV_ACTIVE       0x01
DEFAULT_OPTIONS_ARITH_NUM_DIV    EVENT_OPTION_THRESHOLD=0x1,EVENT_OPTION_EDGE=1
UMASK_ARITH_NUM_DIV              0x01

EVENT_INSTS_WRITTEN_TO_IQ            0x17   PMC
UMASK_INSTS_WRITTEN_TO_IQ_INSTS      0x01

EVENT_L2_RQSTS                          0x24   PMC
UMASK_L2_RQSTS_ALL_DEMAND_DATA_RD_HIT   0x01
UMASK_L2_RQSTS_ALL_DEMAND_DATA_RD_MISS  0x02
UMASK_L2_RQSTS_ALL_DEMAND_DATA_RD       0x03
UMASK_L2_RQSTS_RFO_HITS                 0x04
UMASK_L2_RQSTS_RFO_MISS                 0x08
UMASK_L2_RQSTS_RFO_ANY                  0x0C
UMASK_L2_RQSTS_CODE_RD_HITS             0x10
UMASK_L2_RQSTS_CODE_RD_MISS             0x20
UMASK_L2_RQSTS_ALL_CODE_CODE_RD         0x30
UMASK_L2_RQSTS_PF_HIT                   0x40
UMASK_L2_RQSTS_PF_MISS                  0x80
UMASK_L2_RQSTS_ALL_PF                   0xC0
UMASK_L2_RQSTS_MISS                     0xAA

EVENT_L2_STORE_LOCK_RQSTS            0x27   PMC
UMASK_L2_STORE_LOCK_RQSTS_MISS       0x01
UMASK_L2_STORE_LOCK_RQSTS_HIT_E      0x04
UMASK_L2_STORE_LOCK_RQSTS_HIT_M      0x08
UMASK_L2_STORE_LOCK_RQSTS_ALL        0x0F

EVENT_L1D_WB_RQST                  0x28   PMC
UMASK_L1D_WB_RQST_HIT_E            0x04
UMASK_L1D_WB_RQST_HIT_M            0x08

EVENT_L3_LAT_CACHE               0x2E   PMC
UMASK_L3_LAT_CACHE_REFERENCE     0x4F
UMASK_L3_LAT_CACHE_MISS          0x41

EVENT_CPU_CLOCK_UNHALTED           0x3C   PMC
UMASK_CPU_CLOCK_UNHALTED_THREAD_P  0x00
UMASK_CPU_CLOCK_UNHALTED_REF_P     0x01
DEFAULT_OPTIONS_CPU_CLOCK_UNHALTED_TOTAL_CYCLES EVENT_OPTION_THRESHOLD=0x2,EVENT_OPTION_INVERT=0x1
UMASK_CPU_CLOCK_UNHALTED_TOTAL_CYCLES   0x00

EVENT_L1D_PEND_MISS              0x48   PMC1
UMASK_L1D_PEND_MISS_PENDING      0x01

EVENT_DTLB_STORE_MISSES                 0x49   PMC
UMASK_DTLB_STORE_MISSES_CAUSES_A_WALK   0x01
UMASK_DTLB_STORE_MISSES_WALK_COMPLETED  0x02
UMASK_DTLB_STORE_MISSES_WALK_DURATION   0x04
UMASK_DTLB_STORE_MISSES_STLB_HIT        0x10

EVENT_LOAD_HIT_PRE                     0x4C    PMC
UMASK_LOAD_HIT_PRE_SW_PF               0x01
UMASK_LOAD_HIT_PRE_HW_PF               0x02

EVENT_HW_PRE_REQ               0x4E    PMC
UMASK_HW_PRE_REQ_DL1_MISS      0x02

EVENT_L1D                         0x51   PMC
UMASK_L1D_REPLACEMENT             0x01
UMASK_L1D_ALLOCATED_IN_M          0x02
UMASK_L1D_M_EVICT                 0x04
UMASK_L1D_ALL_M_REPLACEMENT       0x08

EVENT_PARTIAL_RAT_STALLS                   0x59    PMC
UMASK_PARTIAL_RAT_STALLS_FLAGS_MERGE_UOP   0x20
UMASK_PARTIAL_RAT_STALLS_SLOW_LEA_WINDOW   0x40
UMASK_PARTIAL_RAT_STALLS_MUL_SINGLE_UOP    0x80

EVENT_RESOURCE_STALLS2                  0x5B    PMC
UMASK_RESOURCE_STALLS2_ALL_FL_EMPTY     0x0C
UMASK_RESOURCE_STALLS2_ALL_PRF_CONTROL  0x0F
UMASK_RESOURCE_STALLS2_BOB_FULL         0x40
UMASK_RESOURCE_STALLS2_OOO_RSRC         0x4F

EVENT_CPL_CYCLES               0x5C    PMC
UMASK_CPL_CYCLES_RING0         0x01
UMASK_CPL_CYCLES_RING123       0x02

EVENT_RS_EVENTS                 0x5E    PMC
UMASK_RS_EVENTS_EMPTY_CYCLES    0x01

EVENT_OFFCORE_REQUESTS_OUTSTANDING                  0x60   PMC
UMASK_OFFCORE_REQUESTS_OUTSTANDING_DEMAND_DATA_RD   0x01
UMASK_OFFCORE_REQUESTS_OUTSTANDING_DEMAND_CODE_RD   0x02
UMASK_OFFCORE_REQUESTS_OUTSTANDING_DEMAND_RFO       0x04
UMASK_OFFCORE_REQUESTS_OUTSTANDING_ALL_DATA_RD      0x08

EVENT_CACHE_LOCK_CYCLES                             0x63   PMC
UMASK_CACHE_LOCK_CYCLES_SPLIT_LOCK_UC_LOCK_DURATION 0x01
UMASK_CACHE_LOCK_CYCLES_CACHE_LOCK_DURATION         0x02

EVENT_IDQ                               0x79   PMC
UMASK_IDQ_EMPTY                         0x02
UMASK_IDQ_MITE_UOPS                     0x04
UMASK_IDQ_DSB_UOPS                      0x08
UMASK_IDQ_MS_DSB_UOPS                   0x10
UMASK_IDQ_MS_MITE_UOPS                  0x20
UMASK_IDQ_MS_UOPS                       0x30
UMASK_IDQ_DSB_ALL_UOPS                  0x18
UMASK_IDQ_MITE_ALL_UOPS                 0x24
UMASK_IDQ_ALL_UOPS                      0x3C
DEFAULT_OPTIONS_IDQ_MITE_CYCLES         EVENT_OPTION_THRESHOLD=0x1
UMASK_IDQ_MITE_CYCLES                   0x04
DEFAULT_OPTIONS_IDQ_MITE_CYCLES_1_UOPS EVENT_OPTION_THRESHOLD=0x1
UMASK_IDQ_MITE_CYCLES_1_UOPS            0x04
DEFAULT_OPTIONS_IDQ_MITE_CYCLES_2_UOPS EVENT_OPTION_THRESHOLD=0x2
UMASK_IDQ_MITE_CYCLES_2_UOPS            0x04
DEFAULT_OPTIONS_IDQ_MITE_CYCLES_3_UOPS EVENT_OPTION_THRESHOLD=0x3
UMASK_IDQ_MITE_CYCLES_3_UOPS            0x04
DEFAULT_OPTIONS_IDQ_MITE_CYCLES_4_UOPS EVENT_OPTION_THRESHOLD=0x4
UMASK_IDQ_MITE_CYCLES_4_UOPS            0x04
DEFAULT_OPTIONS_IDQ_DSB_CYCLES          EVENT_OPTION_THRESHOLD=0x1
UMASK_IDQ_DSB_CYCLES                    0x08
DEFAULT_OPTIONS_IDQ_DSB_CYCLES_1_UOPS EVENT_OPTION_THRESHOLD=0x1
UMASK_IDQ_DSB_CYCLES_1_UOPS             0x08
DEFAULT_OPTIONS_IDQ_DSB_CYCLES_2_UOPS EVENT_OPTION_THRESHOLD=0x2
UMASK_IDQ_DSB_CYCLES_2_UOPS             0x08
DEFAULT_OPTIONS_IDQ_DSB_CYCLES_3_UOPS EVENT_OPTION_THRESHOLD=0x3
UMASK_IDQ_DSB_CYCLES_3_UOPS             0x08
DEFAULT_OPTIONS_IDQ_DSB_CYCLES_4_UOPS EVENT_OPTION_THRESHOLD=0x4
UMASK_IDQ_DSB_CYCLES_4_UOPS             0x08
DEFAULT_OPTIONS_IDQ_MS_DSB_CYCLES       EVENT_OPTION_THRESHOLD=0x1
UMASK_IDQ_MS_DSB_CYCLES                 0x10
DEFAULT_OPTIONS_IDQ_MS_DSB_CYCLES_1_UOPS EVENT_OPTION_THRESHOLD=0x1
UMASK_IDQ_MS_DSB_CYCLES_1_UOPS          0x10
DEFAULT_OPTIONS_IDQ_MS_DSB_CYCLES_2_UOPS EVENT_OPTION_THRESHOLD=0x2
UMASK_IDQ_MS_DSB_CYCLES_2_UOPS          0x10
DEFAULT_OPTIONS_IDQ_MS_DSB_CYCLES_3_UOPS EVENT_OPTION_THRESHOLD=0x3
UMASK_IDQ_MS_DSB_CYCLES_3_UOPS          0x10
DEFAULT_OPTIONS_IDQ_MS_DSB_CYCLES_4_UOPS EVENT_OPTION_THRESHOLD=0x4
UMASK_IDQ_MS_DSB_CYCLES_4_UOPS          0x10
DEFAULT_OPTIONS_IDQ_MS_DSB_OCCUR        EVENT_OPTION_THRESHOLD=0x1,EVENT_OPTION_EDGE=1
UMASK_IDQ_MS_DSB_OCCUR                  0x10
DEFAULT_OPTIONS_IDQ_MS_MITE_CYCLES      EVENT_OPTION_THRESHOLD=0x1
UMASK_IDQ_MS_MITE_CYCLES                0x20
DEFAULT_OPTIONS_IDQ_MS_MITE_CYCLES_1_UOPS EVENT_OPTION_THRESHOLD=0x1
UMASK_IDQ_MS_MITE_CYCLES_1_UOPS         0x20
DEFAULT_OPTIONS_IDQ_MS_MITE_CYCLES_2_UOPS EVENT_OPTION_THRESHOLD=0x2
UMASK_IDQ_MS_MITE_CYCLES_2_UOPS         0x20
DEFAULT_OPTIONS_IDQ_MS_MITE_CYCLES_3_UOPS EVENT_OPTION_THRESHOLD=0x3
UMASK_IDQ_MS_MITE_CYCLES_3_UOPS         0x20
DEFAULT_OPTIONS_IDQ_MS_MITE_CYCLES_4_UOPS EVENT_OPTION_THRESHOLD=0x4
UMASK_IDQ_MS_MITE_CYCLES_4_UOPS         0x20
DEFAULT_OPTIONS_IDQ_MS_CYCLES           EVENT_OPTION_THRESHOLD=0x1
UMASK_IDQ_MS_CYCLES                     0x30
DEFAULT_OPTIONS_IDQ_MS_CYCLES_1_UOPS EVENT_OPTION_THRESHOLD=0x1
UMASK_IDQ_MS_CYCLES_1_UOPS              0x30
DEFAULT_OPTIONS_IDQ_MS_CYCLES_2_UOPS EVENT_OPTION_THRESHOLD=0x2
UMASK_IDQ_MS_CYCLES_2_UOPS              0x30
DEFAULT_OPTIONS_IDQ_MS_CYCLES_3_UOPS EVENT_OPTION_THRESHOLD=0x3
UMASK_IDQ_MS_CYCLES_3_UOPS              0x30
DEFAULT_OPTIONS_IDQ_MS_CYCLES_4_UOPS EVENT_OPTION_THRESHOLD=0x4
UMASK_IDQ_MS_CYCLES_4_UOPS              0x30
DEFAULT_OPTIONS_IDQ_MS_SWITCHES         EVENT_OPTION_THRESHOLD=0x1,EVENT_OPTION_EDGE=1
UMASK_IDQ_MS_SWITCHES                   0x30
DEFAULT_OPTIONS_IDQ_ALL_DSB_CYCLES_ANY_UOPS EVENT_OPTION_THRESHOLD=0x1
UMASK_IDQ_ALL_DSB_CYCLES_ANY_UOPS       0x18
DEFAULT_OPTIONS_IDQ_ALL_DSB_CYCLES_1_UOPS EVENT_OPTION_THRESHOLD=0x1
UMASK_IDQ_ALL_DSB_CYCLES_1_UOPS         0x18
DEFAULT_OPTIONS_IDQ_ALL_DSB_CYCLES_2_UOPS EVENT_OPTION_THRESHOLD=0x2
UMASK_IDQ_ALL_DSB_CYCLES_2_UOPS         0x18
DEFAULT_OPTIONS_IDQ_ALL_DSB_CYCLES_3_UOPS EVENT_OPTION_THRESHOLD=0x3
UMASK_IDQ_ALL_DSB_CYCLES_3_UOPS         0x18
DEFAULT_OPTIONS_IDQ_ALL_DSB_CYCLES_4_UOPS EVENT_OPTION_THRESHOLD=0x4
UMASK_IDQ_ALL_DSB_CYCLES_4_UOPS         0x18
DEFAULT_OPTIONS_IDQ_ALL_MITE_CYCLES_ANY_UOPS  EVENT_OPTION_THRESHOLD=0x1
UMASK_IDQ_ALL_MITE_CYCLES_ANY_UOPS      0x24
DEFAULT_OPTIONS_IDQ_ALL_MITE_CYCLES_1_UOPS EVENT_OPTION_THRESHOLD=0x1
UMASK_IDQ_ALL_MITE_CYCLES_1_UOPS        0x24
DEFAULT_OPTIONS_IDQ_ALL_MITE_CYCLES_2_UOPS EVENT_OPTION_THRESHOLD=0x2
UMASK_IDQ_ALL_MITE_CYCLES_2_UOPS        0x24
DEFAULT_OPTIONS_IDQ_ALL_MITE_CYCLES_3_UOPS EVENT_OPTION_THRESHOLD=0x3
UMASK_IDQ_ALL_MITE_CYCLES_3_UOPS        0x24
DEFAULT_OPTIONS_IDQ_ALL_MITE_CYCLES_4_UOPS EVENT_OPTION_THRESHOLD=0x4
UMASK_IDQ_ALL_MITE_CYCLES_4_UOPS        0x24
DEFAULT_OPTIONS_IDQ_ALL_CYCLES_ANY_UOPS  EVENT_OPTION_THRESHOLD=0x1
UMASK_IDQ_ALL_CYCLES_ANY_UOPS      0x3C
DEFAULT_OPTIONS_IDQ_ALL_CYCLES_1_UOPS EVENT_OPTION_THRESHOLD=0x1
UMASK_IDQ_ALL_CYCLES_1_UOPS        0x3C
DEFAULT_OPTIONS_IDQ_ALL_CYCLES_2_UOPS EVENT_OPTION_THRESHOLD=0x2
UMASK_IDQ_ALL_CYCLES_2_UOPS        0x3C
DEFAULT_OPTIONS_IDQ_ALL_CYCLES_3_UOPS EVENT_OPTION_THRESHOLD=0x3
UMASK_IDQ_ALL_CYCLES_3_UOPS        0x3C
DEFAULT_OPTIONS_IDQ_ALL_CYCLES_4_UOPS EVENT_OPTION_THRESHOLD=0x4
UMASK_IDQ_ALL_CYCLES_4_UOPS        0x3C

EVENT_ICACHE                    0x80   PMC
UMASK_ICACHE_HITS               0x01
UMASK_ICACHE_MISSES             0x02
UMASK_ICACHE_ACCESSES           0x03
UMASK_ICACHE_IFETCH_STALL       0x04

EVENT_ITLB_MISSES                 0x85      PMC
UMASK_ITLB_MISSES_CAUSES_A_WALK   0x01
UMASK_ITLB_MISSES_WALK_COMPLETED  0x02
UMASK_ITLB_MISSES_WALK_DURATION   0x04
UMASK_ITLB_MISSES_STLB_HIT        0x10

EVENT_ILD_STALL                 0x87      PMC
UMASK_ILD_STALL_LCP             0x01
UMASK_ILD_STALL_IQ_FULL         0x04

EVENT_BR_INST_EXEC                                     0x88   PMC
UMASK_BR_INST_EXEC_COND_TAKEN                          0x81
UMASK_BR_INST_EXEC_COND_NON_TAKEN                      0x41
UMASK_BR_INST_EXEC_DIRECT_JMP_TAKEN                    0x82
UMASK_BR_INST_EXEC_DIRECT_JMP_NON_TAKEN                0x42
UMASK_BR_INST_EXEC_INDIRECT_JMP_NON_CALL_RET_TAKEN     0x84
UMASK_BR_INST_EXEC_INDIRECT_JMP_NON_CALL_RET_NON_TAKEN 0x44
UMASK_BR_INST_EXEC_RETURN_NEAR_TAKEN                   0x88
UMASK_BR_INST_EXEC_RETURN_NEAR_NON_TAKEN               0x48
UMASK_BR_INST_EXEC_DIRECT_NEAR_CALL_TAKEN              0x90
UMASK_BR_INST_EXEC_DIRECT_NEAR_CALL_NON_TAKEN          0x50
UMASK_BR_INST_EXEC_INDIRECT_NEAR_CALL_TAKEN            0xA0
UMASK_BR_INST_EXEC_INDIRECT_NEAR_CALL_NON_TAKEN        0x60
UMASK_BR_INST_EXEC_ALL_BRANCHES                        0xFF

EVENT_BR_MISP_EXEC                                     0x89   PMC
UMASK_BR_MISP_EXEC_COND_TAKEN                          0x81
UMASK_BR_MISP_EXEC_COND_NON_TAKEN                      0x41
UMASK_BR_MISP_EXEC_INDIRECT_JMP_NON_CALL_RET_TAKEN     0x84
UMASK_BR_MISP_EXEC_INDIRECT_JMP_NON_CALL_RET_NON_TAKEN 0x44
UMASK_BR_MISP_EXEC_RETURN_NEAR_TAKEN                   0x88
UMASK_BR_MISP_EXEC_RETURN_NEAR_NON_TAKEN               0x48
UMASK_BR_MISP_EXEC_DIRECT_NEAR_CALL_TAKEN              0x90
UMASK_BR_MISP_EXEC_DIRECT_NEAR_CALL_NON_TAKEN          0x50
UMASK_BR_MISP_EXEC_INDIRECT_NEAR_CALL_TAKEN            0xA0
UMASK_BR_MISP_EXEC_INDIRECT_NEAR_CALL_NON_TAKEN        0x60
UMASK_BR_MISP_EXEC_ALL_BRANCHES                        0xFF

EVENT_IDQ_UOPS_NOT_DELIVERED                    0x9C   PMC
UMASK_IDQ_UOPS_NOT_DELIVERED_CORE               0x01
DEFAULT_OPTIONS_IDQ_UOPS_NOT_DELIVERED_CYCLES_0_UOPS_DELIV_CORE EVENT_OPTION_THRESHOLD=0x4
UMASK_IDQ_UOPS_NOT_DELIVERED_CYCLES_0_UOPS_DELIV_CORE   0x01
DEFAULT_OPTIONS_IDQ_UOPS_NOT_DELIVERED_CYCLES_LE_1_UOP_DELIV_CORE EVENT_OPTION_THRESHOLD=0x3
UMASK_IDQ_UOPS_NOT_DELIVERED_CYCLES_LE_1_UOP_DELIV_CORE 0x01
DEFAULT_OPTIONS_IDQ_UOPS_NOT_DELIVERED_CYCLES_LE_2_UOP_DELIV_CORE EVENT_OPTION_THRESHOLD=0x2
UMASK_IDQ_UOPS_NOT_DELIVERED_CYCLES_LE_2_UOP_DELIV_CORE 0x01
DEFAULT_OPTIONS_IDQ_UOPS_NOT_DELIVERED_CYCLES_LE_3_UOP_DELIV_CORE EVENT_OPTION_THRESHOLD=0x1
UMASK_IDQ_UOPS_NOT_DELIVERED_CYCLES_LE_3_UOP_DELIV_CORE 0x01
DEFAULT_OPTIONS_IDQ_UOPS_NOT_DELIVERED_CYCLES_FE_WAS_OK EVENT_OPTION_THRESHOLD=0x1,EVENT_OPTION_INVERT=1
UMASK_IDQ_UOPS_NOT_DELIVERED_CYCLES_FE_WAS_OK           0x01

EVENT_UOPS_DISPATCHED_PORT                  0xA1   PMC
UMASK_UOPS_DISPATCHED_PORT_PORT_0           0x01
UMASK_UOPS_DISPATCHED_PORT_PORT_1           0x02
UMASK_UOPS_DISPATCHED_PORT_PORT_2_LD        0x04
UMASK_UOPS_DISPATCHED_PORT_PORT_2_STA       0x08
UMASK_UOPS_DISPATCHED_PORT_PORT_2           0x0C
UMASK_UOPS_DISPATCHED_PORT_PORT_3_LD        0x10
UMASK_UOPS_DISPATCHED_PORT_PORT_3_STA       0x20
UMASK_UOPS_DISPATCHED_PORT_PORT_3           0x30
UMASK_UOPS_DISPATCHED_PORT_PORT_4           0x40
UMASK_UOPS_DISPATCHED_PORT_PORT_5           0x80
DEFAULT_OPTIONS_UOPS_DISPATCHED_PORT_ARITH_PORTS_CORE EVENT_OPTION_ANYTHREAD=1
UMASK_UOPS_DISPATCHED_PORT_ARITH_PORTS_CORE 0x83
UMASK_UOPS_DISPATCHED_PORT_DATA_PORTS       0x7C
UMASK_UOPS_DISPATCHED_PORT_ALL_PORTS        0xFF

EVENT_RESOURCE_STALLS                 0xA2   PMC
UMASK_RESOURCE_STALLS_ANY             0x01
UMASK_RESOURCE_STALLS_LB              0x02
UMASK_RESOURCE_STALLS_RS              0x04
UMASK_RESOURCE_STALLS_SB              0x08
UMASK_RESOURCE_STALLS_ROB             0x10
UMASK_RESOURCE_STALLS_FCSW            0x20
UMASK_RESOURCE_STALLS_MXCSR           0x40
UMASK_RESOURCE_STALLS_OTHER           0x80

EVENT_CYCLE_ACTIVITY                               0xA3   PMC
DEFAULT_OPTIONS_CYCLE_ACTIVITY_CYCLES_L2_PENDING   EVENT_OPTION_THRESHOLD=0x01
UMASK_CYCLE_ACTIVITY_CYCLES_L2_PENDING             0x01
DEFAULT_OPTIONS_CYCLE_ACTIVITY_CYCLES_L2_MISS      EVENT_OPTION_THRESHOLD=0x01
UMASK_CYCLE_ACTIVITY_CYCLES_L2_MISS                0x01
DEFAULT_OPTIONS_CYCLE_ACTIVITY_STALLS_L2_PENDING   EVENT_OPTION_THRESHOLD=0x05
UMASK_CYCLE_ACTIVITY_STALLS_L2_PENDING             0x05
DEFAULT_OPTIONS_CYCLE_ACTIVITY_STALLS_L2_MISS      EVENT_OPTION_THRESHOLD=0x05
UMASK_CYCLE_ACTIVITY_STALLS_L2_MISS                0x05
DEFAULT_OPTIONS_CYCLE_ACTIVITY_CYCLES_NO_DISPATCH  EVENT_OPTION_THRESHOLD=0x04
UMASK_CYCLE_ACTIVITY_CYCLES_NO_DISPATCH            0x04
DEFAULT_OPTIONS_CYCLE_ACTIVITY_CYCLES_NO_EXECUTE   EVENT_OPTION_THRESHOLD=0x04
UMASK_CYCLE_ACTIVITY_CYCLES_NO_EXECUTE             0x04
DEFAULT_OPTIONS_CYCLE_ACTIVITY_STALLS_TOTAL        EVENT_OPTION_THRESHOLD=0x4
UMASK_CYCLE_ACTIVITY_STALLS_TOTAL                  0x04

EVENT_CYCLE_ACTIVITY_CYCLES_L1D_PENDING                  0xA3   PMC2
DEFAULT_OPTIONS_CYCLE_ACTIVITY_CYCLES_L1D_PENDING        EVENT_OPTION_THRESHOLD=0x02
UMASK_CYCLE_ACTIVITY_CYCLES_L1D_PENDING                  0x02

EVENT_CYCLE_ACTIVITY_CYCLES_L1D_MISS                     0xA3   PMC2
DEFAULT_OPTIONS_CYCLE_ACTIVITY_CYCLES_L1D_MISS           EVENT_OPTION_THRESHOLD=0x02
UMASK_CYCLE_ACTIVITY_CYCLES_L1D_MISS                     0x02

EVENT_CYCLE_ACTIVITY_STALLS_L1D_PENDING                  0xA3   PMC2
DEFAULT_OPTIONS_CYCLE_ACTIVITY_STALLS_L1D_PENDING        EVENT_OPTION_THRESHOLD=0x06
UMASK_CYCLE_ACTIVITY_STALLS_L1D_PENDING                  0x06

EVENT_CYCLE_ACTIVITY_STALLS_L1D_MISS                     0xA3   PMC2
DEFAULT_OPTIONS_CYCLE_ACTIVITY_STALLS_L1D_MISS           EVENT_OPTION_THRESHOLD=0x06
UMASK_CYCLE_ACTIVITY_STALLS_L1D_MISS                     0x06

EVENT_DSB2MITE_SWITCHES                  0xAB   PMC
UMASK_DSB2MITE_SWITCHES_COUNT            0x01
UMASK_DSB2MITE_SWITCHES_PENALTY_CYCLES   0x02

EVENT_DSB_FILL                         0xAC   PMC
UMASK_DSB_FILL_OTHER_CANCEL            0x02
UMASK_DSB_FILL_EXCEED_DSB_LINES        0x08
UMASK_DSB_FILL_ALL_CANCEL              0x0A

EVENT_ITLB                         0xAE   PMC
UMASK_ITLB_ITLB_FLUSH              0x01

EVENT_OFFCORE_REQUESTS                  0xB0   PMC
UMASK_OFFCORE_REQUESTS_DEMAND_DATA_RD   0x01
UMASK_OFFCORE_REQUESTS_DEMAND_CODE_RD   0x02
UMASK_OFFCORE_REQUESTS_DEMAND_RFO       0x04
UMASK_OFFCORE_REQUESTS_ALL_DATA_RD      0x08

EVENT_UOPS_EXECUTED                       0xB1   PMC
UMASK_UOPS_EXECUTED_THREAD                0x01
DEFAULT_OPTIONS_UOPS_EXECUTED_USED_CYCLES EVENT_OPTION_THRESHOLD=0x1
UMASK_UOPS_EXECUTED_USED_CYCLES           0x01
DEFAULT_OPTIONS_UOPS_EXECUTED_STALL_CYCLES EVENT_OPTION_THRESHOLD=0x1,EVENT_OPTION_INVERT=1
UMASK_UOPS_EXECUTED_STALL_CYCLES          0x01
DEFAULT_OPTIONS_UOPS_EXECUTED_TOTAL_CYCLES EVENT_OPTION_THRESHOLD=0xA,EVENT_OPTION_INVERT=1
UMASK_UOPS_EXECUTED_TOTAL_CYCLES          0x01
DEFAULT_OPTIONS_UOPS_EXECUTED_CYCLES_GE_1_UOPS_EXEC EVENT_OPTION_THRESHOLD=0x1
UMASK_UOPS_EXECUTED_CYCLES_GE_1_UOPS_EXEC 0x01
DEFAULT_OPTIONS_UOPS_EXECUTED_CYCLES_GE_2_UOPS_EXEC EVENT_OPTION_THRESHOLD=0x2
UMASK_UOPS_EXECUTED_CYCLES_GE_2_UOPS_EXEC 0x01
DEFAULT_OPTIONS_UOPS_EXECUTED_CYCLES_GE_3_UOPS_EXEC EVENT_OPTION_THRESHOLD=0x3
UMASK_UOPS_EXECUTED_CYCLES_GE_3_UOPS_EXEC 0x01
DEFAULT_OPTIONS_UOPS_EXECUTED_CYCLES_GE_4_UOPS_EXEC EVENT_OPTION_THRESHOLD=0x4
UMASK_UOPS_EXECUTED_CYCLES_GE_4_UOPS_EXEC 0x01
DEFAULT_OPTIONS_UOPS_EXECUTED_CYCLES_GE_5_UOPS_EXEC EVENT_OPTION_THRESHOLD=0x5
UMASK_UOPS_EXECUTED_CYCLES_GE_5_UOPS_EXEC 0x01
DEFAULT_OPTIONS_UOPS_EXECUTED_CYCLES_GE_6_UOPS_EXEC EVENT_OPTION_THRESHOLD=0x6
UMASK_UOPS_EXECUTED_CYCLES_GE_6_UOPS_EXEC 0x01
UMASK_UOPS_EXECUTED_CORE                       0x02
DEFAULT_OPTIONS_UOPS_EXECUTED_CORE_USED_CYCLES EVENT_OPTION_THRESHOLD=0x1
UMASK_UOPS_EXECUTED_CORE_USED_CYCLES           0x02
DEFAULT_OPTIONS_UOPS_EXECUTED_CORE_STALL_CYCLES EVENT_OPTION_THRESHOLD=0x1,EVENT_OPTION_INVERT=1
UMASK_UOPS_EXECUTED_CORE_STALL_CYCLES          0x02
DEFAULT_OPTIONS_UOPS_EXECUTED_CORE_TOTAL_CYCLES EVENT_OPTION_THRESHOLD=0xA,EVENT_OPTION_INVERT=1
UMASK_UOPS_EXECUTED_CORE_TOTAL_CYCLES          0x02
DEFAULT_OPTIONS_UOPS_EXECUTED_CORE_CYCLES_GE_1_UOPS_EXEC EVENT_OPTION_THRESHOLD=0x1
UMASK_UOPS_EXECUTED_CORE_CYCLES_GE_1_UOPS_EXEC 0x02
DEFAULT_OPTIONS_UOPS_EXECUTED_CORE_CYCLES_GE_2_UOPS_EXEC EVENT_OPTION_THRESHOLD=0x2
UMASK_UOPS_EXECUTED_CORE_CYCLES_GE_2_UOPS_EXEC 0x02
DEFAULT_OPTIONS_UOPS_EXECUTED_CORE_CYCLES_GE_3_UOPS_EXEC EVENT_OPTION_THRESHOLD=0x3
UMASK_UOPS_EXECUTED_CORE_CYCLES_GE_3_UOPS_EXEC 0x02
DEFAULT_OPTIONS_UOPS_EXECUTED_CORE_CYCLES_GE_4_UOPS_EXEC EVENT_OPTION_THRESHOLD=0x4
UMASK_UOPS_EXECUTED_CORE_CYCLES_GE_4_UOPS_EXEC 0x02
DEFAULT_OPTIONS_UOPS_EXECUTED_CORE_CYCLES_GE_5_UOPS_EXEC EVENT_OPTION_THRESHOLD=0x5
UMASK_UOPS_EXECUTED_CORE_CYCLES_GE_5_UOPS_EXEC 0x02
DEFAULT_OPTIONS_UOPS_EXECUTED_CORE_CYCLES_GE_6_UOPS_EXEC EVENT_OPTION_THRESHOLD=0x6
UMASK_UOPS_EXECUTED_CORE_CYCLES_GE_6_UOPS_EXEC 0x02

EVENT_OFFCORE_REQUESTS_BUFFER             0xB2  PMC
UMASK_OFFCORE_REQUESTS_BUFFER_SQ_FULL     0x01

EVENT_AGU_BYPASS_CANCEL           0xB6  PMC
UMASK_AGU_BYPASS_CANCEL_COUNT     0x01

EVENT_TLB_FLUSH                 0xBD  PMC
UMASK_TLB_FLUSH_DTLB_THREAD     0x01
UMASK_TLB_FLUSH_STLB_ANY        0x20

EVENT_L1D_BLOCKS                         0xBF  PMC
DEFAULT_OPTIONS_L1D_BLOCKS_BANK_CONFLICT_CYCLES EVENT_OPTION_THRESHOLD=0x1
UMASK_L1D_BLOCKS_BANK_CONFLICT_CYCLES    0x05
DEFAULT_OPTIONS_L1D_BLOCKS_BANK_CONFLICT_COUNT EVENT_OPTION_THRESHOLD=0x1,EVENT_OPTION_EDGE=1
UMASK_L1D_BLOCKS_BANK_CONFLICT_COUNT     0x05

EVENT_INST_RETIRED                        0xC0  PMC0
UMASK_INST_RETIRED_ANY_P                  0x00
UMASK_INST_RETIRED_PREC_DIST              0x01

EVENT_OTHER_ASSISTS                       0xC1  PMC
UMASK_OTHER_ASSISTS_ITLB_MISS_RETIRED     0x02
UMASK_OTHER_ASSISTS_AVX_TO_SSE            0x10
UMASK_OTHER_ASSISTS_SSE_TO_AVX            0x20

EVENT_UOPS_RETIRED                       0xC2  PMC
UMASK_UOPS_RETIRED_ALL                   0x01
UMASK_UOPS_RETIRED_RETIRE_SLOTS          0x02
DEFAULT_OPTIONS_UOPS_RETIRED_USED_CYCLES EVENT_OPTION_THRESHOLD=0x1
UMASK_UOPS_RETIRED_USED_CYCLES           0x01
DEFAULT_OPTIONS_UOPS_RETIRED_STALL_CYCLES EVENT_OPTION_THRESHOLD=0x1,EVENT_OPTION_INVERT=1
UMASK_UOPS_RETIRED_STALL_CYCLES          0x01
DEFAULT_OPTIONS_UOPS_RETIRED_TOTAL_CYCLES EVENT_OPTION_THRESHOLD=0xA,EVENT_OPTION_INVERT=1
UMASK_UOPS_RETIRED_TOTAL_CYCLES          0x01
DEFAULT_OPTIONS_UOPS_RETIRED_CORE_ALL EVENT_OPTION_ANYTHREAD=1
UMASK_UOPS_RETIRED_CORE_ALL              0x01
DEFAULT_OPTIONS_UOPS_RETIRED_CORE_RETIRE_SLOTS EVENT_OPTION_ANYTHREAD=1
UMASK_UOPS_RETIRED_CORE_RETIRE_SLOTS     0x02
DEFAULT_OPTIONS_UOPS_RETIRED_CORE_USED_CYCLES EVENT_OPTION_THRESHOLD=0x1,EVENT_OPTION_ANYTHREAD=1
UMASK_UOPS_RETIRED_CORE_USED_CYCLES      0x01
DEFAULT_OPTIONS_UOPS_RETIRED_CORE_STALL_CYCLES EVENT_OPTION_THRESHOLD=0x1,EVENT_OPTION_INVERT=1,EVENT_OPTION_ANYTHREAD=1
UMASK_UOPS_RETIRED_CORE_STALL_CYCLES     0x01
DEFAULT_OPTIONS_UOPS_RETIRED_CORE_TOTAL_CYCLES EVENT_OPTION_THRESHOLD=0xA,EVENT_OPTION_INVERT=1,EVENT_OPTION_ANYTHREAD=1
UMASK_UOPS_RETIRED_CORE_TOTAL_CYCLES     0x01
DEFAULT_OPTIONS_UOPS_RETIRED_CYCLES_GE_1_UOPS_EXEC EVENT_OPTION_THRESHOLD=0x1
UMASK_UOPS_RETIRED_CYCLES_GE_1_UOPS_EXEC 0x01
DEFAULT_OPTIONS_UOPS_RETIRED_CYCLES_GE_2_UOPS_EXEC EVENT_OPTION_THRESHOLD=0x2
UMASK_UOPS_RETIRED_CYCLES_GE_2_UOPS_EXEC 0x01
DEFAULT_OPTIONS_UOPS_RETIRED_CYCLES_GE_3_UOPS_EXEC EVENT_OPTION_THRESHOLD=0x3
UMASK_UOPS_RETIRED_CYCLES_GE_3_UOPS_EXEC 0x01
DEFAULT_OPTIONS_UOPS_RETIRED_CYCLES_GE_4_UOPS_EXEC EVENT_OPTION_THRESHOLD=0x4
UMASK_UOPS_RETIRED_CYCLES_GE_4_UOPS_EXEC 0x01
DEFAULT_OPTIONS_UOPS_RETIRED_CYCLES_GE_5_UOPS_EXEC EVENT_OPTION_THRESHOLD=0x5
UMASK_UOPS_RETIRED_CYCLES_GE_5_UOPS_EXEC 0x01
DEFAULT_OPTIONS_UOPS_RETIRED_CYCLES_GE_6_UOPS_EXEC EVENT_OPTION_THRESHOLD=0x6
UMASK_UOPS_RETIRED_CYCLES_GE_6_UOPS_EXEC 0x01

EVENT_MACHINE_CLEARS                    0xC3  PMC
UMASK_MACHINE_CLEARS_CYCLES             0x01
DEFAULT_OPTIONS_MACHINE_CLEARS_COUNT    EVENT_OPTION_THRESHOLD=0x1,EVENT_OPTION_EDGE=1
UMASK_MACHINE_CLEARS_COUNT              0x01
UMASK_MACHINE_CLEARS_MEMORY_ORDERING    0x02
UMASK_MACHINE_CLEARS_SMC                0x04
UMASK_MACHINE_CLEARS_MASKMOV            0x20

EVENT_BR_INST_RETIRED               0xC4  PMC
UMASK_BR_INST_RETIRED_ALL_BRANCHES  0x00
UMASK_BR_INST_RETIRED_CONDITIONAL   0x01
UMASK_BR_INST_RETIRED_NEAR_CALL     0x02
UMASK_BR_INST_RETIRED_NEAR_RETURN   0x08
UMASK_BR_INST_RETIRED_NOT_TAKEN     0x10
UMASK_BR_INST_RETIRED_NEAR_TAKEN    0x20
UMASK_BR_INST_RETIRED_FAR_BRANCH    0x40

EVENT_BR_MISP_RETIRED               0xC5  PMC
UMASK_BR_MISP_RETIRED_ALL_BRANCHES  0x00
UMASK_BR_MISP_RETIRED_CONDITIONAL   0x01
UMASK_BR_MISP_RETIRED_NEAR_CALL     0x02
UMASK_BR_MISP_RETIRED_NOT_TAKEN     0x10
UMASK_BR_MISP_RETIRED_TAKEN         0x20

EVENT_FP_ASSIST               0xCA  PMC
UMASK_FP_ASSIST_X87_OUTPUT    0x02
UMASK_FP_ASSIST_X87_INPUT     0x04
UMASK_FP_ASSIST_SIMD_OUTPUT   0x08
UMASK_FP_ASSIST_SIMD_INPUT    0x10
UMASK_FP_ASSIST_ANY           0x1E

EVENT_HW_INTERRUPTS_RECEIVED               0xCB  PMC
UMASK_HW_INTERRUPTS_RECEIVED               0x01

EVENT_ROB_MISC_EVENT_LBR_INSERTS               0xCC  PMC
UMASK_ROB_MISC_EVENT_LBR_INSERTS               0x20

EVENT_MEM_UOPS_RETIRED                  0xD0    PMC
UMASK_MEM_UOPS_RETIRED_LOADS            0x81
UMASK_MEM_UOPS_RETIRED_STORES           0x82
UMASK_MEM_UOPS_RETIRED_LOADS_STLB_MISS  0x11
UMASK_MEM_UOPS_RETIRED_STORES_STLB_MISS 0x12
UMASK_MEM_UOPS_RETIRED_LOADS_LOCK       0x21
UMASK_MEM_UOPS_RETIRED_STORES_LOCK      0x22
UMASK_MEM_UOPS_RETIRED_LOADS_SPLIT      0x41
UMASK_MEM_UOPS_RETIRED_STORES_SPLIT     0x42

EVENT_MEM_LOAD_UOPS_RETIRED               0xD1   PMC
UMASK_MEM_LOAD_UOPS_RETIRED_L1_HIT        0x01
UMASK_MEM_LOAD_UOPS_RETIRED_L1_MISS       0x08
UMASK_MEM_LOAD_UOPS_RETIRED_L1_ALL        0x09
UMASK_MEM_LOAD_UOPS_RETIRED_L2_HIT        0x02
UMASK_MEM_LOAD_UOPS_RETIRED_L2_MISS       0x10
UMASK_MEM_LOAD_UOPS_RETIRED_L2_ALL        0x12
UMASK_MEM_LOAD_UOPS_RETIRED_L3_HIT        0x04
UMASK_MEM_LOAD_UOPS_RETIRED_L3_MISS       0x20
UMASK_MEM_LOAD_UOPS_RETIRED_L3_ALL        0x24
UMASK_MEM_LOAD_UOPS_RETIRED_HIT_LFB       0x40
UMASK_MEM_LOAD_UOPS_RETIRED_ALL           0x7F

EVENT_MEM_LOAD_UOPS_LLC_HIT_RETIRED                   0xD2   PMC
UMASK_MEM_LOAD_UOPS_LLC_HIT_RETIRED_XSNP_MISS         0x01
UMASK_MEM_LOAD_UOPS_LLC_HIT_RETIRED_XSNP_HIT          0x02
UMASK_MEM_LOAD_UOPS_LLC_HIT_RETIRED_XSNP_HITM         0x04
UMASK_MEM_LOAD_UOPS_LLC_HIT_RETIRED_XSNP_NONE         0x08

EVENT_MEM_LOAD_UOPS_LLC_MISS_RETIRED                   0xD3   PMC
UMASK_MEM_LOAD_UOPS_LLC_MISS_RETIRED_LOCAL_DRAM        0x01
UMASK_MEM_LOAD_UOPS_LLC_MISS_RETIRED_REMOTE_DRAM       0x0C

EVENT_MEM_LOAD_UOPS_MISC_RETIRED               0xD4   PMC
UMASK_MEM_LOAD_UOPS_MISC_RETIRED_LLC_MISS      0x02

EVENT_L2_TRANS                0xF0  PMC
UMASK_L2_TRANS_DEMAND_DATA_RD 0x01
UMASK_L2_TRANS_RFO            0x02
UMASK_L2_TRANS_CODE_RD        0x04
UMASK_L2_TRANS_ALL_PREF       0x08
UMASK_L2_TRANS_L1D_WB         0x10
UMASK_L2_TRANS_L2_FILL        0x20
UMASK_L2_TRANS_L2_WB          0x40
UMASK_L2_TRANS_ALL_REQUESTS   0x80

EVENT_L2_LINES_IN             0xF1   PMC
UMASK_L2_LINES_IN_I           0x01
UMASK_L2_LINES_IN_S           0x02
UMASK_L2_LINES_IN_E           0x04
UMASK_L2_LINES_IN_ALL         0x07

EVENT_L2_LINES_OUT                  0xF2   PMC
UMASK_L2_LINES_OUT_DEMAND_CLEAN     0x01
UMASK_L2_LINES_OUT_DEMAND_DIRTY     0x02
UMASK_L2_LINES_OUT_PF_CLEAN         0x04
UMASK_L2_LINES_OUT_PF_DIRTY         0x08
UMASK_L2_LINES_OUT_DIRTY_ALL        0x0A
UMASK_L2_LINES_OUT_CLEAN_ALL        0x05
UMASK_L2_LINES_OUT_ALL              0x0F

EVENT_SQ_MISC                         0xF4  PMC
UMASK_SQ_MISC_SPLIT_LOCK              0x10

EVENT_OFFCORE_RESPONSE_0                            0xB7 PMC
OPTIONS_OFFCORE_RESPONSE_0_OPTIONS                  EVENT_OPTION_MATCH0_MASK|EVENT_OPTION_MATCH1_MASK
UMASK_OFFCORE_RESPONSE_0_OPTIONS                    0x01 0xFF 0xFF
OPTIONS_OFFCORE_RESPONSE_0_LOCAL_DRAM               EVENT_OPTION_MATCH0_MASK|EVENT_OPTION_MATCH1_MASK
DEFAULT_OPTIONS_OFFCORE_RESPONSE_0_LOCAL_DRAM       EVENT_OPTION_MATCH0=0x08FFF,EVENT_OPTION_MATCH1=0x78040
UMASK_OFFCORE_RESPONSE_0_LOCAL_DRAM                 0x01 0xFF 0xFF
OPTIONS_OFFCORE_RESPONSE_0_REMOTE_DRAM              EVENT_OPTION_MATCH0_MASK|EVENT_OPTION_MATCH1_MASK
DEFAULT_OPTIONS_OFFCORE_RESPONSE_0_REMOTE_DRAM      EVENT_OPTION_MATCH0=0x08FFF,EVENT_OPTION_MATCH1=0x7FF80
UMASK_OFFCORE_RESPONSE_0_REMOTE_DRAM                0x01 0xFF 0xFF
UMASK_OFFCORE_RESPONSE_0_DMND_DATA_RD_ANY           0x01 0x00 0x10
UMASK_OFFCORE_RESPONSE_0_DMND_RFO_ANY               0x01 0x01 0x10
UMASK_OFFCORE_RESPONSE_0_DMND_CODE_RD_ANY           0x01 0x02 0x10
UMASK_OFFCORE_RESPONSE_0_WB_ANY                     0x01 0x03 0x10
UMASK_OFFCORE_RESPONSE_0_PF_L2_DATA_RD_ANY          0x01 0x04 0x10
UMASK_OFFCORE_RESPONSE_0_PF_L2_RFO_ANY              0x01 0x05 0x10
UMASK_OFFCORE_RESPONSE_0_PF_L2_CODE_RD_ANY          0x01 0x06 0x10
UMASK_OFFCORE_RESPONSE_0_PF_L3_DATA_RD_ANY          0x01 0x07 0x10
UMASK_OFFCORE_RESPONSE_0_PF_L3_RFO_ANY              0x01 0x08 0x10
UMASK_OFFCORE_RESPONSE_0_PF_L3_CODE_RD_ANY          0x01 0x09 0x10
UMASK_OFFCORE_RESPONSE_0_SPLIT_LOCK_UC_LOCK_ANY     0x01 0x0A 0x10
UMASK_OFFCORE_RESPONSE_0_STREAMING_STORES_ANY       0x01 0x0B 0x10
UMASK_OFFCORE_RESPONSE_0_OTHER_ANY                  0x01 0x0F 0x10

EVENT_OFFCORE_RESPONSE_1                            0xBB PMC
OPTIONS_OFFCORE_RESPONSE_1_OPTIONS                  EVENT_OPTION_MATCH0_MASK|EVENT_OPTION_MATCH1_MASK
UMASK_OFFCORE_RESPONSE_1_OPTIONS                    0x01 0xFF 0xFF
OPTIONS_OFFCORE_RESPONSE_1_LOCAL_DRAM               EVENT_OPTION_MATCH0_MASK|EVENT_OPTION_MATCH1_MASK
DEFAULT_OPTIONS_OFFCORE_RESPONSE_1_LOCAL_DRAM       EVENT_OPTION_MATCH0=0x08FFF,EVENT_OPTION_MATCH1=0x78040
UMASK_OFFCORE_RESPONSE_1_LOCAL_DRAM                 0x01 0xFF 0xFF
OPTIONS_OFFCORE_RESPONSE_1_REMOTE_DRAM              EVENT_OPTION_MATCH0_MASK|EVENT_OPTION_MATCH1_MASK
DEFAULT_OPTIONS_OFFCORE_RESPONSE_1_REMOTE_DRAM      EVENT_OPTION_MATCH0=0x08FFF,EVENT_OPTION_MATCH1=0x7FF80
UMASK_OFFCORE_RESPONSE_1_REMOTE_DRAM                0x01 0xFF 0xFF
UMASK_OFFCORE_RESPONSE_1_DMND_DATA_RD_ANY           0x01 0x00 0x10
UMASK_OFFCORE_RESPONSE_1_DMND_RFO_ANY               0x01 0x01 0x10
UMASK_OFFCORE_RESPONSE_1_DMND_CODE_RD_ANY           0x01 0x02 0x10
UMASK_OFFCORE_RESPONSE_1_WB_ANY                     0x01 0x03 0x10
UMASK_OFFCORE_RESPONSE_1_PF_L2_DATA_RD_ANY          0x01 0x04 0x10
UMASK_OFFCORE_RESPONSE_1_PF_L2_RFO_ANY              0x01 0x05 0x10
UMASK_OFFCORE_RESPONSE_1_PF_L2_CODE_RD_ANY          0x01 0x06 0x10
UMASK_OFFCORE_RESPONSE_1_PF_L3_DATA_RD_ANY          0x01 0x07 0x10
UMASK_OFFCORE_RESPONSE_1_PF_L3_RFO_ANY              0x01 0x08 0x10
UMASK_OFFCORE_RESPONSE_1_PF_L3_CODE_RD_ANY          0x01 0x09 0x10
UMASK_OFFCORE_RESPONSE_1_SPLIT_LOCK_UC_LOCK_ANY     0x01 0x0A 0x10
UMASK_OFFCORE_RESPONSE_1_STREAMING_STORES_ANY       0x01 0x0B 0x10
UMASK_OFFCORE_RESPONSE_1_OTHER_ANY                  0x01 0x0F 0x10

EVENT_CBOX_CLOCKTICKS                         0x00  CBOX
UMASK_CBOX_CLOCKTICKS                         0x00

EVENT_COUNTER0_OCCUPANCY              0x1F  CBOX0C1|CBOX0C2|CBOX0C3|CBOX1C1|CBOX1C2|CBOX1C3|CBOX2C1|CBOX2C2|CBOX2C3|CBOX3C1|CBOX03C2|CBOX3C3|CBOX4C1|CBOX4C2|CBOX4C3|CBOX5C1|CBOX5C2|CBOX5C3|CBOX6C1|CBOX6C2|CBOX6C3|CBOX7C1|CBOX7C2|CBOX7C3
UMASK_COUNTER0_OCCUPANCY              0x00

EVENT_ISMQ_DRD_MISS_OCC              0x21  CBOX0C0|CBOX1C0|CBOX2C0|CBOX3C0|CBOX4C0|CBOX5C0|CBOX6C0|CBOX7C0|CBOX0C1|CBOX1C1|CBOX2C1|CBOX3C1|CBOX4C1|CBOX5C1|CBOX6C1|CBOX7C1
UMASK_ISMQ_DRD_MISS_OCC              0x00

EVENT_LLC_LOOKUP              0x34  CBOX0C0|CBOX1C0|CBOX2C0|CBOX3C0|CBOX4C0|CBOX5C0|CBOX6C0|CBOX7C0|CBOX0C1|CBOX1C1|CBOX2C1|CBOX3C1|CBOX4C1|CBOX5C1|CBOX6C1|CBOX7C1
DEFAULT_OPTIONS_LLC_LOOKUP_ANY       EVENT_OPTION_STATE=0x1
UMASK_LLC_LOOKUP_ANY                0x11
DEFAULT_OPTIONS_LLC_LOOKUP_DATA_READ EVENT_OPTION_STATE=0x1
UMASK_LLC_LOOKUP_DATA_READ          0x03
DEFAULT_OPTIONS_LLC_LOOKUP_WRITE    EVENT_OPTION_STATE=0x1
UMASK_LLC_LOOKUP_WRITE              0x05
DEFAULT_OPTIONS_LLC_LOOKUP_DATA_READ_AND_ALL EVENT_OPTION_STATE=0x1
UMASK_LLC_LOOKUP_DATA_READ_AND_ALL 0x7
DEFAULT_OPTIONS_LLC_LOOKUP_REMOTE_SNOOP EVENT_OPTION_STATE=0x1
UMASK_LLC_LOOKUP_REMOTE_SNOOP       0x09
DEFAULT_OPTIONS_LLC_LOOKUP_NID      EVENT_OPTION_STATE=0x1
UMASK_LLC_LOOKUP_NID                0x41

EVENT_LLC_VICTIMS              0x37  CBOX0C0|CBOX1C0|CBOX2C0|CBOX3C0|CBOX4C0|CBOX5C0|CBOX6C0|CBOX7C0|CBOX0C1|CBOX1C1|CBOX2C1|CBOX3C1|CBOX4C1|CBOX5C1|CBOX6C1|CBOX7C1
UMASK_LLC_VICTIMS_M_STATE      0x01
UMASK_LLC_VICTIMS_E_STATE      0x02
UMASK_LLC_VICTIMS_S_STATE      0x04
UMASK_LLC_VICTIMS_MISS         0x08
UMASK_LLC_VICTIMS_ALL_STATES   0x0F
OPTIONS_LLC_VICTIMS_NID        EVENT_OPTION_NID_MASK
UMASK_LLC_VICTIMS_NID          0x40
OPTIONS_LLC_VICTIMS_NID_MISSES EVENT_OPTION_NID_MASK
UMASK_LLC_VICTIMS_NID_MISSES   0x41

EVENT_CBOX_MISC              0x39  CBOX0C0|CBOX1C0|CBOX2C0|CBOX3C0|CBOX4C0|CBOX5C0|CBOX6C0|CBOX7C0|CBOX0C1|CBOX1C1|CBOX2C1|CBOX3C1|CBOX4C1|CBOX5C1|CBOX6C1|CBOX7C1
UMASK_CBOX_MISC_RSPI_WAS_FSE      0x01
UMASK_CBOX_MISC_WC_ALIASING       0x02
UMASK_CBOX_MISC_STARTED           0x04
UMASK_CBOX_MISC_RFO_HIT_S         0x08

EVENT_RING_AD_USED              0x1B  CBOX0C2|CBOX1C2|CBOX2C2|CBOX3C2|CBOX4C2|CBOX5C2|CBOX6C2|CBOX7C2|CBOX0C3|CBOX1C3|CBOX2C3|CBOX3C3|CBOX4C3|CBOX5C3|CBOX6C3|CBOX7C3
UMASK_RING_AD_USED_UP_EVEN      0x01
UMASK_RING_AD_USED_UP_ODD       0x02
UMASK_RING_AD_USED_DOWN_EVEN    0x04
UMASK_RING_AD_USED_DOWN_ODD     0x08

EVENT_RING_AK_USED              0x1C  CBOX0C2|CBOX1C2|CBOX2C2|CBOX3C2|CBOX4C2|CBOX5C2|CBOX6C2|CBOX7C2|CBOX0C3|CBOX1C3|CBOX2C3|CBOX3C3|CBOX4C3|CBOX5C3|CBOX6C3|CBOX7C3
UMASK_RING_AK_USED_UP_EVEN      0x01
UMASK_RING_AK_USED_UP_ODD       0x02
UMASK_RING_AK_USED_DOWN_EVEN    0x04
UMASK_RING_AK_USED_DOWN_ODD     0x08

EVENT_RING_BL_USED              0x1D  CBOX0C2|CBOX1C2|CBOX2C2|CBOX3C2|CBOX4C2|CBOX5C2|CBOX6C2|CBOX7C2|CBOX0C3|CBOX1C3|CBOX2C3|CBOX3C3|CBOX4C3|CBOX5C3|CBOX6C3|CBOX7C3
UMASK_RING_BL_USED_UP_EVEN      0x01
UMASK_RING_BL_USED_UP_ODD       0x02
UMASK_RING_BL_USED_DOWN_EVEN    0x04
UMASK_RING_BL_USED_DOWN_ODD     0x08

EVENT_RING_BOUNCES              0x05  CBOX0C0|CBOX1C0|CBOX2C0|CBOX3C0|CBOX4C0|CBOX5C0|CBOX6C0|CBOX7C0|CBOX0C1|CBOX1C1|CBOX2C1|CBOX3C1|CBOX4C1|CBOX5C1|CBOX6C1|CBOX7C1
UMASK_RING_BOUNCES_AK_CORE      0x02
UMASK_RING_BOUNCES_BL_CORE      0x04
UMASK_RING_BOUNCES_IV_CORE      0x08

EVENT_RING_IV_USED              0x1E  CBOX0C2|CBOX1C2|CBOX2C2|CBOX3C2|CBOX4C2|CBOX5C2|CBOX6C2|CBOX7C2|CBOX0C3|CBOX1C3|CBOX2C3|CBOX3C3|CBOX4C3|CBOX5C3|CBOX6C3|CBOX7C3
UMASK_RING_IV_USED_ANY          0x0F

EVENT_RING_SRC_THRTL            0x05  CBOX0C0|CBOX1C0|CBOX2C0|CBOX3C0|CBOX4C0|CBOX5C0|CBOX6C0|CBOX7C0|CBOX0C1|CBOX1C1|CBOX2C1|CBOX3C1|CBOX4C1|CBOX5C1|CBOX6C1|CBOX7C1
UMASK_RING_SRC_THRTL            0x07

EVENT_RXR_EXT_STARVED               0x12  CBOX0C0|CBOX1C0|CBOX2C0|CBOX3C0|CBOX4C0|CBOX5C0|CBOX6C0|CBOX7C0|CBOX0C1|CBOX1C1|CBOX2C1|CBOX3C1|CBOX4C1|CBOX5C1|CBOX6C1|CBOX7C1
UMASK_RXR_EXT_STARVED_IRQ           0x01
UMASK_RXR_EXT_STARVED_IPQ           0x02
UMASK_RXR_EXT_STARVED_ISMQ          0x04
UMASK_RXR_EXT_STARVED_ISMQ_BIDS     0x08

EVENT_RXR_INSERTS                0x13  CBOX0C0|CBOX1C0|CBOX2C0|CBOX3C0|CBOX4C0|CBOX5C0|CBOX6C0|CBOX7C0|CBOX0C1|CBOX1C1|CBOX2C1|CBOX3C1|CBOX4C1|CBOX5C1|CBOX6C1|CBOX7C1
UMASK_RXR_INSERTS_IRQ            0x01
UMASK_RXR_INSERTS_IRQ_REJECTED   0x02
UMASK_RXR_INSERTS_IPQ            0x04
UMASK_RXR_INSERTS_VFIFO          0x10

EVENT_RXR_IPQ_RETRY                0x31  CBOX0C0|CBOX1C0|CBOX2C0|CBOX3C0|CBOX4C0|CBOX5C0|CBOX6C0|CBOX7C0|CBOX0C1|CBOX1C1|CBOX2C1|CBOX3C1|CBOX4C1|CBOX5C1|CBOX6C1|CBOX7C1
UMASK_RXR_IPQ_RETRY_ANY            0x01
UMASK_RXR_IPQ_RETRY_FULL           0x02
UMASK_RXR_IPQ_RETRY_ADDR_CONFLICT  0x04
UMASK_RXR_IPQ_RETRY_QPI_CREDITS    0x10

EVENT_RXR_IRQ_RETRY                0x32  CBOX0C0|CBOX1C0|CBOX2C0|CBOX3C0|CBOX4C0|CBOX5C0|CBOX6C0|CBOX7C0|CBOX0C1|CBOX1C1|CBOX2C1|CBOX3C1|CBOX4C1|CBOX5C1|CBOX6C1|CBOX7C1
UMASK_RXR_IRQ_RETRY_ANY            0x01
UMASK_RXR_IRQ_RETRY_FULL           0x02
UMASK_RXR_IRQ_RETRY_ADDR_CONFLICT  0x04
UMASK_RXR_IRQ_RETRY_RTID           0x08
UMASK_RXR_IRQ_RETRY_QPI_CREDITS    0x10

EVENT_RXR_ISMQ_RETRY                0x33  CBOX0C0|CBOX1C0|CBOX2C0|CBOX3C0|CBOX4C0|CBOX5C0|CBOX6C0|CBOX7C0|CBOX0C1|CBOX1C1|CBOX2C1|CBOX3C1|CBOX4C1|CBOX5C1|CBOX6C1|CBOX7C1
UMASK_RXR_ISMQ_RETRY_ANY            0x01
UMASK_RXR_ISMQ_RETRY_FULL           0x02
UMASK_RXR_ISMQ_RETRY_ADDR_CONFLICT  0x04
UMASK_RXR_ISMQ_RETRY_RTID           0x08
UMASK_RXR_ISMQ_RETRY_QPI_CREDITS    0x10

EVENT_RXR_OCCUPANCY                0x11  CBOX0C0|CBOX1C0|CBOX2C0|CBOX3C0|CBOX4C0|CBOX5C0|CBOX6C0|CBOX7C0
UMASK_RXR_OCCUPANCY_IRQ            0x01
UMASK_RXR_OCCUPANCY_IRQ_REJECTED   0x02
UMASK_RXR_OCCUPANCY_IPQ            0x04
UMASK_RXR_OCCUPANCY_VIFO           0x10

EVENT_TOR_INSERTS                    0x35  CBOX0C0|CBOX1C0|CBOX2C0|CBOX3C0|CBOX4C0|CBOX5C0|CBOX6C0|CBOX7C0|CBOX0C1|CBOX1C1|CBOX2C1|CBOX3C1|CBOX4C1|CBOX5C1|CBOX6C1|CBOX7C1
OPTIONS_TOR_INSERTS_OPCODE           EVENT_OPTION_OPCODE_MASK
UMASK_TOR_INSERTS_OPCODE             0x01
UMASK_TOR_INSERTS_EVICTION           0x04
UMASK_TOR_INSERTS_WB                 0x10
OPTIONS_TOR_INSERTS_MISS_OPCODE      EVENT_OPTION_OPCODE_MASK
UMASK_TOR_INSERTS_MISS_OPCODE        0x03
UMASK_TOR_INSERTS_MISS_ALL           0x0A
OPTIONS_TOR_INSERTS_NID_OPCODE       EVENT_OPTION_NID_MASK|EVENT_OPTION_OPCODE_MASK
UMASK_TOR_INSERTS_NID_OPCODE         0x41
OPTIONS_TOR_INSERTS_NID_EVICION      EVENT_OPTION_NID_MASK
UMASK_TOR_INSERTS_NID_EVICTION       0x44
OPTIONS_TOR_INSERTS_NID_ALL          EVENT_OPTION_NID_MASK
UMASK_TOR_INSERTS_NID_ALL            0x48
OPTIONS_TOR_INSERTS_NID_WB           EVENT_OPTION_NID_MASK
UMASK_TOR_INSERTS_NID_WB             0x50
OPTIONS_TOR_INSERTS_NID_MISS_OPCODE  EVENT_OPTION_NID_MASK|EVENT_OPTION_OPCODE_MASK
UMASK_TOR_INSERTS_NID_MISS_OPCODE    0x43
OPTIONS_TOR_INSERTS_NID_ALL          EVENT_OPTION_NID_MASK
UMASK_TOR_INSERTS_NID_MISS_ALL       0x4A

EVENT_TOR_OCCUPANCY                    0x36  CBOX0C0|CBOX1C0|CBOX2C0|CBOX3C0|CBOX4C0|CBOX5C0|CBOX6C0|CBOX7C0
OPTIONS_TOR_OCCUPANCY_OPCODE           EVENT_OPTION_OPCODE_MASK
UMASK_TOR_OCCUPANCY_OPCODE             0x01
UMASK_TOR_OCCUPANCY_EVICTION           0x04
UMASK_TOR_OCCUPANCY_ALL                0x08
OPTIONS_TOR_OCCUPANCY_MISS_OPCODE      EVENT_OPTION_OPCODE_MASK
UMASK_TOR_OCCUPANCY_MISS_OPCODE        0x03
UMASK_TOR_OCCUPANCY_MISS_ALL           0x0A
OPTIONS_TOR_OCCUPANCY_NID_OPCODE       EVENT_OPTION_NID_MASK|EVENT_OPTION_OPCODE_MASK
UMASK_TOR_OCCUPANCY_NID_OPCODE         0x41
OPTIONS_TOR_OCCUPANCY_NID_EVICTION     EVENT_OPTION_NID_MASK
UMASK_TOR_OCCUPANCY_NID_EVICTION       0x44
OPTIONS_TOR_OCCUPANCY_NID_ALL          EVENT_OPTION_NID_MASK
UMASK_TOR_OCCUPANCY_NID_ALL            0x48
OPTIONS_TOR_OCCUPANCY_NID_MISS_OPCODE  EVENT_OPTION_NID_MASK|EVENT_OPTION_OPCODE_MASK
UMASK_TOR_OCCUPANCY_NID_MISS_OPCODE    0x43
OPTIONS_TOR_OCCUPANCY_NID_MISS_ALL     EVENT_OPTION_NID_MASK
UMASK_TOR_OCCUPANCY_NID_MISS_ALL       0x4A

EVENT_TXT_ADS_USED                0x04  CBOX0C0|CBOX1C0|CBOX2C0|CBOX3C0|CBOX4C0|CBOX5C0|CBOX6C0|CBOX7C0|CBOX0C1|CBOX1C1|CBOX2C1|CBOX3C1|CBOX4C1|CBOX5C1|CBOX6C1|CBOX7C1
UMASK_TXT_ADS_USED            0x00

EVENT_TXT_INSERTS                0x02  CBOX0C0|CBOX1C0|CBOX2C0|CBOX3C0|CBOX4C0|CBOX5C0|CBOX6C0|CBOX7C0|CBOX0C1|CBOX1C1|CBOX2C1|CBOX3C1|CBOX4C1|CBOX5C1|CBOX6C1|CBOX7C1
UMASK_TXT_INSERTS_AD_CACHE            0x01
UMASK_TXT_INSERTS_AK_CACHE            0x02
UMASK_TXT_INSERTS_BL_CACHE            0x04
UMASK_TXT_INSERTS_IV_CACHE            0x08
UMASK_TXT_INSERTS_AD_CORE             0x10
UMASK_TXT_INSERTS_AK_CORE             0x20
UMASK_TXT_INSERTS_BL_CORE             0x40

EVENT_BBOX_CLOCKTICKS                0x00  BBOX
UMASK_BBOX_CLOCKTICKS                0x00

EVENT_CONFLICT_CYCLES                0x0B  BBOX
UMASK_CONFLICT_CYCLES_NO_CONFLICT    0x01
UMASK_CONFLICT_CYCLES_CONFLICT       0x02

EVENT_DIRECT2CORE_COUNT                0x11  BBOX
UMASK_DIRECT2CORE_COUNT                0x00

EVENT_DIRECT2CORE_CYCLES_DISABLED      0x12  BBOX
UMASK_DIRECT2CORE_CYCLES_DISABLED      0x00

EVENT_DIRECT2CORE_TXN_OVERRIDE         0x13  BBOX
UMASK_DIRECT2CORE_TXN_OVERRIDE         0x00

EVENT_DIRECTORY_LOOKUP             0x0C  BBOX
UMASK_DIRECTORY_LOOKUP_SNP         0x01
UMASK_DIRECTORY_LOOKUP_NO_SNP      0x02

EVENT_DIRECTORY_UPDATE             0x0D  BBOX
UMASK_DIRECTORY_UPDATE_SET         0x01
UMASK_DIRECTORY_UPDATE_CLEAR       0x02
UMASK_DIRECTORY_UPDATE_ANY         0x03

EVENT_IGR_NO_CREDIT_CYCLES             0x22  BBOX
UMASK_IGR_NO_CREDIT_CYCLES_AD_QPI0     0x01
UMASK_IGR_NO_CREDIT_CYCLES_AD_QPI1     0x02
UMASK_IGR_NO_CREDIT_CYCLES_BL_QPI0     0x04
UMASK_IGR_NO_CREDIT_CYCLES_BL_QPI1     0x08

EVENT_IMC_RETRY     0x1E  BBOX
UMASK_IMC_RETRY     0x00

EVENT_IMC_WRITES                   0x1A  BBOX
UMASK_IMC_WRITES_FULL              0x01
UMASK_IMC_WRITES_PARTIAL           0x02
UMASK_IMC_WRITES_FULL_ISOCH        0x04
UMASK_IMC_WRITES_PARTIAL_ISOCH     0x08
UMASK_IMC_WRITES_ALL               0x0F

EVENT_REQUESTS                   0x01  BBOX
UMASK_REQUESTS_READS             0x03
UMASK_REQUESTS_WRITES            0x0C

EVENT_RPQ_CYCLES_NO_REG_CREDITS           0x15  BBOX
UMASK_RPQ_CYCLES_NO_REG_CREDITS_CHN0      0x01
UMASK_RPQ_CYCLES_NO_REG_CREDITS_CHN1      0x02
UMASK_RPQ_CYCLES_NO_REG_CREDITS_CHN2      0x04
UMASK_RPQ_CYCLES_NO_REG_CREDITS_CHN3      0x08
UMASK_RPQ_CYCLES_NO_REG_CREDITS_ALL       0x0F

EVENT_TAD_REQUESTS_G0               0x1B  BBOX
UMASK_TAD_REQUESTS_G0_REGION_0      0x01
UMASK_TAD_REQUESTS_G0_REGION_1      0x02
UMASK_TAD_REQUESTS_G0_REGION_2      0x04
UMASK_TAD_REQUESTS_G0_REGION_3      0x08
UMASK_TAD_REQUESTS_G0_REGION_4      0x10
UMASK_TAD_REQUESTS_G0_REGION_5      0x20
UMASK_TAD_REQUESTS_G0_REGION_6      0x40
UMASK_TAD_REQUESTS_G0_REGION_7      0x80

EVENT_TAD_REQUESTS_G1               0x1C  BBOX
UMASK_TAD_REQUESTS_G1_REGION_8      0x01
UMASK_TAD_REQUESTS_G1_REGION_9      0x02
UMASK_TAD_REQUESTS_G1_REGION_10      0x04
UMASK_TAD_REQUESTS_G1_REGION_11      0x08

EVENT_TRACKER_INSERTS                   0x06  BBOX
UMASK_TRACKER_INSERTS_ALL             0x03

EVENT_TXR_AD                   0x0F  BBOX
UMASK_TXR_AD_NDR             0x01
UMASK_TXR_AD_SNP             0x02

EVENT_TXR_AD_CYCLES_FULL                  0x2A  BBOX
UMASK_TXR_AD_CYCLES_FULL_SCHED0           0x01
UMASK_TXR_AD_CYCLES_FULL_SCHED1           0x02
UMASK_TXR_AD_CYCLES_FULL_ALL              0x03

EVENT_TXR_AK_CYCLES_FULL                  0x32  BBOX
UMASK_TXR_AK_CYCLES_FULL_SCHED0           0x01
UMASK_TXR_AK_CYCLES_FULL_SCHED1           0x02
UMASK_TXR_AK_CYCLES_FULL_ALL              0x03

EVENT_TXR_AK_NDR              0x0E  BBOX
UMASK_TXR_AK_NDR              0x00

EVENT_TXR_BL              0x10  BBOX
UMASK_TXR_BL_DRS_CACHE    0x01
UMASK_TXR_BL_DRS_CORE     0x02
UMASK_TXR_BL_DRS_QPI      0x04

EVENT_TXR_BL_CYCLES_FULL                  0x36  BBOX
UMASK_TXR_BL_CYCLES_FULL_SCHED0           0x01
UMASK_TXR_BL_CYCLES_FULL_SCHED1           0x02
UMASK_TXR_BL_CYCLES_FULL_ALL              0x03

EVENT_WPQ_CYCLES_NO_REG_CREDITS                0x18  BBOX
UMASK_WPQ_CYCLES_NO_REG_CREDITS_CHN0           0x01
UMASK_WPQ_CYCLES_NO_REG_CREDITS_CHN1           0x02
UMASK_WPQ_CYCLES_NO_REG_CREDITS_CHN2           0x04
UMASK_WPQ_CYCLES_NO_REG_CREDITS_CHN3           0x08

EVENT_DRAM_CLOCKTICKS             0x00  MBOX0FIX|MBOX1FIX|MBOX2FIX|MBOX3FIX
UMASK_DRAM_CLOCKTICKS             0x00

EVENT_ACT_COUNT                  0x01  MBOX
UMASK_ACT_COUNT                  0x00

EVENT_CAS_COUNT                  0x04  MBOX
UMASK_CAS_COUNT_RD_REG           0x01
UMASK_CAS_COUNT_RD_UNDERFILL     0x02
UMASK_CAS_COUNT_RD               0x03
UMASK_CAS_COUNT_WR_WMM           0x04
UMASK_CAS_COUNT_WR_RMM           0x08
UMASK_CAS_COUNT_WR               0x0C
UMASK_CAS_COUNT_ALL              0x0F

EVENT_DRAM_PRE_ALL                  0x06  MBOX
UMASK_DRAM_PRE_ALL                  0x00

EVENT_DRAM_REFRESH                  0x05  MBOX
UMASK_DRAM_REFRESH_PANIC            0x02
UMASK_DRAM_REFRESH_HIGH             0x04

EVENT_ECC_CORRECTABLE_ERRORS           0x09  MBOX
UMASK_ECC_CORRECTABLE_ERRORS           0x00

EVENT_MAJOR_MODES                  0x07  MBOX
UMASK_MAJOR_MODES_READ             0x01
UMASK_MAJOR_MODES_WRITE            0x02
UMASK_MAJOR_MODES_PARTIAL          0x04
UMASK_MAJOR_MODES_ISOCH            0x08

EVENT_POWER_CHANNEL_DLLOFF           0x84  MBOX
UMASK_POWER_CHANNEL_DLLOFF           0x00

EVENT_POWER_CHANNEL_PPD           0x85  MBOX
UMASK_POWER_CHANNEL_PPD           0x00

EVENT_POWER_CKE_CYCLES                  0x83  MBOX
UMASK_POWER_CKE_CYCLES_RANK0            0x01
UMASK_POWER_CKE_CYCLES_RANK1            0x02
UMASK_POWER_CKE_CYCLES_RANK2            0x04
UMASK_POWER_CKE_CYCLES_RANK3            0x08
UMASK_POWER_CKE_CYCLES_RANK4            0x10
UMASK_POWER_CKE_CYCLES_RANK5            0x20
UMASK_POWER_CKE_CYCLES_RANK6            0x40
UMASK_POWER_CKE_CYCLES_RANK7            0x80

EVENT_POWER_CRITICAL_THROTTLE_CYCLES           0x86  MBOX
UMASK_POWER_CRITICAL_THROTTLE_CYCLES           0x00

EVENT_POWER_SELF_REFRESH           0x43  MBOX
UMASK_POWER_SELF_REFRESH           0x00

EVENT_POWER_THROTTLE_CYCLES                  0x41  MBOX
UMASK_POWER_THROTTLE_CYCLES_RANK0            0x01
UMASK_POWER_THROTTLE_CYCLES_RANK1            0x02
UMASK_POWER_THROTTLE_CYCLES_RANK2            0x04
UMASK_POWER_THROTTLE_CYCLES_RANK3            0x08
UMASK_POWER_THROTTLE_CYCLES_RANK4            0x10
UMASK_POWER_THROTTLE_CYCLES_RANK5            0x20
UMASK_POWER_THROTTLE_CYCLES_RANK6            0x40
UMASK_POWER_THROTTLE_CYCLES_RANK7            0x80

EVENT_PREEMPTION           0x08  MBOX
UMASK_PREEMPTION_RD_PREEMPT_RD           0x01
UMASK_PREEMPTION_RD_PREEMPT_WR           0x02

EVENT_PRE_COUNT           0x02  MBOX
UMASK_PRE_COUNT_PAGE_MISS           0x01
UMASK_PRE_COUNT_PAGE_CLOSE           0x02

EVENT_RPQ_CYCLES_FULL           0x12  MBOX
UMASK_RPQ_CYCLES_FULL           0x00

EVENT_RPQ_CYCLES_NE           0x11  MBOX
UMASK_RPQ_CYCLES_NE           0x00

EVENT_RPQ_INSERTS           0x10  MBOX
UMASK_RPQ_INSERTS           0x00

EVENT_RPQ_OCCUPANCY           0x80  MBOX
UMASK_RPQ_OCCUPANCY           0x00

EVENT_WPQ_CYCLES_FULL           0x22  MBOX
UMASK_WPQ_CYCLES_FULL           0x00

EVENT_WPQ_CYCLES_NE           0x21  MBOX
UMASK_WPQ_CYCLES_NE           0x00

EVENT_WPQ_INSERTS           0x20  MBOX
UMASK_WPQ_INSERTS           0x00

EVENT_WPQ_OCCUPANCY           0x81  MBOX
UMASK_WPQ_OCCUPANCY           0x00

EVENT_WPQ_READ_HIT           0x23  MBOX
UMASK_WPQ_READ_HIT           0x00

EVENT_WPQ_WRITE_HIT           0x24  MBOX
UMASK_WPQ_WRITE_HIT           0x00

EVENT_WBOX_CLOCKTICKS           0x00  WBOX
UMASK_WBOX_CLOCKTICKS           0x00

EVENT_CORE0_TRANSITION_CYCLES           0x03  WBOX
UMASK_CORE0_TRANSITION_CYCLES           0x00

EVENT_CORE1_TRANSITION_CYCLES           0x04  WBOX
UMASK_CORE1_TRANSITION_CYCLES           0x00

EVENT_CORE2_TRANSITION_CYCLES           0x05  WBOX
UMASK_CORE2_TRANSITION_CYCLES           0x00

EVENT_CORE3_TRANSITION_CYCLES           0x06  WBOX
UMASK_CORE3_TRANSITION_CYCLES           0x00

EVENT_CORE4_TRANSITION_CYCLES           0x07  WBOX
UMASK_CORE4_TRANSITION_CYCLES           0x00

EVENT_CORE5_TRANSITION_CYCLES           0x08  WBOX
UMASK_CORE5_TRANSITION_CYCLES           0x00

EVENT_CORE6_TRANSITION_CYCLES           0x09  WBOX
UMASK_CORE6_TRANSITION_CYCLES           0x00

EVENT_CORE7_TRANSITION_CYCLES           0x0A  WBOX
UMASK_CORE7_TRANSITION_CYCLES           0x00

EVENT_DEMOTIONS_CORE0           0x1E  WBOX
OPTIONS_DEMOTIONS_CORE0         EVENT_OPTION_OCCUPANCY_FILTER_MASK
UMASK_DEMOTIONS_CORE0           0x00

EVENT_DEMOTIONS_CORE1           0x1F  WBOX
OPTIONS_DEMOTIONS_CORE1         EVENT_OPTION_OCCUPANCY_FILTER_MASK
UMASK_DEMOTIONS_CORE1           0x00

EVENT_DEMOTIONS_CORE2           0x20  WBOX
OPTIONS_DEMOTIONS_CORE2         EVENT_OPTION_OCCUPANCY_FILTER_MASK
UMASK_DEMOTIONS_CORE2           0x00

EVENT_DEMOTIONS_CORE3           0x21  WBOX
OPTIONS_DEMOTIONS_CORE3         EVENT_OPTION_OCCUPANCY_FILTER_MASK
UMASK_DEMOTIONS_CORE3           0x00

EVENT_DEMOTIONS_CORE4           0x22  WBOX
OPTIONS_DEMOTIONS_CORE4         EVENT_OPTION_OCCUPANCY_FILTER_MASK
UMASK_DEMOTIONS_CORE4           0x00

EVENT_DEMOTIONS_CORE5           0x23  WBOX
OPTIONS_DEMOTIONS_CORE5         EVENT_OPTION_OCCUPANCY_FILTER_MASK
UMASK_DEMOTIONS_CORE5           0x00

EVENT_DEMOTIONS_CORE6           0x24  WBOX
OPTIONS_DEMOTIONS_CORE6         EVENT_OPTION_OCCUPANCY_FILTER_MASK
UMASK_DEMOTIONS_CORE6           0x00

EVENT_DEMOTIONS_CORE7           0x25  WBOX
OPTIONS_DEMOTIONS_CORE7         EVENT_OPTION_OCCUPANCY_FILTER_MASK
UMASK_DEMOTIONS_CORE7           0x00

EVENT_FREQ_BAND0_CYCLES           0x0B  WBOX
OPTIONS_FREQ_BAND0_CYCLES         EVENT_OPTION_OCCUPANCY_FILTER_MASK
UMASK_FREQ_BAND0_CYCLES           0x00

EVENT_FREQ_BAND1_CYCLES           0x0C  WBOX
OPTIONS_FREQ_BAND1_CYCLES         EVENT_OPTION_OCCUPANCY_FILTER_MASK
UMASK_FREQ_BAND1_CYCLES           0x00

EVENT_FREQ_BAND2_CYCLES           0x0D  WBOX
OPTIONS_FREQ_BAND2_CYCLES         EVENT_OPTION_OCCUPANCY_FILTER_MASK
UMASK_FREQ_BAND2_CYCLES           0x00

EVENT_FREQ_BAND3_CYCLES           0x0E  WBOX
OPTIONS_FREQ_BAND3_CYCLES         EVENT_OPTION_OCCUPANCY_FILTER_MASK
UMASK_FREQ_BAND3_CYCLES           0x00

EVENT_FREQ_MAX_CURRENT_CYCLES           0x07  WBOX
UMASK_FREQ_MAX_CURRENT_CYCLES           0x00

EVENT_FREQ_MAX_LIMIT_THERMAL_CYCLES           0x04  WBOX
UMASK_FREQ_MAX_LIMIT_THERMAL_CYCLES           0x00

EVENT_FREQ_MAX_POWER_CYCLES           0x05  WBOX
UMASK_FREQ_MAX_POWER_CYCLES           0x00

EVENT_FREQ_MAX_OS_CYCLES           0x06  WBOX
UMASK_FREQ_MAX_OS_CYCLES           0x00

EVENT_FREQ_MIN_IO_P_CYCLES           0x01  WBOX
UMASK_FREQ_MIN_IO_P_CYCLES           0x00

EVENT_FREQ_MIN_PERF_P_CYCLES           0x02  WBOX
UMASK_FREQ_MIN_PERF_P_CYCLES           0x00

EVENT_FREQ_TRANS_CYCLES           0x00  WBOX
UMASK_FREQ_TRANS_CYCLES           0x00

EVENT_MEMORY_PHASE_SHEDDING_CYCLES           0x2F  WBOX
UMASK_MEMORY_PHASE_SHEDDING_CYCLES           0x00

EVENT_POWER_STATE_OCCUPANCY           0x80  WBOX
UMASK_POWER_STATE_OCCUPANCY_CORES_C0           0x40
UMASK_POWER_STATE_OCCUPANCY_CORES_C3           0x80
UMASK_POWER_STATE_OCCUPANCY_CORES_C6           0xC0

EVENT_PROCHOT_EXTERNAL_CYCLES           0x0A  WBOX
UMASK_PROCHOT_EXTERNAL_CYCLES           0x00

EVENT_PROCHOT_INTERNAL_CYCLES           0x09  WBOX
UMASK_PROCHOT_INTERNAL_CYCLES           0x00

EVENT_TOTAL_TRANSITION_CYCLES           0x0B  WBOX
UMASK_TOTAL_TRANSITION_CYCLES           0x00

EVENT_VOLT_TRANS_CYCLES_CHANGE           0x03  WBOX
UMASK_VOLT_TRANS_CYCLES_CHANGE           0x00

EVENT_VOLT_TRANS_CYCLES_DECREASE           0x02  WBOX
UMASK_VOLT_TRANS_CYCLES_DECREASE           0x00

EVENT_VOLT_TRANS_CYCLES_INCREASE           0x01  WBOX
UMASK_VOLT_TRANS_CYCLES_INCREASE           0x00

EVENT_VR_HOT_CYCLES           0x32  WBOX
UMASK_VR_HOT_CYCLES           0x00

EVENT_CORES_IN_C3               0x00 WBOXFIX0
UMASK_CORES_IN_C3               0x00

EVENT_CORES_IN_C6               0x00 WBOXFIX1
UMASK_CORES_IN_C6               0x00

EVENT_SBOX_CLOCKTICKS           0x14  SBOX
UMASK_SBOX_CLOCKTICKS           0x00

EVENT_CTO_COUNT           0x38  SBOX
UMASK_CTO_COUNT           0x00 0x200000

EVENT_DIRECT2CORE           0x13  SBOX
UMASK_DIRECT2CORE_SUCCESS             0x01
UMASK_DIRECT2CORE_FAILURE_CREDITS     0x02
UMASK_DIRECT2CORE_FAILURE_RBT         0x04
UMASK_DIRECT2CORE_FAILURE_CREDIRTS_RBT 0x08

EVENT_L1_POWER_CYCLES           0x12  SBOX
UMASK_L1_POWER_CYCLES           0x00

EVENT_RXL0P_POWER_CYCLES           0x10  SBOX
UMASK_RXL0P_POWER_CYCLES           0x00

EVENT_RXL0_POWER_CYCLES           0x0F  SBOX
UMASK_RXL0_POWER_CYCLES           0x00

EVENT_RXL_BYPASSED           0x09  SBOX
UMASK_RXL_BYPASSED           0x00

EVENT_RXL_CREDITS_CONSUMED_VN0           0x1E  SBOX
UMASK_RXL_CREDITS_CONSUMED_VN0_DRS       0x01 0x200000
UMASK_RXL_CREDITS_CONSUMED_VN0_NCB       0x02 0x200000
UMASK_RXL_CREDITS_CONSUMED_VN0_NCS       0x04 0x200000
UMASK_RXL_CREDITS_CONSUMED_VN0_HOM       0x08 0x200000
UMASK_RXL_CREDITS_CONSUMED_VN0_SNP       0x10 0x200000
UMASK_RXL_CREDITS_CONSUMED_VN0_NDR       0x20 0x200000

EVENT_RXL_CREDITS_CONSUMED_VNA           0x1D  SBOX
UMASK_RXL_CREDITS_CONSUMED_VNA           0x00 0x200000

EVENT_RXL_FLITS_G0              0x01  SBOX
UMASK_RXL_FLITS_G0_IDLE         0x01
UMASK_RXL_FLITS_G0_DATA         0x02
UMASK_RXL_FLITS_G0_NON_DATA     0x04

EVENT_RXL_FLITS_G1              0x02  SBOX
UMASK_RXL_FLITS_G1_SNP          0x01 0x200000
UMASK_RXL_FLITS_G1_HOM_REQ      0x02 0x200000
UMASK_RXL_FLITS_G1_HOM_NONREQ   0x04 0x200000
UMASK_RXL_FLITS_G1_HOM          0x06 0x200000
UMASK_RXL_FLITS_G1_DRS_DATA     0x08 0x200000
UMASK_RXL_FLITS_G1_DRS_NONDATA  0x10 0x200000
UMASK_RXL_FLITS_G1_DRS          0x60 0x200000

EVENT_RXL_FLITS_G2              0x03  SBOX
UMASK_RXL_FLITS_G2_NDR_AD       0x01 0x200000
UMASK_RXL_FLITS_G2_NDR_AK       0x02 0x200000
UMASK_RXL_FLITS_G2_NCB_DATA     0x04 0x200000
UMASK_RXL_FLITS_G2_NCB_NODATA   0x08 0x200000
UMASK_RXL_FLITS_G2_NCB          0x06 0x200000
UMASK_RXL_FLITS_G2_NCS          0x10 0x200000

EVENT_RXL_INSERTS           0x08  SBOX
UMASK_RXL_INSERTS           0x00

EVENT_RXL_INSERTS_DRS           0x09  SBOX
UMASK_RXL_INSERTS_DRS           0x00 0x200000

EVENT_RXL_INSERTS_HOM           0x0C  SBOX
UMASK_RXL_INSERTS_HOM           0x00 0x200000

EVENT_RXL_INSERTS_NCB           0x0A  SBOX
UMASK_RXL_INSERTS_NCB           0x00 0x200000

EVENT_RXL_INSERTS_NCS           0x0B  SBOX
UMASK_RXL_INSERTS_NCS           0x00 0x200000

EVENT_RXL_INSERTS_NDR           0x0E  SBOX
UMASK_RXL_INSERTS_NDR           0x00 0x200000

EVENT_RXL_INSERTS_SNP           0x0D  SBOX
UMASK_RXL_INSERTS_SNP           0x00 0x200000

EVENT_RXL_OCCUPANCY           0x0B  SBOX
UMASK_RXL_OCCUPANCY           0x00

EVENT_RXL_OCCUPANCY_DRS           0x15  SBOX
UMASK_RXL_OCCUPANCY_DRS           0x00 0x200000

EVENT_RXL_OCCUPANCY_HOM           0x18  SBOX
UMASK_RXL_OCCUPANCY_HOM           0x00 0x200000

EVENT_RXL_OCCUPANCY_NCB           0x16  SBOX
UMASK_RXL_OCCUPANCY_NCB           0x00 0x200000

EVENT_RXL_OCCUPANCY_NCS           0x17  SBOX
UMASK_RXL_OCCUPANCY_NCS           0x00 0x200000

EVENT_RXL_OCCUPANCY_NDR           0x1A  SBOX
UMASK_RXL_OCCUPANCY_NDR           0x00 0x200000

EVENT_RXL_OCCUPANCY_SNP           0x19  SBOX
UMASK_RXL_OCCUPANCY_SNP           0x00 0x200000

EVENT_TXL0P_POWER_CYCLES           0x0D  SBOX
UMASK_TXL0P_POWER_CYCLES           0x00

EVENT_TXL0_POWER_CYCLES           0x0C  SBOX
UMASK_TXL0_POWER_CYCLES           0x00

EVENT_TXL_BYPASSED           0x05  SBOX
UMASK_TXL_BYPASSED           0x00

EVENT_TXL_CYCLES_NE           0x06  SBOX
UMASK_TXL_CYCLES_NE           0x00

EVENT_TXL_FLITS_G0              0x00  SBOX
UMASK_TXL_FLITS_G0_IDLE         0x01
UMASK_TXL_FLITS_G0_DATA         0x02
UMASK_TXL_FLITS_G0_NON_DATA     0x04

EVENT_TXL_FLITS_G1              0x00  SBOX
UMASK_TXL_FLITS_G1_SNP          0x01 0x200000
UMASK_TXL_FLITS_G1_HOM_REQ      0x02 0x200000
UMASK_TXL_FLITS_G1_HOM_NONREQ   0x04 0x200000
UMASK_TXL_FLITS_G1_HOM          0x06 0x200000
UMASK_TXL_FLITS_G1_DRS_DATA     0x08 0x200000
UMASK_TXL_FLITS_G1_DRS_NONDATA  0x10 0x200000
UMASK_TXL_FLITS_G1_DRS          0x60 0x200000

EVENT_TXL_FLITS_G2              0x01  SBOX
UMASK_TXL_FLITS_G2_NDR_AD       0x01 0x200000
UMASK_TXL_FLITS_G2_NDR_AK       0x02 0x200000
UMASK_TXL_FLITS_G2_NCB_DATA     0x04 0x200000
UMASK_TXL_FLITS_G2_NCB_NODATA   0x08 0x200000
UMASK_TXL_FLITS_G2_NCB          0x06 0x200000
UMASK_TXL_FLITS_G2_NCS          0x10 0x200000

EVENT_TXL_INSERTS           0x04  SBOX
UMASK_TXL_INSERTS           0x00

EVENT_TXL_OCCUPANCY           0x07  SBOX
UMASK_TXL_OCCUPANCY           0x00

EVENT_VNA_CREDIT_RETURNS           0x1C  SBOX
UMASK_VNA_CREDIT_RETURNS           0x00 0x200000

EVENT_VNA_CREDIT_RETURN_OCCUPANCY           0x1B  SBOX
UMASK_VNA_CREDIT_RETURN_OCCUPANCY           0x00 0x200000

EVENT_QPI_RATE                  0x00 SBOX0FIX|SBOX1FIX
UMASK_QPI_RATE                  0x00

EVENT_QPI_SLOW_MODE             0x01 SBOX0FIX|SBOX1FIX
UMASK_QPI_SLOW_MODE             0x00

EVENT_PBOX_CLOCKTICKS           0x01  PBOX
UMASK_PBOX_CLOCKTICKS           0x00

EVENT_RING_AD_USED                  0x07  PBOX|RBOX
UMASK_RING_AD_USED_CW_EVEN          0x01
UMASK_RING_AD_USED_CW_ODD           0x02
UMASK_RING_AD_USED_CCW_EVEN         0x04
UMASK_RING_AD_USED_CCW_ODD          0x08

EVENT_RING_AK_USED                  0x08  PBOX|RBOX
UMASK_RING_AK_USED_CW_EVEN          0x01
UMASK_RING_AK_USED_CW_ODD           0x02
UMASK_RING_AK_USED_CCW_EVEN         0x04
UMASK_RING_AK_USED_CCW_ODD          0x08

EVENT_RING_BL_USED                  0x09  PBOX|RBOX
UMASK_RING_BL_USED_CW_EVEN          0x01
UMASK_RING_BL_USED_CW_ODD           0x02
UMASK_RING_BL_USED_CCW_EVEN         0x04
UMASK_RING_BL_USED_CCW_ODD          0x08

EVENT_RING_IV_USED                  0x0A  PBOX|RBOX
UMASK_RING_IV_USED_ANY              0x0F

EVENT_R2PCIE_RXR_AK_BOUNCES              0x12  PBOX0
UMASK_R2PCIE_RXR_AK_BOUNCES              0x00

EVENT_R2PCIE_RXR_CYCLES_NE              0x10  PBOX0|PBOX1
UMASK_R2PCIE_RXR_CYCLES_NE_DRS              0x08
UMASK_R2PCIE_RXR_CYCLES_NE_NCB              0x10
UMASK_R2PCIE_RXR_CYCLES_NE_NCS              0x20

EVENT_R2PCIE_TXR_CYCLES_FULL                 0x25  PBOX0
UMASK_R2PCIE_TXR_CYCLES_FULL_AD              0x01
UMASK_R2PCIE_TXR_CYCLES_FULL_AK              0x02
UMASK_R2PCIE_TXR_CYCLES_FULL_BL              0x04

EVENT_R2PCIE_TXR_CYCLES_NE              0x23  PBOX0
UMASK_R2PCIE_TXR_CYCLES_NE_AD              0x01
UMASK_R2PCIE_TXR_CYCLES_NE_AK              0x02
UMASK_R2PCIE_TXR_CYCLES_NE_BL              0x04

EVENT_R2PCIE_TXR_INSERTS         0x24  PBOX0
UMASK_R2PCIE_TXR_INSERTS         0x00

EVENT_RBOX_CLOCKTICKS              0x01  RBOX
UMASK_RBOX_CLOCKTICKS              0x00

EVENT_IIO_CREDITS_ACQUIRED              0x20  RBOX0C0|RBOX0C1|RBOX1C0|RBOX1C1
UMASK_IIO_CREDITS_ACQUIRED_DRS          0x08
UMASK_IIO_CREDITS_ACQUIRED_NCB          0x10
UMASK_IIO_CREDITS_ACQUIRED_NCS          0x20

EVENT_IIO_CREDITS_REJECT                0x21  RBOX0C0|RBOX0C1|RBOX1C0|RBOX1C1
UMASK_IIO_CREDITS_REJECT_DRS            0x08
UMASK_IIO_CREDITS_REJECT_NCB            0x10
UMASK_IIO_CREDITS_REJECT_NCS            0x20

EVENT_IIO_CREDITS_USED                  0x22  RBOX0C0|RBOX0C1|RBOX1C0|RBOX1C1
UMASK_IIO_CREDITS_USED_DRS              0x08
UMASK_IIO_CREDITS_USED_NCB              0x10
UMASK_IIO_CREDITS_USED_NCS              0x20


EVENT_RXR_BYPASSED          0x12  RBOX0C0|RBOX0C1|RBOX1C0|RBOX1C1
UMASK_RXR_BYPASSED          0x00

EVENT_R3QPI_RXR_CYCLES_NE         0x10  RBOX0C0|RBOX0C1|RBOX1C0|RBOX1C1
UMASK_R3QPI_RXR_CYCLES_NE_HOM     0x01
UMASK_R3QPI_RXR_CYCLES_NE_SNP     0x02
UMASK_R3QPI_RXR_CYCLES_NE_NDR     0x04
UMASK_R3QPI_RXR_CYCLES_NE_DRS              0x08
UMASK_R3QPI_RXR_CYCLES_NE_NCB              0x10
UMASK_R3QPI_RXR_CYCLES_NE_NCS              0x20

EVENT_R3QPI_RXR_INSERTS         0x11  RBOX0C0|RBOX0C1|RBOX1C0|RBOX1C1
UMASK_R3QPI_RXR_INSERTS_HOM     0x01
UMASK_R3QPI_RXR_INSERTS_SNP     0x02
UMASK_R3QPI_RXR_INSERTS_NDR     0x04
UMASK_R3QPI_RXR_INSERTS_DRS     0x08
UMASK_R3QPI_RXR_INSERTS_NCB     0x10
UMASK_R3QPI_RXR_INSERTS_NCS     0x20

EVENT_RXR_OCCUPANCY         0x13  RBOX0C0|RBOX1C0
UMASK_RXR_OCCUPANCY_HOM     0x01
UMASK_RXR_OCCUPANCY_SNP     0x02
UMASK_RXR_OCCUPANCY_NDR     0x04
UMASK_RXR_OCCUPANCY_DRS     0x08
UMASK_RXR_OCCUPANCY_NCB     0x10
UMASK_RXR_OCCUPANCY_NCS     0x20

EVENT_R3QPI_TXR_CYCLES_FULL       0x25  RBOX0C0|RBOX0C1|RBOX1C0|RBOX1C1
UMASK_R3QPI_TXR_CYCLES_FULL       0x00

EVENT_R3QPI_TXR_CYCLES_NE       0x23  RBOX0C0|RBOX0C1|RBOX1C0|RBOX1C1
UMASK_R3QPI_TXR_CYCLES_NE       0x00

EVENT_TXR_INSERTS         0x24  RBOX0C0|RBOX0C1|RBOX1C0|RBOX1C1|PBOX0
UMASK_TXR_INSERTS_HOM     0x01
UMASK_TXR_INSERTS_SNP     0x02
UMASK_TXR_INSERTS_NDR     0x04
UMASK_TXR_INSERTS_DRS     0x08
UMASK_TXR_INSERTS_NCB     0x10
UMASK_TXR_INSERTS_NCS     0x20

EVENT_TXR_NACK       0x26  RBOX0C0|RBOX0C1|RBOX1C0|RBOX1C1
UMASK_TXR_NACK       0x00

EVENT_VN0_CREDITS_REJECT      0x37  RBOX0C0|RBOX0C1|RBOX1C0|RBOX1C1
UMASK_VN0_CREDITS_REJECT_HOM     0x01
UMASK_VN0_CREDITS_REJECT_SNP     0x02
UMASK_VN0_CREDITS_REJECT_NDR     0x04
UMASK_VN0_CREDITS_REJECT_DRS     0x08
UMASK_VN0_CREDITS_REJECT_NCB     0x10
UMASK_VN0_CREDITS_REJECT_NCS     0x20

EVENT_VN0_CREDITS_USED      0x36  RBOX0C0|RBOX0C1|RBOX1C0|RBOX1C1
UMASK_VN0_CREDITS_USED_HOM     0x01
UMASK_VN0_CREDITS_USED_SNP     0x02
UMASK_VN0_CREDITS_USED_NDR     0x04
UMASK_VN0_CREDITS_USED_DRS     0x08
UMASK_VN0_CREDITS_USED_NCB     0x10
UMASK_VN0_CREDITS_USED_NCS     0x20

EVENT_VNA_CREDITS_ACQUIRED      0x33  RBOX0C0|RBOX0C1|RBOX1C0|RBOX1C1
UMASK_VNA_CREDITS_ACQUIRED     0x00

EVENT_VNA_CREDITS_REJECT      0x34  RBOX0C0|RBOX0C1|RBOX1C0|RBOX1C1
UMASK_VNA_CREDITS_REJECT_HOM     0x01
UMASK_VNA_CREDITS_REJECT_SNP     0x02
UMASK_VNA_CREDITS_REJECT_NDR     0x04
UMASK_VNA_CREDITS_REJECT_DRS     0x08
UMASK_VNA_CREDITS_REJECT_NCB     0x10
UMASK_VNA_CREDITS_REJECT_NCS     0x20

EVENT_VNA_CREDITS_CYCLES_OUT      0x31  RBOX0C0|RBOX0C1|RBOX1C0|RBOX1C1
UMASK_VNA_CREDITS_CYCLES_OUT     0x00

EVENT_VNA_CREDITS_CYCLES_USED      0x32  RBOX0C0|RBOX0C1|RBOX1C0|RBOX1C1
UMASK_VNA_CREDITS_CYCLES_USED     0x00

EVENT_EVENT_MSG                  0x42 UBOX
UMASK_EVENT_MSG_VLW_RCVD         0x01
UMASK_EVENT_MSG_MSI_RCVD         0x02
UMASK_EVENT_MSG_IPI_RCVD         0x04
UMASK_EVENT_MSG_DOORBELL_RCVD    0x08
UMASK_EVENT_MSG_INT_PRIO         0x10

EVENT_LOCK_CYCLES                 0x44 UBOX
UMASK_LOCK_CYCLES                 0x00

EVENT_UNCORE_CLOCK                 0x0 UBOXFIX
UMASK_UNCORE_CLOCK                 0x0
