# =======================================================================================
#
#      Filename:  perfmon_interlagos_events.txt
#
#      Description:  Event list for AMD Interlagos
#
#      Version:   <VERSION>
#      Released:  <DATE>
#
#      Author:   Jan Treibig (jt), jan.treibig@gmail.com
#                Thomas Gruber (tr), thomas.roehl@googlemail.com
#      Project:  likwid
#
#      Copyright (C) 2015 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_FPU_PIPE_ASSIGNMENT                         0x00    PMC3
UMASK_FPU_PIPE_ASSIGNMENT_PIPE_0                  0x01
UMASK_FPU_PIPE_ASSIGNMENT_PIPE_1                  0x02
UMASK_FPU_PIPE_ASSIGNMENT_PIPE_2                  0x04
UMASK_FPU_PIPE_ASSIGNMENT_PIPE_3                  0x08
UMASK_FPU_PIPE_ASSIGNMENT_DUAL_PIPE_0             0x10
UMASK_FPU_PIPE_ASSIGNMENT_DUAL_PIPE_1             0x20
UMASK_FPU_PIPE_ASSIGNMENT_DUAL_PIPE_2             0x40
UMASK_FPU_PIPE_ASSIGNMENT_DUAL_PIPE_3             0x80

EVENT_FP_SCHEDULER_EMPTY                0x01      PMC
UMASK_FP_SCHEDULER_EMPTY                0x00

EVENT_RETIRED_FLOPS                     0x03    PMC3
UMASK_RETIRED_FLOPS_DOUBLE_MULTADD      0x80
UMASK_RETIRED_FLOPS_DOUBLE_DIV          0x40
UMASK_RETIRED_FLOPS_DOUBLE_MUL          0x20
UMASK_RETIRED_FLOPS_DOUBLE_ADD          0x10
UMASK_RETIRED_FLOPS_DOUBLE_ALL          0xF0
UMASK_RETIRED_FLOPS_SINGLE_MULTADD      0x08
UMASK_RETIRED_FLOPS_SINGLE_DIV          0x04
UMASK_RETIRED_FLOPS_SINGLE_MUL          0x02
UMASK_RETIRED_FLOPS_SINGLE_ADD          0x01
UMASK_RETIRED_FLOPS_SINGLE_ALL          0x0F

EVENT_MOV_SCALAR_OPT                    0x04    PMC3
UMASK_MOV_SCALAR_OPT_SSE_MOV            0x00
UMASK_MOV_SCALAR_OPT_SSE_MOV_ELIM       0x01
UMASK_MOV_SCALAR_OPT_OPS_OPT            0x02
UMASK_MOV_SCALAR_OPT_SCALAR_OPS         0x04

EVENT_RETIRED_SERIALIZING_OPS                       0x05    PMC3|PMC4|PMC5
UMASK_RETIRED_SERIALIZING_OPS_SSE_BOTTOM            0x00
UMASK_RETIRED_SERIALIZING_OPS_SSE_CONTROL_MISPRED   0x01
UMASK_RETIRED_SERIALIZING_OPS_X87_BOTTOM            0x02
UMASK_RETIRED_SERIALIZING_OPS_X87_CONTROL_MISPRED   0x04

EVENT_CYCLES_BOTTOM_OP            0x06    PMC3|PMC4|PMC5
UMASK_CYCLES_BOTTOM_OP            0x00

EVENT_SEGMENT_REGISTER_LOADS            0x20    PMC
UMASK_SEGMENT_REGISTER_LOADS_ES            0x00
UMASK_SEGMENT_REGISTER_LOADS_CS            0x01
UMASK_SEGMENT_REGISTER_LOADS_SS            0x02
UMASK_SEGMENT_REGISTER_LOADS_DS            0x04
UMASK_SEGMENT_REGISTER_LOADS_FS            0x10
UMASK_SEGMENT_REGISTER_LOADS_GS            0x20
UMASK_SEGMENT_REGISTER_LOADS_HS            0x40

EVENT_PIPELINE_RESTART_SELFMOD_CODE            0x21    PMC
UMASK_PIPELINE_RESTART_SELFMOD_CODE            0x00

EVENT_PIPELINE_RESTART_PROBE_HIT            0x22    PMC
UMASK_PIPELINE_RESTART_PROBE_HIT            0x00

EVENT_LOAD_STORE_QUEUE_FULL            0x23    PMC0|PMC1|PMC2
UMASK_LOAD_STORE_QUEUE_FULL_LOAD       0x01
UMASK_LOAD_STORE_QUEUE_FULL_STORE      0x02

EVENT_LOCKED_OPERATION            0x24    PMC
UMASK_LOCKED_OPERATION_CYCLES_NON_SPEC_CACHE_MISS   0x08
UMASK_LOCKED_OPERATION_CYCLES_NON_SPEC              0x04
UMASK_LOCKED_OPERATION_LOCKED_INSTR                 0x01

EVENT_CLFLUSH_RETIRED            0x26    PMC
UMASK_CLFLUSH_RETIRED            0x00

EVENT_CPUID_RETIRED            0x27    PMC
UMASK_CPUID_RETIRED            0x00

EVENT_LS_DISPATCH            0x29    PMC
UMASK_LS_DISPATCH_LOADS            0x01
UMASK_LS_DISPATCH_STORES            0x02
UMASK_LS_DISPATCH_LOAD_OP_STORES    0x04

EVENT_CANCELED_STORE_FORWARD            0x2A    PMC
UMASK_CANCELED_STORE_FORWARD            0x01

EVENT_SMI_RECEIVED            0x2B    PMC
UMASK_SMI_RECEIVED            0x00

EVENT_CLFLUSH_EXECUTED            0x30    PMC
UMASK_CLFLUSH_EXECUTED            0x00

EVENT_DATA_CACHE_ACCESSES            0x40    PMC
UMASK_DATA_CACHE_ACCESSES            0x00

EVENT_DATA_CACHE_MISSES            0x41    PMC
UMASK_DATA_CACHE_MISSES_STREAMING    0x02
UMASK_DATA_CACHE_MISSES_ALL          0x01

EVENT_DATA_CACHE_REFILLS            0x42    PMC
UMASK_DATA_CACHE_REFILLS_VALID      0x01
UMASK_DATA_CACHE_REFILLS_INVALID    0x02
UMASK_DATA_CACHE_REFILLS_ERROR      0x08
UMASK_DATA_CACHE_REFILLS_ALL        0x0F

EVENT_DATA_CACHE_REFILLS_SYSTEM       0x43    PMC0|PMC1|PMC2
UMASK_DATA_CACHE_REFILLS_SYSTEM       0x00

EVENT_UNIFIED_TLB_HIT       0x45    PMC0|PMC1|PMC2
UMASK_UNIFIED_TLB_HIT_4KB_DATA       0x01
UMASK_UNIFIED_TLB_HIT_2MB_DATA       0x02
UMASK_UNIFIED_TLB_HIT_1GB_DATA       0x04
UMASK_UNIFIED_TLB_HIT_ANY_DATA       0x07
UMASK_UNIFIED_TLB_HIT_4KB_INSTR      0x10
UMASK_UNIFIED_TLB_HIT_2MB_INSTR      0x20
UMASK_UNIFIED_TLB_HIT_1GB_INSTR      0x40
UMASK_UNIFIED_TLB_HIT_ANY_INSTR      0x70
UMASK_UNIFIED_TLB_HIT_ANY            0x77

EVENT_UNIFIED_TLB_MISS       0x46    PMC0|PMC1|PMC2
UMASK_UNIFIED_TLB_MISS_4KB_DATA       0x01
UMASK_UNIFIED_TLB_MISS_2MB_DATA       0x02
UMASK_UNIFIED_TLB_MISS_1GB_DATA       0x04
UMASK_UNIFIED_TLB_MISS_ANY_DATA       0x07
UMASK_UNIFIED_TLB_MISS_4KB_INSTR      0x10
UMASK_UNIFIED_TLB_MISS_2MB_INSTR      0x20
UMASK_UNIFIED_TLB_MISS_1GB_INSTR      0x40
UMASK_UNIFIED_TLB_MISS_ANY_INSTR      0x70
UMASK_UNIFIED_TLB_MISS_ANY            0x77

EVENT_MISALIGNED_ACCESS       0x47    PMC
UMASK_MISALIGNED_ACCESS       0x00

EVENT_PREFETCH_INSTR_DISPATCHED       0x4B    PMC
UMASK_PREFETCH_INSTR_DISPATCHED_LOAD      0x01
UMASK_PREFETCH_INSTR_DISPATCHED_STORE     0x02
UMASK_PREFETCH_INSTR_DISPATCHED_NTA       0x04

EVENT_INEFFECTIVE_PREFETCHES        0x52    PMC
UMASK_INEFFECTIVE_PREFETCHES_HIT_L1         0x00
UMASK_INEFFECTIVE_PREFETCHES_HIT_L2         0x08

EVENT_MEMORY_REQUESTS        0x65     PMC0|PMC1|PMC2
UMASK_MEMORY_REQUESTS_UC        0x01
UMASK_MEMORY_REQUESTS_WC        0x02
UMASK_MEMORY_REQUESTS_WCSS        0x80

EVENT_DATA_PREFETCHER        0x67     PMC0|PMC1|PMC2
UMASK_DATA_PREFETCHER        0x02

EVENT_RESPONSE_ON_CACHE_REFILLS        0x6C     PMC0|PMC1|PMC2
UMASK_RESPONSE_ON_CACHE_REFILLS_EXCLUSIVE           0x01
UMASK_RESPONSE_ON_CACHE_REFILLS_MODIFIED            0x02
UMASK_RESPONSE_ON_CACHE_REFILLS_SHARED              0x04
UMASK_RESPONSE_ON_CACHE_REFILLS_OWNED               0x08
UMASK_RESPONSE_ON_CACHE_REFILLS_ERROR               0x10
UMASK_RESPONSE_ON_CACHE_REFILLS_MODIFIED_UNWRITTEN  0x20

EVENT_OCTWORDS_WRITTEN        0x6D     PMC0|PMC1|PMC2
UMASK_OCTWORDS_WRITTEN        0x01

EVENT_CACHE_CROSS_INVALIDATES        0x75     PMC0|PMC1|PMC2
UMASK_CACHE_CROSS_INVALIDATES_DC_IC        0x01
UMASK_CACHE_CROSS_INVALIDATES_DC_DC        0x02
UMASK_CACHE_CROSS_INVALIDATES_IC_IC        0x04
UMASK_CACHE_CROSS_INVALIDATES_IC_DC        0x08

EVENT_CPU_CLOCKS_UNHALTED        0x76     PMC0|PMC1|PMC2
UMASK_CPU_CLOCKS_UNHALTED        0x00

EVENT_REQUESTS_TO_L2        0x7D     PMC0|PMC1|PMC2
UMASK_REQUESTS_TO_L2_IC_FILL          0x01
UMASK_REQUESTS_TO_L2_DC_FILL          0x02
UMASK_REQUESTS_TO_L2_TLB_FILL         0x04
UMASK_REQUESTS_TO_L2_NB_PROBE         0x08
UMASK_REQUESTS_TO_L2_CANCELED         0x10
UMASK_REQUESTS_TO_L2_PREFETCH_REQ     0x40

EVENT_L2_CACHE_MISS        0x7E     PMC0|PMC1|PMC2
UMASK_L2_CACHE_MISS_IC_FILL           0x01
UMASK_L2_CACHE_MISS_DC_FILL           0x02
UMASK_L2_CACHE_MISS_TLB_WALK          0x04
UMASK_L2_CACHE_MISS_PREFETCH_REQ      0x10

EVENT_L2_FILL_WB        0x7F     PMC0|PMC1|PMC2
UMASK_L2_FILL_WB_FILL         0x01
UMASK_L2_FILL_WB_WB           0x02
UMASK_L2_FILL_WB_WB_CLEAN     0x04

EVENT_PAGE_SPLINTERING        0x165     PMC0|PMC1|PMC2
UMASK_PAGE_SPLINTERING_GUEST         0x01
UMASK_PAGE_SPLINTERING_OTHER         0x02
UMASK_PAGE_SPLINTERING_HOST         0x04

EVENT_L2_PREFETCHER_TRIGGER        0x16C     PMC0|PMC1|PMC2
UMASK_L2_PREFETCHER_TRIGGER_LOAD         0x01
UMASK_L2_PREFETCHER_TRIGGER_STORE         0x02

EVENT_INSTRUCTION_CACHE_FETCHES        0x080     PMC0|PMC1|PMC2
UMASK_INSTRUCTION_CACHE_FETCHES         0x00

EVENT_INSTRUCTION_CACHE_MISSES        0x081     PMC0|PMC1|PMC2
UMASK_INSTRUCTION_CACHE_MISSES         0x00

EVENT_INSTRUCTION_CACHE_L2_REFILLS        0x082     PMC0|PMC1|PMC2
UMASK_INSTRUCTION_CACHE_L2_REFILLS         0x00

EVENT_INSTRUCTION_CACHE_SYSTEM_REFILLS        0x083     PMC0|PMC1|PMC2
UMASK_INSTRUCTION_CACHE_SYSTEM_REFILLS         0x00

EVENT_ITLB_L1_MISS_L2_HIT        0x084     PMC0|PMC1|PMC2
UMASK_ITLB_L1_MISS_L2_HIT         0x00

EVENT_ITLB_L1_MISS_L2_MISS        0x085     PMC0|PMC1|PMC2
UMASK_ITLB_L1_MISS_L2_MISS_4KB         0x01
UMASK_ITLB_L1_MISS_L2_MISS_2MB         0x02
UMASK_ITLB_L1_MISS_L2_MISS_1GB         0x04
UMASK_ITLB_L1_MISS_L2_MISS_ANY         0x07

EVENT_PIPELINE_RESTART_DUE_TO_ISB        0x086     PMC0|PMC1|PMC2
UMASK_PIPELINE_RESTART_DUE_TO_ISB         0x00

EVENT_INSTRUCTION_FETCH_STALL        0x087     PMC0|PMC1|PMC2
UMASK_INSTRUCTION_FETCH_STALL         0x00

EVENT_RETURN_STACK_HITS        0x088     PMC0|PMC1|PMC2
UMASK_RETURN_STACK_HITS         0x00

EVENT_RETURN_STACK_OVERFLOWS        0x089     PMC0|PMC1|PMC2
UMASK_RETURN_STACK_OVERFLOWS         0x00

EVENT_INSTRUCTION_CACHE_VICTIMS        0x08B     PMC0|PMC1|PMC2
UMASK_INSTRUCTION_CACHE_VICTIMS         0x00

EVENT_INSTRUCTION_CACHE_LINES_INVALIDATED        0x08C     PMC0|PMC1|PMC2
UMASK_INSTRUCTION_CACHE_LINES_INVALIDATED_NON_SMC_MISSED   0x08
UMASK_INSTRUCTION_CACHE_LINES_INVALIDATED_NON_SMC_HIT      0x04
UMASK_INSTRUCTION_CACHE_LINES_INVALIDATED_SMC_MISSED       0x02
UMASK_INSTRUCTION_CACHE_LINES_INVALIDATED_SMC_HIT          0x01

EVENT_ITLB_RELOADS        0x099     PMC0|PMC1|PMC2
UMASK_ITLB_RELOADS         0x00

EVENT_ITLB_RELOADS_ABORTED        0x09A     PMC0|PMC1|PMC2
UMASK_ITLB_RELOADS_ABORTED         0x00

EVENT_RETIRED_INSTRUCTIONS        0x0C0     PMC
UMASK_RETIRED_INSTRUCTIONS         0x00

EVENT_RETIRED_UOPS        0x0C1     PMC
UMASK_RETIRED_UOPS         0x00

EVENT_RETIRED_BRANCH_INSTR        0x0C2     PMC
UMASK_RETIRED_BRANCH_INSTR         0x00

EVENT_RETIRED_MISPREDICTED_BRANCH_INSTR        0x0C3     PMC
UMASK_RETIRED_MISPREDICTED_BRANCH_INSTR         0x00

EVENT_RETIRED_TAKEN_BRANCH_INSTR        0x0C4     PMC
UMASK_RETIRED_TAKEN_BRANCH_INSTR         0x00

EVENT_RETIRED_TAKEN_MISPREDICTED_BRANCH_INSTR        0x0C5     PMC
UMASK_RETIRED_TAKEN_MISPREDICTED_BRANCH_INSTR         0x00

EVENT_RETIRED_FAR_CONTROL_TRANSFERS        0x0C6     PMC
UMASK_RETIRED_FAR_CONTROL_TRANSFERS         0x00

EVENT_RETIRED_BRANCH_RESYNCS        0x0C7     PMC
UMASK_RETIRED_BRANCH_RESYNCS         0x00

EVENT_RETIRED_NEAR_RETURNS        0x0C8     PMC
UMASK_RETIRED_NEAR_RETURNS         0x00

EVENT_RETIRED_NEAR_RETURNS_MISPRED        0x0C9     PMC
UMASK_RETIRED_NEAR_RETURNS_MISPRED         0x00

EVENT_RETIRED_INDIRECT_BRANCHES_MISPRED    0x0CA     PMC
UMASK_RETIRED_INDIRECT_BRANCHES_MISPRED         0x00

EVENT_RETIRED_FP_INSTRUCTIONS    0x0CB     PMC
UMASK_RETIRED_FP_INSTRUCTIONS_X87         0x01
UMASK_RETIRED_FP_INSTRUCTIONS_MMX         0x02
UMASK_RETIRED_FP_INSTRUCTIONS_SSE         0x04
UMASK_RETIRED_FP_INSTRUCTIONS_ALL         0x07

EVENT_INTERRUPTS_MASKED_CYCLES    0x0CD     PMC
UMASK_INTERRUPTS_MASKED_CYCLES         0x00

EVENT_INTERRUPTS_TAKEN    0x0CF     PMC
UMASK_INTERRUPTS_TAKEN         0x00

EVENT_DECODER_EMPTY    0x0D0     PMC0|PMC1|PMC2
UMASK_DECODER_EMPTY         0x00

EVENT_DISPATCH_STALLS    0x0D1     PMC0|PMC1|PMC2
UMASK_DISPATCH_STALLS         0x00

EVENT_MICROSEQ_STALL_SERIALIZATION    0x0D3     PMC0|PMC1|PMC2
UMASK_MICROSEQ_STALL_SERIALIZATION         0x00

EVENT_DISPATCH_STALL_INSTRUCTION_RETIRED_Q_FULL    0x0D5     PMC0|PMC1|PMC2
UMASK_DISPATCH_STALL_INSTRUCTION_RETIRED_Q_FULL         0x00

EVENT_DISPATCH_STALL_INTEGER_SCHED_Q_FULL    0x0D6     PMC0|PMC1|PMC2
UMASK_DISPATCH_STALL_INTEGER_SCHED_Q_FULL         0x00

EVENT_DISPATCH_STALL_FP_SCHED_Q_FULL    0x0D7     PMC0|PMC1|PMC2
UMASK_DISPATCH_STALL_FP_SCHED_Q_FULL         0x00

EVENT_DISPATCH_STALL_LDQ_FULL    0x0D8     PMC0|PMC1|PMC2
UMASK_DISPATCH_STALL_LDQ_FULL         0x00

EVENT_MICROSEQ_STALL_WAITING_ALL_QUIT    0x0D9     PMC0|PMC1|PMC2
UMASK_MICROSEQ_STALL_WAITING_ALL_QUIT         0x00

EVENT_FPU_EXCEPTION    0x0DB     PMC
UMASK_FPU_EXCEPTION_TOTAL_MICROFAULTS     0x01
UMASK_FPU_EXCEPTION_TOTAL_MICROTRAPS      0x02
UMASK_FPU_EXCEPTION_INT2EXT_FAULTS        0x04
UMASK_FPU_EXCEPTION_EXT2INT_FAULTS        0x08
UMASK_FPU_EXCEPTION_BYPASS_FAULTS         0x10
UMASK_FPU_EXCEPTION_ALL                   0x1F

EVENT_DISPATCH_STALL_STQ_FULL    0x0D8     PMC
UMASK_DISPATCH_STALL_STQ_FULL         0x00

EVENT_UNC_DRAM_ACCESSES    0x0E0     UPMC
UMASK_UNC_DRAM_ACCESSES_DCT0_PAGE_HIT         0x01
UMASK_UNC_DRAM_ACCESSES_DCT0_PAGE_MISS        0x02
UMASK_UNC_DRAM_ACCESSES_DCT0_PAGE_CONFLICT    0x04
UMASK_UNC_DRAM_ACCESSES_DCT0_ALL              0x07
UMASK_UNC_DRAM_ACCESSES_DCT1_PAGE_HIT         0x08
UMASK_UNC_DRAM_ACCESSES_DCT1_PAGE_MISS        0x10
UMASK_UNC_DRAM_ACCESSES_DCT1_PAGE_CONFLICT    0x22
UMASK_UNC_DRAM_ACCESSES_DCT1_ALL              0x38
UMASK_UNC_DRAM_ACCESSES_ALL                   0x3F

EVENT_UNC_DRAM_CONTROLLER_PAGETABLE_OVERFLOW    0x0E1     UPMC
UMASK_UNC_DRAM_CONTROLLER_PAGETABLE_OVERFLOW_DCT0         0x01
UMASK_UNC_DRAM_CONTROLLER_PAGETABLE_OVERFLOW_DCT1         0x02

EVENT_UNC_MEMORY_CONTROLLER_DRAM_SLOTS_MISSING    0x0E2     UPMC
UMASK_UNC_MEMORY_CONTROLLER_DRAM_SLOTS_MISSING_DCT0         0x01
UMASK_UNC_MEMORY_CONTROLLER_DRAM_SLOTS_MISSING_DCT1         0x02

EVENT_UNC_MEMORY_CONTROLLER_TURNAROUNDS    0x0E3     UPMC
UMASK_UNC_MEMORY_CONTROLLER_TURNAROUNDS_DCT0_DIMM                  0x01
UMASK_UNC_MEMORY_CONTROLLER_TURNAROUNDS_DCT0_READ_TO_WRITE         0x02
UMASK_UNC_MEMORY_CONTROLLER_TURNAROUNDS_DCT0_WRITE_TO_READ         0x04
UMASK_UNC_MEMORY_CONTROLLER_TURNAROUNDS_DCT1_DIMM                  0x08
UMASK_UNC_MEMORY_CONTROLLER_TURNAROUNDS_DCT1_READ_TO_WRITE         0x10
UMASK_UNC_MEMORY_CONTROLLER_TURNAROUNDS_DCT1_WRITE_TO_READ         0x20

EVENT_UNC_MEMORY_CONTROLLER_BYPASS_COUNTER_SATURATION    0x0E4     UPMC
UMASK_UNC_MEMORY_CONTROLLER_BYPASS_COUNTER_SATURATION_MEM_HIGH         0x01
UMASK_UNC_MEMORY_CONTROLLER_BYPASS_COUNTER_SATURATION_MEM_MED          0x02
UMASK_UNC_MEMORY_CONTROLLER_BYPASS_COUNTER_SATURATION_DCT0_DCQ         0x04
UMASK_UNC_MEMORY_CONTROLLER_BYPASS_COUNTER_SATURATION_DCT1_DCQ         0x08

EVENT_UNC_THERMAL_STATUS    0x0E8     UPMC
UMASK_UNC_THERMAL_STATUS_HTC_TRIP_POINT_CROSSED  0x04
UMASK_UNC_THERMAL_STATUS_HTCP_INACTIVE           0x20
UMASK_UNC_THERMAL_STATUS_HTCP_ACTIVE             0x40

EVENT_UNC_CPU_REQUEST_TO_MEMORY    0x0E9     UPMC
UMASK_UNC_CPU_REQUEST_TO_MEMORY_LOCAL_LOCAL_CPU_MEM          0xA8
UMASK_UNC_CPU_REQUEST_TO_MEMORY_LOCAL_LOCAL_CPU_IO           0xA4
UMASK_UNC_CPU_REQUEST_TO_MEMORY_LOCAL_LOCAL_IO_MEM           0xA2
UMASK_UNC_CPU_REQUEST_TO_MEMORY_LOCAL_LOCAL_IO_IO            0xA1
UMASK_UNC_CPU_REQUEST_TO_MEMORY_LOCAL_REMOTE_CPU_MEM         0x98
UMASK_UNC_CPU_REQUEST_TO_MEMORY_LOCAL_REMOTE_CPU_IO          0x94
UMASK_UNC_CPU_REQUEST_TO_MEMORY_LOCAL_REMOTE_IO_MEM          0x92
UMASK_UNC_CPU_REQUEST_TO_MEMORY_LOCAL_REMOTE_IO_IO           0x91
UMASK_UNC_CPU_REQUEST_TO_MEMORY_REMOTE_LOCAL_CPU_IO          0x64
UMASK_UNC_CPU_REQUEST_TO_MEMORY_REMOTE_LOCAL_IO_IO           0x61
UMASK_UNC_CPU_REQUEST_TO_MEMORY_LOCAL_ANY_CPU_MEM            0xB8
UMASK_UNC_CPU_REQUEST_TO_MEMORY_LOCAL_ANY_CPU_IO             0xB4
UMASK_UNC_CPU_REQUEST_TO_MEMORY_LOCAL_ANY_IO_MEM             0xB2
UMASK_UNC_CPU_REQUEST_TO_MEMORY_LOCAL_ANY_IO_IO              0xA1
UMASK_UNC_CPU_REQUEST_TO_MEMORY_ANY_LOCAL_CPU_IO             0xE4
UMASK_UNC_CPU_REQUEST_TO_MEMORY_ANY_LOCAL_IO_IO              0xE1
UMASK_UNC_CPU_REQUEST_TO_MEMORY_ANY_ANY_CPU_IO               0xF4
UMASK_UNC_CPU_REQUEST_TO_MEMORY_ANY_ANY_IO_IO                0xF1

EVENT_UNC_CACHE_BLOCK_COMMANDS                             0x0EA     UPMC
UMASK_UNC_CACHE_BLOCK_COMMANDS_VICTIM_BLOCK                0x01
UMASK_UNC_CACHE_BLOCK_COMMANDS_READ_BLOCK                  0x02
UMASK_UNC_CACHE_BLOCK_COMMANDS_READ_BLOCK_SHARED           0x04
UMASK_UNC_CACHE_BLOCK_COMMANDS_READ_BLOCK_MODIFIED         0x08
UMASK_UNC_CACHE_BLOCK_COMMANDS_CHANGE_TO_DIRTY             0x10

EVENT_UNC_SIZED_COMMANDS    0x0EB     UPMC
UMASK_UNC_SIZED_COMMANDS_NP_WR_BYTE    0x01
UMASK_UNC_SIZED_COMMANDS_NP_WR_DW      0x02
UMASK_UNC_SIZED_COMMANDS_P_WR_BYTE     0x04
UMASK_UNC_SIZED_COMMANDS_P_WR_DW       0x08
UMASK_UNC_SIZED_COMMANDS_RE_BYTE       0x10
UMASK_UNC_SIZED_COMMANDS_RE_DW         0x20

EVENT_UNC_PROBE_RESPONSES_UPSTREAM_REQUESTS                           0x0EC     UPMC
UMASK_UNC_PROBE_RESPONSES_UPSTREAM_REQUESTS_PROBE_MISS                      0x01
UMASK_UNC_PROBE_RESPONSES_UPSTREAM_REQUESTS_PROBE_HIT_CLEAN                 0x02
UMASK_UNC_PROBE_RESPONSES_UPSTREAM_REQUESTS_PROBE_HIT_DIRTY_WITHOUT_CANCEL  0x04
UMASK_UNC_PROBE_RESPONSES_UPSTREAM_REQUESTS_PROBE_HIT_DIRTY_WITH_CANCEL     0x08
UMASK_UNC_PROBE_RESPONSES_UPSTREAM_REQUESTS_UPSTREAM_DISPLAY_READS          0x10
UMASK_UNC_PROBE_RESPONSES_UPSTREAM_REQUESTS_UPSTREAM_NON_DISPLAY_READS      0x20
UMASK_UNC_PROBE_RESPONSES_UPSTREAM_REQUESTS_UPSTREAM_ISOC_WRITED            0x40
UMASK_UNC_PROBE_RESPONSES_UPSTREAM_REQUESTS_UPSTREAM_NON_ISOC_WRITES        0x80

EVENT_UNC_GART_EVENTS                   0x0EE     UPMC
UMASK_UNC_GART_EVENTS_APERTURE_HIT_CPU  0x01
UMASK_UNC_GART_EVENTS_APERTURE_HIT_IO   0x02
UMASK_UNC_GART_EVENTS_MISS              0x04
UMASK_UNC_GART_EVENTS_REQUEST_WALK      0x08
UMASK_UNC_GART_EVENTS_MULTIPLE_WALK     0x80

EVENT_UNC_LINK_TRANSMIT_BW_L0           0x0F6     UPMC
UMASK_UNC_LINK_TRANSMIT_BW_L0_USE     0x37
UMASK_UNC_LINK_TRANSMIT_BW_L0_NOP     0x08
UMASK_UNC_LINK_TRANSMIT_BW_L0_CMDS    0x00
UMASK_UNC_LINK_TRANSMIT_BW_L0_DATA    0x01
UMASK_UNC_LINK_TRANSMIT_BW_L0_BUF_REL 0x02
UMASK_UNC_LINK_TRANSMIT_BW_L0_ADDR    0x10
UMASK_UNC_LINK_TRANSMIT_BW_L0_CRC     0x20
UMASK_UNC_LINK_TRANSMIT_BW_L0_S0_USE     0x37
UMASK_UNC_LINK_TRANSMIT_BW_L0_S0_NOP     0x08
UMASK_UNC_LINK_TRANSMIT_BW_L0_S0_CMDS    0x00
UMASK_UNC_LINK_TRANSMIT_BW_L0_S0_DATA    0x01
UMASK_UNC_LINK_TRANSMIT_BW_L0_S0_BUF_REL 0x02
UMASK_UNC_LINK_TRANSMIT_BW_L0_S0_ADDR    0x10
UMASK_UNC_LINK_TRANSMIT_BW_L0_S0_CRC     0x20
UMASK_UNC_LINK_TRANSMIT_BW_L0_S1_USE     0xB7
UMASK_UNC_LINK_TRANSMIT_BW_L0_S1_NOP     0x88
UMASK_UNC_LINK_TRANSMIT_BW_L0_S1_CMDS    0x80
UMASK_UNC_LINK_TRANSMIT_BW_L0_S1_DATA    0x81
UMASK_UNC_LINK_TRANSMIT_BW_L0_S1_BUF_REL 0x82
UMASK_UNC_LINK_TRANSMIT_BW_L0_S1_ADDR    0x90
UMASK_UNC_LINK_TRANSMIT_BW_L0_S1_CRC     0xA0

EVENT_UNC_LINK_TRANSMIT_BW_L1           0x0F7     UPMC
UMASK_UNC_LINK_TRANSMIT_BW_L1_USE     0x37
UMASK_UNC_LINK_TRANSMIT_BW_L1_NOP     0x08
UMASK_UNC_LINK_TRANSMIT_BW_L1_CMDS    0x00
UMASK_UNC_LINK_TRANSMIT_BW_L1_DATA    0x01
UMASK_UNC_LINK_TRANSMIT_BW_L1_BUF_REL 0x02
UMASK_UNC_LINK_TRANSMIT_BW_L1_ADDR    0x10
UMASK_UNC_LINK_TRANSMIT_BW_L1_CRC     0x20
UMASK_UNC_LINK_TRANSMIT_BW_L1_S0_USE     0x37
UMASK_UNC_LINK_TRANSMIT_BW_L1_S0_NOP     0x08
UMASK_UNC_LINK_TRANSMIT_BW_L1_S0_CMDS    0x00
UMASK_UNC_LINK_TRANSMIT_BW_L1_S0_DATA    0x01
UMASK_UNC_LINK_TRANSMIT_BW_L1_S0_BUF_REL 0x02
UMASK_UNC_LINK_TRANSMIT_BW_L1_S0_ADDR    0x10
UMASK_UNC_LINK_TRANSMIT_BW_L1_S0_CRC     0x20
UMASK_UNC_LINK_TRANSMIT_BW_L1_S1_USE     0xB7
UMASK_UNC_LINK_TRANSMIT_BW_L1_S1_NOP     0x88
UMASK_UNC_LINK_TRANSMIT_BW_L1_S1_CMDS    0x80
UMASK_UNC_LINK_TRANSMIT_BW_L1_S1_DATA    0x81
UMASK_UNC_LINK_TRANSMIT_BW_L1_S1_BUF_REL 0x82
UMASK_UNC_LINK_TRANSMIT_BW_L1_S1_ADDR    0x90
UMASK_UNC_LINK_TRANSMIT_BW_L1_S1_CRC     0xA0

EVENT_UNC_LINK_TRANSMIT_BW_L2           0x0F8     UPMC
UMASK_UNC_LINK_TRANSMIT_BW_L2_USE     0x37
UMASK_UNC_LINK_TRANSMIT_BW_L2_NOP     0x08
UMASK_UNC_LINK_TRANSMIT_BW_L2_CMDS    0x00
UMASK_UNC_LINK_TRANSMIT_BW_L2_DATA    0x01
UMASK_UNC_LINK_TRANSMIT_BW_L2_BUF_REL 0x02
UMASK_UNC_LINK_TRANSMIT_BW_L2_ADDR    0x10
UMASK_UNC_LINK_TRANSMIT_BW_L2_CRC     0x20
UMASK_UNC_LINK_TRANSMIT_BW_L2_S0_USE     0x37
UMASK_UNC_LINK_TRANSMIT_BW_L2_S0_NOP     0x08
UMASK_UNC_LINK_TRANSMIT_BW_L2_S0_CMDS    0x00
UMASK_UNC_LINK_TRANSMIT_BW_L2_S0_DATA    0x01
UMASK_UNC_LINK_TRANSMIT_BW_L2_S0_BUF_REL 0x02
UMASK_UNC_LINK_TRANSMIT_BW_L2_S0_ADDR    0x10
UMASK_UNC_LINK_TRANSMIT_BW_L2_S0_CRC     0x20
UMASK_UNC_LINK_TRANSMIT_BW_L2_S1_USE     0xB7
UMASK_UNC_LINK_TRANSMIT_BW_L2_S1_NOP     0x88
UMASK_UNC_LINK_TRANSMIT_BW_L2_S1_CMDS    0x80
UMASK_UNC_LINK_TRANSMIT_BW_L2_S1_DATA    0x81
UMASK_UNC_LINK_TRANSMIT_BW_L2_S1_BUF_REL 0x82
UMASK_UNC_LINK_TRANSMIT_BW_L2_S1_ADDR    0x90
UMASK_UNC_LINK_TRANSMIT_BW_L2_S1_CRC     0xA0

EVENT_UNC_LINK_TRANSMIT_BW_L3           0x1F9     UPMC
UMASK_UNC_LINK_TRANSMIT_BW_L3_USE     0x37
UMASK_UNC_LINK_TRANSMIT_BW_L3_NOP     0x08
UMASK_UNC_LINK_TRANSMIT_BW_L3_CMDS    0x00
UMASK_UNC_LINK_TRANSMIT_BW_L3_DATA    0x01
UMASK_UNC_LINK_TRANSMIT_BW_L3_BUF_REL 0x02
UMASK_UNC_LINK_TRANSMIT_BW_L3_ADDR    0x10
UMASK_UNC_LINK_TRANSMIT_BW_L3_CRC     0x20
UMASK_UNC_LINK_TRANSMIT_BW_L3_S0_USE     0x37
UMASK_UNC_LINK_TRANSMIT_BW_L3_S0_NOP     0x08
UMASK_UNC_LINK_TRANSMIT_BW_L3_S0_CMDS    0x00
UMASK_UNC_LINK_TRANSMIT_BW_L3_S0_DATA    0x01
UMASK_UNC_LINK_TRANSMIT_BW_L3_S0_BUF_REL 0x02
UMASK_UNC_LINK_TRANSMIT_BW_L3_S0_ADDR    0x10
UMASK_UNC_LINK_TRANSMIT_BW_L3_S0_CRC     0x20
UMASK_UNC_LINK_TRANSMIT_BW_L3_S1_USE     0xB7
UMASK_UNC_LINK_TRANSMIT_BW_L3_S1_NOP     0x88
UMASK_UNC_LINK_TRANSMIT_BW_L3_S1_CMDS    0x80
UMASK_UNC_LINK_TRANSMIT_BW_L3_S1_DATA    0x81
UMASK_UNC_LINK_TRANSMIT_BW_L3_S1_BUF_REL 0x82
UMASK_UNC_LINK_TRANSMIT_BW_L3_S1_ADDR    0x90
UMASK_UNC_LINK_TRANSMIT_BW_L3_S1_CRC     0xA0

EVENT_UNC_CPU_TO_DRAM             0x1E0     UPMC
UMASK_UNC_CPU_TO_DRAM_LOCAL_TO_0  0x01
UMASK_UNC_CPU_TO_DRAM_LOCAL_TO_1  0x02
UMASK_UNC_CPU_TO_DRAM_LOCAL_TO_2  0x04
UMASK_UNC_CPU_TO_DRAM_LOCAL_TO_3  0x08
UMASK_UNC_CPU_TO_DRAM_LOCAL_TO_4  0x10
UMASK_UNC_CPU_TO_DRAM_LOCAL_TO_5  0x20
UMASK_UNC_CPU_TO_DRAM_LOCAL_TO_6  0x40
UMASK_UNC_CPU_TO_DRAM_LOCAL_TO_7  0x80
UMASK_UNC_CPU_TO_DRAM_LOCAL_TO_ALL  0xFF

EVENT_UNC_IO_TO_DRAM    0x1E1     UPMC
UMASK_UNC_IO_TO_DRAM_LOCAL_TO_0  0x01
UMASK_UNC_IO_TO_DRAM_LOCAL_TO_1  0x02
UMASK_UNC_IO_TO_DRAM_LOCAL_TO_2  0x04
UMASK_UNC_IO_TO_DRAM_LOCAL_TO_3  0x08
UMASK_UNC_IO_TO_DRAM_LOCAL_TO_4  0x10
UMASK_UNC_IO_TO_DRAM_LOCAL_TO_5  0x20
UMASK_UNC_IO_TO_DRAM_LOCAL_TO_6  0x40
UMASK_UNC_IO_TO_DRAM_LOCAL_TO_7  0x80
UMASK_UNC_IO_TO_DRAM_LOCAL_TO_ALL  0xFF

EVENT_UNC_CPU_READ_CMD_LATENCY_A    0x1E2     UPMC
UMASK_UNC_CPU_READ_CMD_LATENCY_A_READ_TO_0          0x11
UMASK_UNC_CPU_READ_CMD_LATENCY_A_READ_MOD_TO_0      0x12
UMASK_UNC_CPU_READ_CMD_LATENCY_A_READ_SHARED_TO_0   0x14
UMASK_UNC_CPU_READ_CMD_LATENCY_A_DIRTY_TO_0         0x18
UMASK_UNC_CPU_READ_CMD_LATENCY_A_ALL_TO_0           0x1F
UMASK_UNC_CPU_READ_CMD_LATENCY_A_READ_TO_1          0x21
UMASK_UNC_CPU_READ_CMD_LATENCY_A_READ_MOD_TO_1      0x22
UMASK_UNC_CPU_READ_CMD_LATENCY_A_READ_SHARED_TO_1   0x24
UMASK_UNC_CPU_READ_CMD_LATENCY_A_DIRTY_TO_1         0x28
UMASK_UNC_CPU_READ_CMD_LATENCY_A_ALL_TO_1           0x2F
UMASK_UNC_CPU_READ_CMD_LATENCY_A_READ_TO_2          0x41
UMASK_UNC_CPU_READ_CMD_LATENCY_A_READ_MOD_TO_2      0x42
UMASK_UNC_CPU_READ_CMD_LATENCY_A_READ_SHARED_TO_2   0x44
UMASK_UNC_CPU_READ_CMD_LATENCY_A_DIRTY_TO_2         0x48
UMASK_UNC_CPU_READ_CMD_LATENCY_A_ALL_TO_2           0x4F
UMASK_UNC_CPU_READ_CMD_LATENCY_A_READ_TO_3          0x81
UMASK_UNC_CPU_READ_CMD_LATENCY_A_READ_MOD_TO_3      0x82
UMASK_UNC_CPU_READ_CMD_LATENCY_A_READ_SHARED_TO_3   0x84
UMASK_UNC_CPU_READ_CMD_LATENCY_A_DIRTY_TO_3         0x88
UMASK_UNC_CPU_READ_CMD_LATENCY_A_ALL_TO_3           0x8F

EVENT_UNC_CPU_READ_CMD_REQUESTS_A    0x1E3     UPMC
UMASK_UNC_CPU_READ_CMD_REQUESTS_A_READ_TO_0          0x11
UMASK_UNC_CPU_READ_CMD_REQUESTS_A_READ_MOD_TO_0      0x12
UMASK_UNC_CPU_READ_CMD_REQUESTS_A_READ_SHARED_TO_0   0x14
UMASK_UNC_CPU_READ_CMD_REQUESTS_A_DIRTY_TO_0         0x18
UMASK_UNC_CPU_READ_CMD_REQUESTS_A_ALL_TO_0           0x1F
UMASK_UNC_CPU_READ_CMD_REQUESTS_A_READ_TO_1          0x21
UMASK_UNC_CPU_READ_CMD_REQUESTS_A_READ_MOD_TO_1      0x22
UMASK_UNC_CPU_READ_CMD_REQUESTS_A_READ_SHARED_TO_1   0x24
UMASK_UNC_CPU_READ_CMD_REQUESTS_A_DIRTY_TO_1         0x28
UMASK_UNC_CPU_READ_CMD_REQUESTS_A_ALL_TO_1           0x2F
UMASK_UNC_CPU_READ_CMD_REQUESTS_A_READ_TO_2          0x41
UMASK_UNC_CPU_READ_CMD_REQUESTS_A_READ_MOD_TO_2      0x42
UMASK_UNC_CPU_READ_CMD_REQUESTS_A_READ_SHARED_TO_2   0x44
UMASK_UNC_CPU_READ_CMD_REQUESTS_A_DIRTY_TO_2         0x48
UMASK_UNC_CPU_READ_CMD_REQUESTS_A_ALL_TO_2           0x4F
UMASK_UNC_CPU_READ_CMD_REQUESTS_A_READ_TO_3          0x81
UMASK_UNC_CPU_READ_CMD_REQUESTS_A_READ_MOD_TO_3      0x82
UMASK_UNC_CPU_READ_CMD_REQUESTS_A_READ_SHARED_TO_3   0x84
UMASK_UNC_CPU_READ_CMD_REQUESTS_A_DIRTY_TO_3         0x88
UMASK_UNC_CPU_READ_CMD_REQUESTS_A_ALL_TO_3           0x8F

EVENT_UNC_CPU_READ_CMD_LATENCY_B    0x1E4     UPMC
UMASK_UNC_CPU_READ_CMD_LATENCY_B_READ_TO_4          0x11
UMASK_UNC_CPU_READ_CMD_LATENCY_B_READ_MOD_TO_4      0x12
UMASK_UNC_CPU_READ_CMD_LATENCY_B_READ_SHARED_TO_4   0x14
UMASK_UNC_CPU_READ_CMD_LATENCY_B_DIRTY_TO_4         0x18
UMASK_UNC_CPU_READ_CMD_LATENCY_B_ALL_TO_4           0x1F
UMASK_UNC_CPU_READ_CMD_LATENCY_B_READ_TO_5          0x21
UMASK_UNC_CPU_READ_CMD_LATENCY_B_READ_MOD_TO_5      0x22
UMASK_UNC_CPU_READ_CMD_LATENCY_B_READ_SHARED_TO_5   0x24
UMASK_UNC_CPU_READ_CMD_LATENCY_B_DIRTY_TO_5         0x28
UMASK_UNC_CPU_READ_CMD_LATENCY_B_ALL_TO_5           0x2F
UMASK_UNC_CPU_READ_CMD_LATENCY_B_READ_TO_6          0x41
UMASK_UNC_CPU_READ_CMD_LATENCY_B_READ_MOD_TO_6      0x42
UMASK_UNC_CPU_READ_CMD_LATENCY_B_READ_SHARED_TO_6   0x44
UMASK_UNC_CPU_READ_CMD_LATENCY_B_DIRTY_TO_6         0x48
UMASK_UNC_CPU_READ_CMD_LATENCY_B_ALL_TO_6           0x4F
UMASK_UNC_CPU_READ_CMD_LATENCY_B_READ_TO_7          0x81
UMASK_UNC_CPU_READ_CMD_LATENCY_B_READ_MOD_TO_7      0x82
UMASK_UNC_CPU_READ_CMD_LATENCY_B_READ_SHARED_TO_7   0x84
UMASK_UNC_CPU_READ_CMD_LATENCY_B_DIRTY_TO_7         0x88
UMASK_UNC_CPU_READ_CMD_LATENCY_B_ALL_TO_7           0x8F

EVENT_UNC_CPU_READ_CMD_REQUESTS_B    0x1E5     UPMC
UMASK_UNC_CPU_READ_CMD_REQUESTS_B_READ_TO_4          0x11
UMASK_UNC_CPU_READ_CMD_REQUESTS_B_READ_MOD_TO_4      0x12
UMASK_UNC_CPU_READ_CMD_REQUESTS_B_READ_SHARED_TO_4   0x14
UMASK_UNC_CPU_READ_CMD_REQUESTS_B_DIRTY_TO_4         0x18
UMASK_UNC_CPU_READ_CMD_REQUESTS_B_ALL_TO_4           0x1F
UMASK_UNC_CPU_READ_CMD_REQUESTS_B_READ_TO_5          0x21
UMASK_UNC_CPU_READ_CMD_REQUESTS_B_READ_MOD_TO_5      0x22
UMASK_UNC_CPU_READ_CMD_REQUESTS_B_READ_SHARED_TO_5   0x24
UMASK_UNC_CPU_READ_CMD_REQUESTS_B_DIRTY_TO_5         0x28
UMASK_UNC_CPU_READ_CMD_REQUESTS_B_ALL_TO_5           0x2F
UMASK_UNC_CPU_READ_CMD_REQUESTS_B_READ_TO_6          0x41
UMASK_UNC_CPU_READ_CMD_REQUESTS_B_READ_MOD_TO_6      0x42
UMASK_UNC_CPU_READ_CMD_REQUESTS_B_READ_SHARED_TO_6   0x44
UMASK_UNC_CPU_READ_CMD_REQUESTS_B_DIRTY_TO_6         0x48
UMASK_UNC_CPU_READ_CMD_REQUESTS_B_ALL_TO_6           0x4F
UMASK_UNC_CPU_READ_CMD_REQUESTS_B_READ_TO_7          0x81
UMASK_UNC_CPU_READ_CMD_REQUESTS_B_READ_MOD_TO_7      0x82
UMASK_UNC_CPU_READ_CMD_REQUESTS_B_READ_SHARED_TO_7   0x84
UMASK_UNC_CPU_READ_CMD_REQUESTS_B_DIRTY_TO_7         0x88
UMASK_UNC_CPU_READ_CMD_REQUESTS_B_ALL_TO_7           0x8F

EVENT_UNC_CPU_CMD_LATENCY                0x1E6     UPMC
UMASK_UNC_CPU_CMD_LATENCY_READ_TO_0      0x11
UMASK_UNC_CPU_CMD_LATENCY_WRITE_TO_0     0x12
UMASK_UNC_CPU_CMD_LATENCY_VICTIM_TO_0    0x14
UMASK_UNC_CPU_CMD_LATENCY_ALL_TO_0       0x17
UMASK_UNC_CPU_CMD_LATENCY_READ_TO_4      0x19
UMASK_UNC_CPU_CMD_LATENCY_WRITE_TO_4     0x1A
UMASK_UNC_CPU_CMD_LATENCY_VICTIM_TO_4    0x1C
UMASK_UNC_CPU_CMD_LATENCY_ALL_TO_4       0x1F
UMASK_UNC_CPU_CMD_LATENCY_READ_TO_1      0x21
UMASK_UNC_CPU_CMD_LATENCY_WRITE_TO_1     0x22
UMASK_UNC_CPU_CMD_LATENCY_VICTIM_TO_1    0x24
UMASK_UNC_CPU_CMD_LATENCY_ALL_TO_1       0x27
UMASK_UNC_CPU_CMD_LATENCY_READ_TO_5      0x29
UMASK_UNC_CPU_CMD_LATENCY_WRITE_TO_5     0x2A
UMASK_UNC_CPU_CMD_LATENCY_VICTIM_TO_5    0x2C
UMASK_UNC_CPU_CMD_LATENCY_ALL_TO_5       0x2F
UMASK_UNC_CPU_CMD_LATENCY_READ_TO_2      0x41
UMASK_UNC_CPU_CMD_LATENCY_WRITE_TO_2     0x42
UMASK_UNC_CPU_CMD_LATENCY_VICTIM_TO_2    0x44
UMASK_UNC_CPU_CMD_LATENCY_ALL_TO_2       0x47
UMASK_UNC_CPU_CMD_LATENCY_READ_TO_6      0x49
UMASK_UNC_CPU_CMD_LATENCY_WRITE_TO_6     0x4A
UMASK_UNC_CPU_CMD_LATENCY_VICTIM_TO_6    0x4C
UMASK_UNC_CPU_CMD_LATENCY_ALL_TO_6       0x4F
UMASK_UNC_CPU_CMD_LATENCY_READ_TO_3      0x81
UMASK_UNC_CPU_CMD_LATENCY_WRITE_TO_3     0x82
UMASK_UNC_CPU_CMD_LATENCY_VICTIM_TO_3    0x84
UMASK_UNC_CPU_CMD_LATENCY_ALL_TO_3       0x87
UMASK_UNC_CPU_CMD_LATENCY_READ_TO_7      0x89
UMASK_UNC_CPU_CMD_LATENCY_WRITE_TO_7     0x8A
UMASK_UNC_CPU_CMD_LATENCY_VICTIM_TO_7    0x8C
UMASK_UNC_CPU_CMD_LATENCY_ALL_TO_7       0x8F

EVENT_UNC_CPU_CMD_REQUESTS               0x1E7     UPMC
UMASK_UNC_CPU_CMD_REQUESTS_READ_TO_0      0x11
UMASK_UNC_CPU_CMD_REQUESTS_WRITE_TO_0     0x12
UMASK_UNC_CPU_CMD_REQUESTS_VICTIM_TO_0    0x14
UMASK_UNC_CPU_CMD_REQUESTS_ALL_TO_0       0x17
UMASK_UNC_CPU_CMD_REQUESTS_READ_TO_4      0x19
UMASK_UNC_CPU_CMD_REQUESTS_WRITE_TO_4     0x1A
UMASK_UNC_CPU_CMD_REQUESTS_VICTIM_TO_4    0x1C
UMASK_UNC_CPU_CMD_REQUESTS_ALL_TO_4       0x1F
UMASK_UNC_CPU_CMD_REQUESTS_READ_TO_1      0x21
UMASK_UNC_CPU_CMD_REQUESTS_WRITE_TO_1     0x22
UMASK_UNC_CPU_CMD_REQUESTS_VICTIM_TO_1    0x24
UMASK_UNC_CPU_CMD_REQUESTS_ALL_TO_1       0x27
UMASK_UNC_CPU_CMD_REQUESTS_READ_TO_5      0x29
UMASK_UNC_CPU_CMD_REQUESTS_WRITE_TO_5     0x2A
UMASK_UNC_CPU_CMD_REQUESTS_VICTIM_TO_5    0x2C
UMASK_UNC_CPU_CMD_REQUESTS_ALL_TO_5       0x2F
UMASK_UNC_CPU_CMD_REQUESTS_READ_TO_2      0x41
UMASK_UNC_CPU_CMD_REQUESTS_WRITE_TO_2     0x42
UMASK_UNC_CPU_CMD_REQUESTS_VICTIM_TO_2    0x44
UMASK_UNC_CPU_CMD_REQUESTS_ALL_TO_2       0x47
UMASK_UNC_CPU_CMD_REQUESTS_READ_TO_6      0x49
UMASK_UNC_CPU_CMD_REQUESTS_WRITE_TO_6     0x4A
UMASK_UNC_CPU_CMD_REQUESTS_VICTIM_TO_6    0x4C
UMASK_UNC_CPU_CMD_REQUESTS_ALL_TO_6       0x4F
UMASK_UNC_CPU_CMD_REQUESTS_READ_TO_3      0x81
UMASK_UNC_CPU_CMD_REQUESTS_WRITE_TO_3     0x82
UMASK_UNC_CPU_CMD_REQUESTS_VICTIM_TO_3    0x84
UMASK_UNC_CPU_CMD_REQUESTS_ALL_TO_3       0x87
UMASK_UNC_CPU_CMD_REQUESTS_READ_TO_7      0x89
UMASK_UNC_CPU_CMD_REQUESTS_WRITE_TO_7     0x8A
UMASK_UNC_CPU_CMD_REQUESTS_VICTIM_TO_7    0x8C
UMASK_UNC_CPU_CMD_REQUESTS_ALL_TO_7       0x8F

EVENT_UNC_MEMORY_CONTROLLER_REQUESTS                  0x1F0     UPMC
UMASK_UNC_MEMORY_CONTROLLER_REQUESTS_WRITE_REQ_DCT     0x01
UMASK_UNC_MEMORY_CONTROLLER_REQUESTS_READ_REQ_DCT      0x02
UMASK_UNC_MEMORY_CONTROLLER_REQUESTS_PREFETCH_REQ_DCT  0x04
UMASK_UNC_MEMORY_CONTROLLER_REQUESTS_32_SIZED_WRITES   0x08
UMASK_UNC_MEMORY_CONTROLLER_REQUESTS_64_SIZED_WRITES   0x10
UMASK_UNC_MEMORY_CONTROLLER_REQUESTS_32_SIZED_READS    0x20
UMASK_UNC_MEMORY_CONTROLLER_REQUESTS_64_SIZED_READS    0x40
UMASK_UNC_MEMORY_CONTROLLER_REQUESTS_READ_WHILE_WRITE  0x80

EVENT_UNC_READ_REQ_TO_L3             0x4E0     UPMC
UMASK_UNC_READ_REQ_TO_L3_CORE_0      0x07
UMASK_UNC_READ_REQ_TO_L3_CORE_1      0x17
UMASK_UNC_READ_REQ_TO_L3_CORE_2      0x27
UMASK_UNC_READ_REQ_TO_L3_CORE_3      0x37
UMASK_UNC_READ_REQ_TO_L3_CORE_4      0x47
UMASK_UNC_READ_REQ_TO_L3_CORE_5      0x57
UMASK_UNC_READ_REQ_TO_L3_CORE_6      0x67
UMASK_UNC_READ_REQ_TO_L3_CORE_7      0x77
UMASK_UNC_READ_REQ_TO_L3_ALL         0xF7
UMASK_UNC_READ_REQ_TO_L3_CORE_0_PREF      0x0F
UMASK_UNC_READ_REQ_TO_L3_CORE_1_PREF      0x1F
UMASK_UNC_READ_REQ_TO_L3_CORE_2_PREF      0x2F
UMASK_UNC_READ_REQ_TO_L3_CORE_3_PREF      0x3F
UMASK_UNC_READ_REQ_TO_L3_CORE_4_PREF      0x4F
UMASK_UNC_READ_REQ_TO_L3_CORE_5_PREF      0x5F
UMASK_UNC_READ_REQ_TO_L3_CORE_6_PREF      0x6F
UMASK_UNC_READ_REQ_TO_L3_CORE_7_PREF      0x7F
UMASK_UNC_READ_REQ_TO_L3_ALL_PREF         0xFF


EVENT_UNC_L3_CACHE_MISS             0x4E1     UPMC
UMASK_UNC_L3_CACHE_MISS_CORE_0             0x07
UMASK_UNC_L3_CACHE_MISS_CORE_1             0x17
UMASK_UNC_L3_CACHE_MISS_CORE_2             0x27
UMASK_UNC_L3_CACHE_MISS_CORE_3             0x37
UMASK_UNC_L3_CACHE_MISS_CORE_4             0x47
UMASK_UNC_L3_CACHE_MISS_CORE_5             0x57
UMASK_UNC_L3_CACHE_MISS_CORE_6             0x67
UMASK_UNC_L3_CACHE_MISS_CORE_7             0x77
UMASK_UNC_L3_CACHE_MISS_ALL                0xF7
UMASK_UNC_L3_CACHE_MISS_CORE_0_PREF        0x0F
UMASK_UNC_L3_CACHE_MISS_CORE_1_PREF        0x1F
UMASK_UNC_L3_CACHE_MISS_CORE_2_PREF        0x2F
UMASK_UNC_L3_CACHE_MISS_CORE_3_PREF        0x3F
UMASK_UNC_L3_CACHE_MISS_CORE_4_PREF        0x4F
UMASK_UNC_L3_CACHE_MISS_CORE_5_PREF        0x5F
UMASK_UNC_L3_CACHE_MISS_CORE_6_PREF        0x6F
UMASK_UNC_L3_CACHE_MISS_CORE_7_PREF        0x7F
UMASK_UNC_L3_CACHE_MISS_ALL_PREF           0xFF

EVENT_UNC_L3_FILLS_BY_L2_EVICTS             0x4E2     UPMC
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_0_M             0x08
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_1_M             0x18
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_2_M             0x28
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_3_M             0x38
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_4_M             0x48
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_5_M             0x58
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_6_M             0x68
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_7_M             0x78
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_ALL_M                0xF8
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_0_O             0x04
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_1_O             0x14
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_2_O             0x24
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_3_O             0x34
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_4_O             0x44
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_5_O             0x54
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_6_O             0x64
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_7_O             0x74
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_ALL_O                0xF4
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_0_E             0x02
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_1_E             0x12
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_2_E             0x22
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_3_E             0x32
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_4_E             0x42
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_5_E             0x52
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_6_E             0x62
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_7_E             0x72
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_ALL_E                0xF2
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_0_S             0x01
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_1_S             0x11
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_2_S             0x21
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_3_S             0x31
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_4_S             0x41
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_5_S             0x51
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_6_S             0x61
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_7_S             0x71
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_ALL_S                0xF1
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_0_MOES          0x0F
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_1_MOES          0x1F
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_2_MOES          0x2F
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_3_MOES          0x3F
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_4_MOES          0x4F
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_5_MOES          0x5F
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_6_MOES          0x6F
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_CORE_7_MOES          0x7F
UMASK_UNC_L3_FILLS_BY_L2_EVICTS_ALL_MOES             0xFF

EVENT_UNC_L3_EVICTS             0x4E3     UPMC
UMASK_UNC_L3_EVICTS_M             0x08
UMASK_UNC_L3_EVICTS_O             0x04
UMASK_UNC_L3_EVICTS_E             0x02
UMASK_UNC_L3_EVICTS_S             0x01
UMASK_UNC_L3_EVICTS_MOES          0x0F

EVENT_UNC_L3_NON_CANCEL_READ_REQUESTS             0x4ED     UPMC
UMASK_UNC_L3_NON_CANCEL_READ_REQUESTS_RDBLK_CORE_0          0x01
UMASK_UNC_L3_NON_CANCEL_READ_REQUESTS_RDBLK_CORE_1          0x11
UMASK_UNC_L3_NON_CANCEL_READ_REQUESTS_RDBLK_CORE_2          0x21
UMASK_UNC_L3_NON_CANCEL_READ_REQUESTS_RDBLK_CORE_3          0x31
UMASK_UNC_L3_NON_CANCEL_READ_REQUESTS_RDBLK_CORE_4          0x41
UMASK_UNC_L3_NON_CANCEL_READ_REQUESTS_RDBLK_CORE_5          0x51
UMASK_UNC_L3_NON_CANCEL_READ_REQUESTS_RDBLK_CORE_6          0x61
UMASK_UNC_L3_NON_CANCEL_READ_REQUESTS_RDBLK_CORE_7          0x71
UMASK_UNC_L3_NON_CANCEL_READ_REQUESTS_RDBLK_ALL             0xF1
UMASK_UNC_L3_NON_CANCEL_READ_REQUESTS_RDBLKS_CORE_0          0x02
UMASK_UNC_L3_NON_CANCEL_READ_REQUESTS_RDBLKS_CORE_1          0x12
UMASK_UNC_L3_NON_CANCEL_READ_REQUESTS_RDBLKS_CORE_2          0x22
UMASK_UNC_L3_NON_CANCEL_READ_REQUESTS_RDBLKS_CORE_3          0x32
UMASK_UNC_L3_NON_CANCEL_READ_REQUESTS_RDBLKS_CORE_4          0x42
UMASK_UNC_L3_NON_CANCEL_READ_REQUESTS_RDBLKS_CORE_5          0x52
UMASK_UNC_L3_NON_CANCEL_READ_REQUESTS_RDBLKS_CORE_6          0x62
UMASK_UNC_L3_NON_CANCEL_READ_REQUESTS_RDBLKS_CORE_7          0x72
UMASK_UNC_L3_NON_CANCEL_READ_REQUESTS_RDBLKS_ALL             0xF2
UMASK_UNC_L3_NON_CANCEL_READ_REQUESTS_RDBLKM_CORE_0          0x04
UMASK_UNC_L3_NON_CANCEL_READ_REQUESTS_RDBLKM_CORE_1          0x14
UMASK_UNC_L3_NON_CANCEL_READ_REQUESTS_RDBLKM_CORE_2          0x24
UMASK_UNC_L3_NON_CANCEL_READ_REQUESTS_RDBLKM_CORE_3          0x34
UMASK_UNC_L3_NON_CANCEL_READ_REQUESTS_RDBLKM_CORE_4          0x44
UMASK_UNC_L3_NON_CANCEL_READ_REQUESTS_RDBLKM_CORE_5          0x54
UMASK_UNC_L3_NON_CANCEL_READ_REQUESTS_RDBLKM_CORE_6          0x64
UMASK_UNC_L3_NON_CANCEL_READ_REQUESTS_RDBLKM_CORE_7          0x74
UMASK_UNC_L3_NON_CANCEL_READ_REQUESTS_RDBLKM_ALL             0xF4

EVENT_UNC_L3_LATENCY                        0x4EF     UPMC
UMASK_UNC_L3_LATENCY_CYCLE_COUNT            0x01
UMASK_UNC_L3_LATENCY_REQUEST_COUNT          0x02
