# =======================================================================================
#
#      Filename:  perfmon_k10_events.txt
#
#      Description:  Event list for AMD K10
#
#      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_DISPATCHED_FP_OP                            0x00    PMC
UMASK_DISPATCHED_FP_OP_ADD_PIPE                   0x01
UMASK_DISPATCHED_FP_OP_MULTIPLY_PIPE              0x02
UMASK_DISPATCHED_FP_OP_STORE_PIPE                 0x04
UMASK_DISPATCHED_FP_OP_ADD_PIPE_LOAD              0x08
UMASK_DISPATCHED_FP_OP_MULTIPLY_PIPE_LOAD         0x10
UMASK_DISPATCHED_FP_OP_STORE_PIPE_LOAD            0x20

EVENT_FPU_EMPTY                0x01   PMC
UMASK_FPU_EMPTY                0x00

EVENT_DISPATCHED_FAST_FPU      0x02    PMC
UMASK_DISPATCHED_FAST_FPU      0x00

EVENT_SSE_RETIRED                    0x03       PMC
UMASK_SSE_RETIRED_ADD_SINGLE_UOPS                0x01
UMASK_SSE_RETIRED_MULT_SINGLE_UOPS               0x02
UMASK_SSE_RETIRED_DIV_SINGLE_UOPS                0x04
UMASK_SSE_RETIRED_ADD_DOUBLE_UOPS                0x08
UMASK_SSE_RETIRED_MULT_DOUBLE_UOPS               0x10
UMASK_SSE_RETIRED_DIV_DOUBLE_UOPS                0x20
UMASK_SSE_RETIRED_ADD_SINGLE_FLOPS               0x41
UMASK_SSE_RETIRED_MULT_SINGLE_FLOPS              0x42
UMASK_SSE_RETIRED_DIV_SINGLE_FLOPS               0x44
UMASK_SSE_RETIRED_ADD_DOUBLE_FLOPS               0x48
UMASK_SSE_RETIRED_MULT_DOUBLE_FLOPS              0x50
UMASK_SSE_RETIRED_DIV_DOUBLE_FLOPS               0x60

EVENT_MOVE_RETIRED                    0x04  PMC
UMASK_MOVE_RETIRED_LOW_MERGE          0x01
UMASK_MOVE_RETIRED_HIGH_MERGE         0x02
UMASK_MOVE_RETIRED_MERGE              0x04
UMASK_MOVE_RETIRED_ALL                0x08

EVENT_SERIAL_RETIRED                    0x05   PMC
UMASK_SERIAL_RETIRED_SSE_BOTTOM_EXE     0x01
UMASK_SERIAL_RETIRED_SSE_BOTTOM_SERIAL  0x02
UMASK_SERIAL_RETIRED_X87_BOTTOM_EXE     0x04
UMASK_SERIAL_RETIRED_X87_BOTTOM_SERIAL  0x08

EVENT_SERIAL_CYCLES_FP                  0x06   PMC
UMASK_SERIAL_CYCLES_FP_EXE              0x01
UMASK_SERIAL_CYCLES_FP_SERIAL           0x02

EVENT_PIPELINE_RESTART_SELF_MOD         0x21   PMC
UMASK_PIPELINE_RESTART_SELF_MOD         0x00

EVENT_PIPELINE_RESTART_PROBE_HIT        0x22   PMC
UMASK_PIPELINE_RESTART_PROBE_HIT        0x00

EVENT_LS_BUFFER_FULL                    0x23   PMC
UMASK_LS_BUFFER_FULL                    0x00

EVENT_LOCKED_OPERATION                     0x24   PMC
UMASK_LOCKED_OPERATION_INSTRUCTIONS        0x01
UMASK_LOCKED_OPERATION_SPECULATIVE_CYC     0x02
UMASK_LOCKED_OPERATION_NON_SPECULATIVE_CYC 0x04
UMASK_LOCKED_OPERATION_WAIT_CACHE_HIT_CYC  0x08

EVENT_RETIRED_CLFLUSH                    0x26   PMC
UMASK_RETIRED_CLFLUSH                    0x00

EVENT_RETIRED_CPUID                    0x27   PMC
UMASK_RETIRED_CPUID                    0x00

EVENT_STORE_TO_LOAD_FORWARD_CANCEL                      0x2A   PMC
UMASK_STORE_TO_LOAD_FORWARD_CANCEL_ADDRESS_MISMATCH     0x01
UMASK_STORE_TO_LOAD_FORWARD_CANCEL_SIZE_MISMATCH        0x02
UMASK_STORE_TO_LOAD_FORWARD_CANCEL_MISALIGNED           0x04

EVENT_NUM_SMI                    0x2B   PMC
UMASK_NUM_SMI                    0x00

EVENT_DATA_CACHE_ACCESSES        0x40   PMC
UMASK_DATA_CACHE_ACCESSES        0x00

EVENT_DATA_CACHE_MISSES          0x41   PMC
UMASK_DATA_CACHE_MISSES          0x00

EVENT_DATA_CACHE_REFILLS                0x42   PMC
UMASK_DATA_CACHE_REFILLS_NORTHBRIDGE    0x01
UMASK_DATA_CACHE_REFILLS_L2_SHARED      0x02
UMASK_DATA_CACHE_REFILLS_L2_EXCLUSIVE   0x04
UMASK_DATA_CACHE_REFILLS_L2_OWNED       0x08
UMASK_DATA_CACHE_REFILLS_L2_MODIFIED    0x10
UMASK_DATA_CACHE_REFILLS_L2_ALL         0x1E

EVENT_DATA_CACHE_REFILLS_NORTHBRIDGE    0x43   PMC
UMASK_DATA_CACHE_REFILLS_NORTHBRIDGE_INVALID     0x01
UMASK_DATA_CACHE_REFILLS_NORTHBRIDGE_SHARED      0x02
UMASK_DATA_CACHE_REFILLS_NORTHBRIDGE_EXCLUSIVE   0x04
UMASK_DATA_CACHE_REFILLS_NORTHBRIDGE_OWNED       0x08
UMASK_DATA_CACHE_REFILLS_NORTHBRIDGE_MODIFIED    0x10
UMASK_DATA_CACHE_REFILLS_NORTHBRIDGE_ALL         0x1E

EVENT_DATA_CACHE_EVICTED     0x44   PMC
UMASK_DATA_CACHE_EVICTED_INVALID     0x01
UMASK_DATA_CACHE_EVICTED_SHARED      0x02
UMASK_DATA_CACHE_EVICTED_EXCLUSIVE   0x04
UMASK_DATA_CACHE_EVICTED_OWNED       0x08
UMASK_DATA_CACHE_EVICTED_MODIFIED    0x10
UMASK_DATA_CACHE_EVICTED_PREFETCH_NTA         0x20
UMASK_DATA_CACHE_EVICTED_NOT_PREFETCH_NTA     0x40
UMASK_DATA_CACHE_EVICTED_ALL     0x1F

EVENT_DTLB_L2_HIT                  0x45   PMC
UMASK_DTLB_L2_HIT_4KB              0x01
UMASK_DTLB_L2_HIT_2MB              0x02
UMASK_DTLB_L2_HIT_1GB              0x04
UMASK_DTLB_L2_HIT_ALL              0x07

EVENT_DTLB_L2_MISS                 0x46   PMC
UMASK_DTLB_L2_MISS_4KB             0x01
UMASK_DTLB_L2_MISS_2MB             0x02
UMASK_DTLB_L2_MISS_1GB             0x04
UMASK_DTLB_L2_MISS_ALL             0x07

EVENT_MISALIGNED_ACCESS           0x47   PMC
UMASK_MISALIGNED_ACCESS           0x00

EVENT_LATE_CANCEL_ACCESS           0x48   PMC
UMASK_LATE_CANCEL_ACCESS           0x00

EVENT_EARLY_CANCEL_ACCESS           0x49   PMC
UMASK_EARLY_CANCEL_ACCESS           0x00

EVENT_SINGLE_BIT_ERRORS             0x4A   PMC
UMASK_SINGLE_BIT_ERRORS_SCRUBBER    0x01
UMASK_SINGLE_BIT_ERRORS_PIGGYBACK   0x02
UMASK_SINGLE_BIT_ERRORS_LOAD_PIPE   0x04
UMASK_SINGLE_BIT_ERRORS_STORE_PIPE  0x08

EVENT_PREFETCH_INSTRUCTION_DISPATCHED   0x4B   PMC
UMASK_PREFETCH_INSTRUCTION_DISPATCHED_LOAD   0x01
UMASK_PREFETCH_INSTRUCTION_DISPATCHED_STORE  0x02
UMASK_PREFETCH_INSTRUCTION_DISPATCHED_NTA    0x04

EVENT_DCACHE_LOCK_MISS           0x4C   PMC
UMASK_DCACHE_LOCK_MISS           0x02

EVENT_DTLB_L1_HIT                 0x4D   PMC
UMASK_DTLB_L1_HIT_4KB             0x01
UMASK_DTLB_L1_HIT_2MB             0x02
UMASK_DTLB_L1_HIT_1GB             0x04
UMASK_DTLB_L1_HIT_ANY             0x07

EVENT_SW_PREFETCH_HIT                0x52   PMC
UMASK_SW_PREFETCH_HIT_L1             0x01
UMASK_SW_PREFETCH_HIT_L2             0x08

EVENT_GLOBAL_TLB_FLUSH           0x54   PMC
UMASK_GLOBAL_TLB_FLUSH           0x00

EVENT_MEMORY_REQUEST                            0x65   PMC
UMASK_MEMORY_REQUEST_NON_CACHEABLE              0x01
UMASK_MEMORY_REQUEST_WRITE_COMBINED             0x02
UMASK_MEMORY_REQUEST_STREAMING_STORE            0x80

EVENT_DATA_PREFETCHER             0x67   PMC
UMASK_DATA_PREFETCHER_CANCELED    0x01
UMASK_DATA_PREFETCHER_ATTEMPTS    0x02

EVENT_NORTHBRIDGE_READ_RESPONSE     0x6C   PMC
UMASK_NORTHBRIDGE_READ_RESPONSE_EXCLUSIVE      0x01
UMASK_NORTHBRIDGE_READ_RESPONSE_MODIFIED       0x02
UMASK_NORTHBRIDGE_READ_RESPONSE_SHARED         0x04
UMASK_NORTHBRIDGE_READ_RESPONSE_ALL            0x07
UMASK_NORTHBRIDGE_READ_RESPONSE_OWNED          0x08
UMASK_NORTHBRIDGE_READ_RESPONSE_DATA_ERROR     0x10

EVENT_OCTWORDS_WRITE_TRANSFERS           0x6D   PMC
UMASK_OCTWORDS_WRITE_TRANSFERS           0x01

EVENT_CPU_CLOCKS_UNHALTED           0x76   PMC
UMASK_CPU_CLOCKS_UNHALTED           0x00

EVENT_L2_REQUESTS                       0x7D   PMC
UMASK_L2_REQUESTS_ICACHE_FILL           0x01
UMASK_L2_REQUESTS_DCACHE_FILL           0x02
UMASK_L2_REQUESTS_TLBCACHE_FILL         0x04
UMASK_L2_REQUESTS_ALL                   0x07
UMASK_L2_REQUESTS_TAG_SNOOP_REQUEST     0x08
UMASK_L2_REQUESTS_CANCELLED_REQUEST     0x10
UMASK_L2_REQUESTS_HARDWARE_PREFETCH     0x20

EVENT_L2_MISSES                       0x7E   PMC
UMASK_L2_MISSES_ICACHE_FILL           0x01
UMASK_L2_MISSES_DCACHE_FILL           0x02
UMASK_L2_MISSES_TLB_WALK              0x04
UMASK_L2_MISSES_ALL                   0x07
UMASK_L2_MISSES_HARDWARE_PREFETCH     0x08

EVENT_L2_FILL                  0x7F   PMC
UMASK_L2_FILL_VICTIMS           0x01
UMASK_L2_FILL_WRITEBACKS        0x02
UMASK_L2_FILL_ALL               0x03

EVENT_ICACHE_FETCHES           0x80   PMC
UMASK_ICACHE_FETCHES           0x00

EVENT_ICACHE_MISSES           0x81   PMC
UMASK_ICACHE_MISSES           0x00

EVENT_ICACHE_REFILLS_L2           0x82   PMC
UMASK_ICACHE_REFILLS_L2           0x00

EVENT_ICACHE_REFILLS_MEM          0x83   PMC
UMASK_ICACHE_REFILLS_MEM          0x00

EVENT_ITLB_L2_HIT          0x84   PMC
UMASK_ITLB_L2_HIT          0x00

EVENT_ITLB_L2_MISS           0x85   PMC
UMASK_ITLB_L2_MISS_4KB       0x01
UMASK_ITLB_L2_MISS_2MB       0x02
UMASK_ITLB_L2_MISS_ANY       0x03

EVENT_PIPELINE_RESTART_STREAM_PROBE    0x86   PMC
UMASK_PIPELINE_RESTART_STREAM_PROBE    0x00

EVENT_INSTRUCTION_FETCH_STALL    0x87   PMC
UMASK_INSTRUCTION_FETCH_STALL    0x00

EVENT_RETURN_STACK_HITS    0x88   PMC
UMASK_RETURN_STACK_HITS    0x00

EVENT_RETURN_STACK_OVERFLOW    0x89   PMC
UMASK_RETURN_STACK_OVERFLOW    0x00

EVENT_ICACHE_VICTIMS    0x8B   PMC
UMASK_ICACHE_VICTIMS    0x00

EVENT_ICACHE_LINES_INVALIDATED    0x8C   PMC
UMASK_ICACHE_LINES_INVALIDATED_NOHIT    0x01
UMASK_ICACHE_LINES_INVALIDATED_HIT      0x02

EVENT_ITLB_RELOADS    0x99   PMC
UMASK_ITLB_RELOADS    0x00

EVENT_ITLB_RELOADS_ABORTED    0x9A   PMC
UMASK_ITLB_RELOADS_ABORTED    0x00

EVENT_INSTRUCTIONS_RETIRED    0xC0   PMC
UMASK_INSTRUCTIONS_RETIRED    0x00

EVENT_UOPS_RETIRED    0xC1   PMC
UMASK_UOPS_RETIRED    0x00

EVENT_BRANCH_RETIRED    0xC2   PMC
UMASK_BRANCH_RETIRED    0x00

EVENT_BRANCH_MISPREDICT_RETIRED    0xC3   PMC
UMASK_BRANCH_MISPREDICT_RETIRED    0x00

EVENT_BRANCH_TAKEN_RETIRED    0xC4   PMC
UMASK_BRANCH_TAKEN_RETIRED    0x00

EVENT_BRANCH_TAKEN_MISPREDICTED_RETIRED    0xC5   PMC
UMASK_BRANCH_TAKEN_MISPREDICTED_RETIRED    0x00

EVENT_TRANSFER_FAR_CONTROL_RETIRED    0xC6   PMC
UMASK_TRANSFER_FAR_CONTROL_RETIRED    0x00

EVENT_BRANCH_RESYNCS_RETIRED    0xC7   PMC
UMASK_BRANCH_RESYNCS_RETIRED    0x00

EVENT_NEAR_RETURNS_RETIRED    0xC8   PMC
UMASK_NEAR_RETURNS_RETIRED    0x00

EVENT_NEAR_RETURNS_MISPREDICTED_RETIRED    0xC9   PMC
UMASK_NEAR_RETURNS_MISPREDICTED_RETIRED    0x00

EVENT_BRANCH_INDIRECT_MISPREDICT_RETIRED    0xCA   PMC
UMASK_BRANCH_INDIRECT_MISPREDICT_RETIRED    0x00

EVENT_FP_INSTRUCTIONS_RETIRED    0xCB   PMC
UMASK_FP_INSTRUCTIONS_RETIRED_X87    0x01
UMASK_FP_INSTRUCTIONS_RETIRED_MMX    0x02
UMASK_FP_INSTRUCTIONS_RETIRED_SSE    0x04
UMASK_FP_INSTRUCTIONS_RETIRED_ALL    0x07

EVENT_FASTPATH_RETIRED    0xCC     PMC
UMASK_FASTPATH_RETIRED_0    0x01
UMASK_FASTPATH_RETIRED_1    0x02
UMASK_FASTPATH_RETIRED_2    0x04

EVENT_INTERRUPTS_MASKED_CYCLES    0xCE     PMC
UMASK_INTERRUPTS_MASKED_CYCLES    0x00

EVENT_INTERRUPTS_TAKEN    0xCF     PMC
UMASK_INTERRUPTS_TAKEN    0x00

EVENT_DECODER_EMPTY_CYCLES    0xD0     PMC
UMASK_DECODER_EMPTY_CYCLES    0x00

EVENT_DISPATCH_STALLS    0xD1     PMC
UMASK_DISPATCH_STALLS    0x00

EVENT_DISPATCH_STALLS_BRANCH    0xD2     PMC
UMASK_DISPATCH_STALLS_BRANCH    0x00

EVENT_DISPATCH_STALLS_SERIAL    0xD3     PMC
UMASK_DISPATCH_STALLS_SERIAL    0x00

EVENT_DISPATCH_STALLS_SEGMENT_LOAD    0xD4     PMC
UMASK_DISPATCH_STALLS_SEGMENT_LOAD    0x00

EVENT_DISPATCH_STALLS_ROB_FULL    0xD5     PMC
UMASK_DISPATCH_STALLS_ROB_FULL    0x00

EVENT_DISPATCH_STALLS_RES_FULL    0xD6     PMC
UMASK_DISPATCH_STALLS_RES_FULL    0x00

EVENT_DISPATCH_STALLS_FPU_FULL    0xD7     PMC
UMASK_DISPATCH_STALLS_FPU_FULL    0x00

EVENT_DISPATCH_STALLS_LS_FULL    0xD8     PMC
UMASK_DISPATCH_STALLS_LS_FULL    0x00

EVENT_DISPATCH_STALLS_ALL_QUIT    0xD9     PMC
UMASK_DISPATCH_STALLS_ALL_QUIT    0x00

EVENT_DISPATCH_STALLS_DRAIN    0xDA     PMC
UMASK_DISPATCH_STALLS_DRAIN    0x00

EVENT_FPU_EXCEPTIONS    0xDB     PMC
UMASK_FPU_EXCEPTIONS_X87_RECLASS   0x01
UMASK_FPU_EXCEPTIONS_SSE_RETYPE    0x02
UMASK_FPU_EXCEPTIONS_SSE_RECLASS   0x04
UMASK_FPU_EXCEPTIONS_MICROTRAPS    0x08
UMASK_FPU_EXCEPTIONS_ALL           0x0F

EVENT_X87_FLOPS_RETIRED        0x1C0     PMC
UMASK_X87_FLOPS_RETIRED_ADD    0x01
UMASK_X87_FLOPS_RETIRED_MULT   0x02
UMASK_X87_FLOPS_RETIRED_DIV    0x04

EVENT_LFENCE_RETIRED    0x1D3     PMC
UMASK_LFENCE_RETIRED    0x00

EVENT_SFENCE_RETIRED    0x1D4     PMC
UMASK_SFENCE_RETIRED    0x00

EVENT_MFENCE_RETIRED    0x1D5     PMC
UMASK_MFENCE_RETIRED    0x00

EVENT_DRAM_ACCESSES    0xE0     PMC
UMASK_DRAM_ACCESSES_DCT0_HIT        0x01
UMASK_DRAM_ACCESSES_DCTO_MISS       0x02
UMASK_DRAM_ACCESSES_DCTO_CONFLICT   0x04
UMASK_DRAM_ACCESSES_DCTO_ALL        0x07
UMASK_DRAM_ACCESSES_DCT1_HIT        0x08
UMASK_DRAM_ACCESSES_DCT1_MISS       0x10
UMASK_DRAM_ACCESSES_DCT1_CONFLICT   0x20
UMASK_DRAM_ACCESSES_DCT1_ALL        0x38

EVENT_DRAM_PAGE_TABLE_OVERFLOW    0xE1     PMC
UMASK_DRAM_PAGE_TABLE_OVERFLOW_ALL        0x00
UMASK_DRAM_PAGE_TABLE_OVERFLOW_DCT0       0x01
UMASK_DRAM_PAGE_TABLE_OVERFLOW_DCT1       0x02

EVENT_DRAM_COMMAND_SLOTS_MISSED    0xE2     PMC
UMASK_DRAM_COMMAND_SLOTS_MISSED_ALL        0x00
UMASK_DRAM_COMMAND_SLOTS_MISSED_DCT0       0x01
UMASK_DRAM_COMMAND_SLOTS_MISSED_DCT1       0x02

EVENT_DRAM_CONTROLLER_TURNAROUNDS    0xE3     PMC
UMASK_DRAM_CONTROLLER_TURNAROUNDS_DCT0_CHIP_SELECT       0x01
UMASK_DRAM_CONTROLLER_TURNAROUNDS_DCT0_READ_TO_WRITE     0x02
UMASK_DRAM_CONTROLLER_TURNAROUNDS_DCT0_WRITE_TO_READ     0x04
UMASK_DRAM_CONTROLLER_TURNAROUNDS_DCT1_CHIP_SELECT       0x08
UMASK_DRAM_CONTROLLER_TURNAROUNDS_DCT1_READ_TO_WRITE     0x10
UMASK_DRAM_CONTROLLER_TURNAROUNDS_DCT1_WRITE_TO_READ     0x20

EVENT_DRAM_CONTROLLER_BYPASS_SATURATION    0xE4     PMC
UMASK_DRAM_CONTROLLER_BYPASS_SATURATION_HIGH       0x01
UMASK_DRAM_CONTROLLER_BYPASS_SATURATION_MEDIUM     0x02
UMASK_DRAM_CONTROLLER_BYPASS_SATURATION_DCT0       0x04
UMASK_DRAM_CONTROLLER_BYPASS_SATURATION_DCT1       0x08

EVENT_CACHE_BLOCK_COMMANDS    0xEA     PMC
UMASK_CACHE_BLOCK_COMMANDS_VICTIM         0x01
UMASK_CACHE_BLOCK_COMMANDS_READ           0x04
UMASK_CACHE_BLOCK_COMMANDS_READ_SHARED    0x08
UMASK_CACHE_BLOCK_COMMANDS_READ_MODIFIED  0x10
UMASK_CACHE_BLOCK_COMMANDS_DIRTY          0x20

EVENT_MEMORY_REQUESTS    0x1F0     PMC
UMASK_MEMORY_REQUESTS_WRITE            0x01
UMASK_MEMORY_REQUESTS_READ             0x02
UMASK_MEMORY_REQUESTS_PREFETCH         0x04
UMASK_MEMORY_REQUESTS_WRITE_32         0x08
UMASK_MEMORY_REQUESTS_WRITE_64         0x10
UMASK_MEMORY_REQUESTS_READ_32          0x20
UMASK_MEMORY_REQUESTS_READ_64          0x40
UMASK_MEMORY_REQUESTS_READ_WHILE_WRITE         0x80

EVENT_L3_READ_REQUESTS              0x4E0     PMC
UMASK_L3_READ_REQUESTS_D_EXCLUSIVE_CORE_0    0x11
UMASK_L3_READ_REQUESTS_I_SHARED_CORE_0       0x12
UMASK_L3_READ_REQUESTS_MODIFY_CORE_0         0x14
UMASK_L3_READ_REQUESTS_D_EXCLUSIVE_CORE_1    0x21
UMASK_L3_READ_REQUESTS_I_SHARED_CORE_1       0x22
UMASK_L3_READ_REQUESTS_MODIFY_CORE_1         0x24
UMASK_L3_READ_REQUESTS_D_EXCLUSIVE_CORE_2    0x41
UMASK_L3_READ_REQUESTS_I_SHARED_CORE_2       0x42
UMASK_L3_READ_REQUESTS_MODIFY_CORE_2         0x44
UMASK_L3_READ_REQUESTS_D_EXCLUSIVE_CORE_3    0x81
UMASK_L3_READ_REQUESTS_I_SHARED_CORE_3       0x82
UMASK_L3_READ_REQUESTS_MODIFY_CORE_3         0x84
UMASK_L3_READ_REQUESTS_ALL_CORE_0            0x17
UMASK_L3_READ_REQUESTS_ALL_CORE_1            0x27
UMASK_L3_READ_REQUESTS_ALL_CORE_2            0x47
UMASK_L3_READ_REQUESTS_ALL_CORE_3            0x87
UMASK_L3_READ_REQUESTS_ALL_ALL_CORES         0xF7

EVENT_L3_MISSES                      0x4E1     PMC
UMASK_L3_MISSES_D_EXCLUSIVE_CORE_0    0x11
UMASK_L3_MISSES_I_SHARED_CORE_0       0x12
UMASK_L3_MISSES_MODIFY_CORE_0         0x14
UMASK_L3_MISSES_D_EXCLUSIVE_CORE_1    0x21
UMASK_L3_MISSES_I_SHARED_CORE_1       0x22
UMASK_L3_MISSES_MODIFY_CORE_1         0x24
UMASK_L3_MISSES_D_EXCLUSIVE_CORE_2    0x41
UMASK_L3_MISSES_I_SHARED_CORE_2       0x42
UMASK_L3_MISSES_MODIFY_CORE_2         0x44
UMASK_L3_MISSES_D_EXCLUSIVE_CORE_3    0x81
UMASK_L3_MISSES_I_SHARED_CORE_3       0x82
UMASK_L3_MISSES_MODIFY_CORE_3         0x84
UMASK_L3_MISSES_ALL_CORE_0            0x17
UMASK_L3_MISSES_ALL_CORE_1            0x27
UMASK_L3_MISSES_ALL_CORE_2            0x47
UMASK_L3_MISSES_ALL_CORE_3            0x87
UMASK_L3_MISSES_ALL_ALL_CORES         0xF7

EVENT_L3_FILLS                       0x4E2     PMC
UMASK_L3_FILLS_SHARED_CORE_0          0x11
UMASK_L3_FILLS_EXCLUSIVE_CORE_0       0x12
UMASK_L3_FILLS_OWNED_CORE_0           0x14
UMASK_L3_FILLS_MODIFY_CORE_0          0x18
UMASK_L3_FILLS_SHARED_CORE_1          0x21
UMASK_L3_FILLS_EXCLUSIVE_CORE_1       0x22
UMASK_L3_FILLS_OWNED_CORE_1           0x24
UMASK_L3_FILLS_MODIFY_CORE_1          0x28
UMASK_L3_FILLS_SHARED_CORE_2          0x41
UMASK_L3_FILLS_EXCLUSIVE_CORE_2       0x42
UMASK_L3_FILLS_OWNED_CORE_2           0x44
UMASK_L3_FILLS_MODIFY_CORE_2          0x48
UMASK_L3_FILLS_SHARED_CORE_3          0x81
UMASK_L3_FILLS_EXCLUSIVE_CORE_3       0x82
UMASK_L3_FILLS_OWNED_CORE_3           0x84
UMASK_L3_FILLS_MODIFY_CORE_3          0x88
UMASK_L3_FILLS_SHARED_ALL_CORES       0xF1
UMASK_L3_FILLS_EXCLUSIVE_ALL_CORES    0xF2
UMASK_L3_FILLS_OWNED_ALL_CORES        0xF4
UMASK_L3_FILLS_MODIFY_ALL_CORES       0xF8
UMASK_L3_FILLS_ALL_ALL_CORES          0xFF

EVENT_L3_EVICTS                       0x4E3     PMC
UMASK_L3_EVICTS_SHARED                 0x01
UMASK_L3_EVICTS_EXCLUSIVE              0x02
UMASK_L3_EVICTS_OWNED                  0x04
UMASK_L3_EVICTS_MODIFY                 0x08

EVENT_CPU_TO_DRAM                     0x1E0     PMC
UMASK_CPU_TO_DRAM_LOCAL_TO_0          0x01
UMASK_CPU_TO_DRAM_LOCAL_TO_1          0x02
UMASK_CPU_TO_DRAM_LOCAL_TO_2          0x04
UMASK_CPU_TO_DRAM_LOCAL_TO_3          0x08
UMASK_CPU_TO_DRAM_LOCAL_TO_4          0x10
UMASK_CPU_TO_DRAM_LOCAL_TO_5          0x20
UMASK_CPU_TO_DRAM_LOCAL_TO_6          0x40
UMASK_CPU_TO_DRAM_LOCAL_TO_7          0x80

EVENT_IO_TO_DRAM                     0x1E1     PMC
UMASK_IO_TO_DRAM_LOCAL_TO_0          0x01
UMASK_IO_TO_DRAM_LOCAL_TO_1          0x02
UMASK_IO_TO_DRAM_LOCAL_TO_2          0x04
UMASK_IO_TO_DRAM_LOCAL_TO_3          0x08
UMASK_IO_TO_DRAM_LOCAL_TO_4          0x10
UMASK_IO_TO_DRAM_LOCAL_TO_5          0x20
UMASK_IO_TO_DRAM_LOCAL_TO_6          0x40
UMASK_IO_TO_DRAM_LOCAL_TO_7          0x80

EVENT_CPU_READ_COMMAND_LATENCY                        0x1E2     PMC
UMASK_CPU_READ_COMMAND_LATENCY_READ_BLOCK             0x01
UMASK_CPU_READ_COMMAND_LATENCY_READ_BLOCK_SHARED      0x02
UMASK_CPU_READ_COMMAND_LATENCY_READ_BLOCK_MODIFIED    0x04
UMASK_CPU_READ_COMMAND_LATENCY_CHANGE_TO_DIRTY        0x08
UMASK_CPU_READ_COMMAND_LATENCY_LOCAL_TO_0             0x10
UMASK_CPU_READ_COMMAND_LATENCY_LOCAL_TO_1             0x20
UMASK_CPU_READ_COMMAND_LATENCY_LOCAL_TO_2             0x40
UMASK_CPU_READ_COMMAND_LATENCY_LOCAL_TO_3             0x80

EVENT_HYPERTRANSPORT_LINK0             0xF6     PMC
UMASK_HYPERTRANSPORT_LINK0_COMMAND_DWORD_SENT          0x01
UMASK_HYPERTRANSPORT_LINK0_DATA_DWORD_SENT             0x02
UMASK_HYPERTRANSPORT_LINK0_BUFFER_DWORD_SENT           0x04
UMASK_HYPERTRANSPORT_LINK0_NOP_DWORD_SENT              0x08
UMASK_HYPERTRANSPORT_LINK0_ADDRESS_DWORD_SENT          0x10
UMASK_HYPERTRANSPORT_LINK0_PER_PACKET_CRC_SENT         0x20
UMASK_HYPERTRANSPORT_LINK0_SUBLINK_MASK                0x80
UMASK_HYPERTRANSPORT_LINK0_ALL_SENT                    0x37

EVENT_HYPERTRANSPORT_LINK1             0xF7     PMC
UMASK_HYPERTRANSPORT_LINK1_COMMAND_DWORD_SENT          0x01
UMASK_HYPERTRANSPORT_LINK1_DATA_DWORD_SENT             0x02
UMASK_HYPERTRANSPORT_LINK1_BUFFER_DWORD_SENT           0x04
UMASK_HYPERTRANSPORT_LINK1_NOP_DWORD_SENT              0x08
UMASK_HYPERTRANSPORT_LINK1_ADDRESS_DWORD_SENT          0x10
UMASK_HYPERTRANSPORT_LINK1_PER_PACKET_CRC_SENT         0x20
UMASK_HYPERTRANSPORT_LINK1_SUBLINK_MASK                0x80
UMASK_HYPERTRANSPORT_LINK1_ALL_SENT                    0x37

EVENT_HYPERTRANSPORT_LINK2             0xF8     PMC
UMASK_HYPERTRANSPORT_LINK2_COMMAND_DWORD_SENT          0x01
UMASK_HYPERTRANSPORT_LINK2_DATA_DWORD_SENT             0x02
UMASK_HYPERTRANSPORT_LINK2_BUFFER_DWORD_SENT           0x04
UMASK_HYPERTRANSPORT_LINK2_NOP_DWORD_SENT              0x08
UMASK_HYPERTRANSPORT_LINK2_ADDRESS_DWORD_SENT          0x10
UMASK_HYPERTRANSPORT_LINK2_PER_PACKET_CRC_SENT         0x20
UMASK_HYPERTRANSPORT_LINK2_SUBLINK_MASK                0x80
UMASK_HYPERTRANSPORT_LINK2_ALL_SENT                    0x37

EVENT_HYPERTRANSPORT_LINK3             0x1F9     PMC
UMASK_HYPERTRANSPORT_LINK3_COMMAND_DWORD_SENT          0x01
UMASK_HYPERTRANSPORT_LINK3_DATA_DWORD_SENT             0x02
UMASK_HYPERTRANSPORT_LINK3_BUFFER_DWORD_SENT           0x04
UMASK_HYPERTRANSPORT_LINK3_NOP_DWORD_SENT              0x08
UMASK_HYPERTRANSPORT_LINK3_ADDRESS_DWORD_SENT          0x10
UMASK_HYPERTRANSPORT_LINK3_PER_PACKET_CRC_SENT         0x20
UMASK_HYPERTRANSPORT_LINK3_SUBLINK_MASK                0x80
UMASK_HYPERTRANSPORT_LINK3_ALL_SENT                    0x37


