1/*- 2 * Copyright (c) 2005 Joseph Koshy 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. 10 * 2. Redistributions in binary form must reproduce the above copyright 11 * notice, this list of conditions and the following disclaimer in the 12 * documentation and/or other materials provided with the distribution. 13 * 14 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 *
|
26 * $FreeBSD: head/sys/dev/hwpmc/pmc_events.h 229469 2012-01-04 07:33:06Z fabient $
|
26 * $FreeBSD: head/sys/dev/hwpmc/pmc_events.h 229470 2012-01-04 07:58:36Z fabient $ |
27 */ 28 29#ifndef _DEV_HWPMC_PMC_EVENTS_H_ 30#define _DEV_HWPMC_PMC_EVENTS_H_ 31 32/* 33 * Note: Documentation on adding events can be found both in 34 * the source tree at src/share/doc/papers/hwpmc/hwpmc.ms 35 * as well as on-line at: 36 * 37 * http://wiki.freebsd.org/PmcTools/PmcHardwareHowTo 38 * 39 * Please refer to those resources before you attempt to modify 40 * this file or the hwpmc driver/subsystem. 41 */ 42 43/* * PMC event codes. 44 * 45 * __PMC_EV(CLASS, SYMBOLIC-NAME) 46 * 47 */ 48 49/* 50 * AMD K7 Events, from "The AMD Athlon(tm) Processor x86 Code 51 * Optimization Guide" [Doc#22007K, Feb 2002] 52 */ 53 54#define __PMC_EV_K7() \ 55__PMC_EV(K7, DC_ACCESSES) \ 56__PMC_EV(K7, DC_MISSES) \ 57__PMC_EV(K7, DC_REFILLS_FROM_L2) \ 58__PMC_EV(K7, DC_REFILLS_FROM_SYSTEM) \ 59__PMC_EV(K7, DC_WRITEBACKS) \ 60__PMC_EV(K7, L1_DTLB_MISS_AND_L2_DTLB_HITS) \ 61__PMC_EV(K7, L1_AND_L2_DTLB_MISSES) \ 62__PMC_EV(K7, MISALIGNED_REFERENCES) \ 63__PMC_EV(K7, IC_FETCHES) \ 64__PMC_EV(K7, IC_MISSES) \ 65__PMC_EV(K7, L1_ITLB_MISSES) \ 66__PMC_EV(K7, L1_L2_ITLB_MISSES) \ 67__PMC_EV(K7, RETIRED_INSTRUCTIONS) \ 68__PMC_EV(K7, RETIRED_OPS) \ 69__PMC_EV(K7, RETIRED_BRANCHES) \ 70__PMC_EV(K7, RETIRED_BRANCHES_MISPREDICTED) \ 71__PMC_EV(K7, RETIRED_TAKEN_BRANCHES) \ 72__PMC_EV(K7, RETIRED_TAKEN_BRANCHES_MISPREDICTED) \ 73__PMC_EV(K7, RETIRED_FAR_CONTROL_TRANSFERS) \ 74__PMC_EV(K7, RETIRED_RESYNC_BRANCHES) \ 75__PMC_EV(K7, INTERRUPTS_MASKED_CYCLES) \ 76__PMC_EV(K7, INTERRUPTS_MASKED_WHILE_PENDING_CYCLES) \ 77__PMC_EV(K7, HARDWARE_INTERRUPTS) 78 79#define PMC_EV_K7_FIRST PMC_EV_K7_DC_ACCESSES 80#define PMC_EV_K7_LAST PMC_EV_K7_HARDWARE_INTERRUPTS 81 82 83/* 84 * Intel P4 Events, from "IA-32 Intel(r) Architecture Software 85 * Developer's Manual, Volume 3: System Programming Guide" [245472-012] 86 */ 87 88#define __PMC_EV_P4() \ 89__PMC_EV(P4, TC_DELIVER_MODE) \ 90__PMC_EV(P4, BPU_FETCH_REQUEST) \ 91__PMC_EV(P4, ITLB_REFERENCE) \ 92__PMC_EV(P4, MEMORY_CANCEL) \ 93__PMC_EV(P4, MEMORY_COMPLETE) \ 94__PMC_EV(P4, LOAD_PORT_REPLAY) \ 95__PMC_EV(P4, STORE_PORT_REPLAY) \ 96__PMC_EV(P4, MOB_LOAD_REPLAY) \ 97__PMC_EV(P4, PAGE_WALK_TYPE) \ 98__PMC_EV(P4, BSQ_CACHE_REFERENCE) \ 99__PMC_EV(P4, IOQ_ALLOCATION) \ 100__PMC_EV(P4, IOQ_ACTIVE_ENTRIES) \ 101__PMC_EV(P4, FSB_DATA_ACTIVITY) \ 102__PMC_EV(P4, BSQ_ALLOCATION) \ 103__PMC_EV(P4, BSQ_ACTIVE_ENTRIES) \ 104__PMC_EV(P4, SSE_INPUT_ASSIST) \ 105__PMC_EV(P4, PACKED_SP_UOP) \ 106__PMC_EV(P4, PACKED_DP_UOP) \ 107__PMC_EV(P4, SCALAR_SP_UOP) \ 108__PMC_EV(P4, SCALAR_DP_UOP) \ 109__PMC_EV(P4, 64BIT_MMX_UOP) \ 110__PMC_EV(P4, 128BIT_MMX_UOP) \ 111__PMC_EV(P4, X87_FP_UOP) \ 112__PMC_EV(P4, X87_SIMD_MOVES_UOP) \ 113__PMC_EV(P4, GLOBAL_POWER_EVENTS) \ 114__PMC_EV(P4, TC_MS_XFER) \ 115__PMC_EV(P4, UOP_QUEUE_WRITES) \ 116__PMC_EV(P4, RETIRED_MISPRED_BRANCH_TYPE) \ 117__PMC_EV(P4, RETIRED_BRANCH_TYPE) \ 118__PMC_EV(P4, RESOURCE_STALL) \ 119__PMC_EV(P4, WC_BUFFER) \ 120__PMC_EV(P4, B2B_CYCLES) \ 121__PMC_EV(P4, BNR) \ 122__PMC_EV(P4, SNOOP) \ 123__PMC_EV(P4, RESPONSE) \ 124__PMC_EV(P4, FRONT_END_EVENT) \ 125__PMC_EV(P4, EXECUTION_EVENT) \ 126__PMC_EV(P4, REPLAY_EVENT) \ 127__PMC_EV(P4, INSTR_RETIRED) \ 128__PMC_EV(P4, UOPS_RETIRED) \ 129__PMC_EV(P4, UOP_TYPE) \ 130__PMC_EV(P4, BRANCH_RETIRED) \ 131__PMC_EV(P4, MISPRED_BRANCH_RETIRED) \ 132__PMC_EV(P4, X87_ASSIST) \ 133__PMC_EV(P4, MACHINE_CLEAR) 134 135#define PMC_EV_P4_FIRST PMC_EV_P4_TC_DELIVER_MODE 136#define PMC_EV_P4_LAST PMC_EV_P4_MACHINE_CLEAR 137 138/* Intel Pentium Pro, P-II, P-III and Pentium-M style events */ 139 140#define __PMC_EV_P6() \ 141__PMC_EV(P6, DATA_MEM_REFS) \ 142__PMC_EV(P6, DCU_LINES_IN) \ 143__PMC_EV(P6, DCU_M_LINES_IN) \ 144__PMC_EV(P6, DCU_M_LINES_OUT) \ 145__PMC_EV(P6, DCU_MISS_OUTSTANDING) \ 146__PMC_EV(P6, IFU_FETCH) \ 147__PMC_EV(P6, IFU_FETCH_MISS) \ 148__PMC_EV(P6, ITLB_MISS) \ 149__PMC_EV(P6, IFU_MEM_STALL) \ 150__PMC_EV(P6, ILD_STALL) \ 151__PMC_EV(P6, L2_IFETCH) \ 152__PMC_EV(P6, L2_LD) \ 153__PMC_EV(P6, L2_ST) \ 154__PMC_EV(P6, L2_LINES_IN) \ 155__PMC_EV(P6, L2_LINES_OUT) \ 156__PMC_EV(P6, L2_M_LINES_INM) \ 157__PMC_EV(P6, L2_M_LINES_OUTM) \ 158__PMC_EV(P6, L2_RQSTS) \ 159__PMC_EV(P6, L2_ADS) \ 160__PMC_EV(P6, L2_DBUS_BUSY) \ 161__PMC_EV(P6, L2_DBUS_BUSY_RD) \ 162__PMC_EV(P6, BUS_DRDY_CLOCKS) \ 163__PMC_EV(P6, BUS_LOCK_CLOCKS) \ 164__PMC_EV(P6, BUS_REQ_OUTSTANDING) \ 165__PMC_EV(P6, BUS_TRAN_BRD) \ 166__PMC_EV(P6, BUS_TRAN_RFO) \ 167__PMC_EV(P6, BUS_TRANS_WB) \ 168__PMC_EV(P6, BUS_TRAN_IFETCH) \ 169__PMC_EV(P6, BUS_TRAN_INVAL) \ 170__PMC_EV(P6, BUS_TRAN_PWR) \ 171__PMC_EV(P6, BUS_TRANS_P) \ 172__PMC_EV(P6, BUS_TRANS_IO) \ 173__PMC_EV(P6, BUS_TRAN_DEF) \ 174__PMC_EV(P6, BUS_TRAN_BURST) \ 175__PMC_EV(P6, BUS_TRAN_ANY) \ 176__PMC_EV(P6, BUS_TRAN_MEM) \ 177__PMC_EV(P6, BUS_DATA_RCV) \ 178__PMC_EV(P6, BUS_BNR_DRV) \ 179__PMC_EV(P6, BUS_HIT_DRV) \ 180__PMC_EV(P6, BUS_HITM_DRV) \ 181__PMC_EV(P6, BUS_SNOOP_STALL) \ 182__PMC_EV(P6, FLOPS) \ 183__PMC_EV(P6, FP_COMPS_OPS_EXE) \ 184__PMC_EV(P6, FP_ASSIST) \ 185__PMC_EV(P6, MUL) \ 186__PMC_EV(P6, DIV) \ 187__PMC_EV(P6, CYCLES_DIV_BUSY) \ 188__PMC_EV(P6, LD_BLOCKS) \ 189__PMC_EV(P6, SB_DRAINS) \ 190__PMC_EV(P6, MISALIGN_MEM_REF) \ 191__PMC_EV(P6, EMON_KNI_PREF_DISPATCHED) \ 192__PMC_EV(P6, EMON_KNI_PREF_MISS) \ 193__PMC_EV(P6, INST_RETIRED) \ 194__PMC_EV(P6, UOPS_RETIRED) \ 195__PMC_EV(P6, INST_DECODED) \ 196__PMC_EV(P6, EMON_KNI_INST_RETIRED) \ 197__PMC_EV(P6, EMON_KNI_COMP_INST_RET) \ 198__PMC_EV(P6, HW_INT_RX) \ 199__PMC_EV(P6, CYCLES_INT_MASKED) \ 200__PMC_EV(P6, CYCLES_INT_PENDING_AND_MASKED) \ 201__PMC_EV(P6, BR_INST_RETIRED) \ 202__PMC_EV(P6, BR_MISS_PRED_RETIRED) \ 203__PMC_EV(P6, BR_TAKEN_RETIRED) \ 204__PMC_EV(P6, BR_MISS_PRED_TAKEN_RET) \ 205__PMC_EV(P6, BR_INST_DECODED) \ 206__PMC_EV(P6, BTB_MISSES) \ 207__PMC_EV(P6, BR_BOGUS) \ 208__PMC_EV(P6, BACLEARS) \ 209__PMC_EV(P6, RESOURCE_STALLS) \ 210__PMC_EV(P6, PARTIAL_RAT_STALLS) \ 211__PMC_EV(P6, SEGMENT_REG_LOADS) \ 212__PMC_EV(P6, CPU_CLK_UNHALTED) \ 213__PMC_EV(P6, MMX_INSTR_EXEC) \ 214__PMC_EV(P6, MMX_SAT_INSTR_EXEC) \ 215__PMC_EV(P6, MMX_UOPS_EXEC) \ 216__PMC_EV(P6, MMX_INSTR_TYPE_EXEC) \ 217__PMC_EV(P6, FP_MMX_TRANS) \ 218__PMC_EV(P6, MMX_ASSIST) \ 219__PMC_EV(P6, MMX_INSTR_RET) \ 220__PMC_EV(P6, SEG_RENAME_STALLS) \ 221__PMC_EV(P6, SEG_REG_RENAMES) \ 222__PMC_EV(P6, RET_SEG_RENAMES) \ 223__PMC_EV(P6, EMON_EST_TRANS) \ 224__PMC_EV(P6, EMON_THERMAL_TRIP) \ 225__PMC_EV(P6, BR_INST_EXEC) \ 226__PMC_EV(P6, BR_MISSP_EXEC) \ 227__PMC_EV(P6, BR_BAC_MISSP_EXEC) \ 228__PMC_EV(P6, BR_CND_EXEC) \ 229__PMC_EV(P6, BR_CND_MISSP_EXEC) \ 230__PMC_EV(P6, BR_IND_EXEC) \ 231__PMC_EV(P6, BR_IND_MISSP_EXEC) \ 232__PMC_EV(P6, BR_RET_EXEC) \ 233__PMC_EV(P6, BR_RET_MISSP_EXEC) \ 234__PMC_EV(P6, BR_RET_BAC_MISSP_EXEC) \ 235__PMC_EV(P6, BR_CALL_EXEC) \ 236__PMC_EV(P6, BR_CALL_MISSP_EXEC) \ 237__PMC_EV(P6, BR_IND_CALL_EXEC) \ 238__PMC_EV(P6, EMON_SIMD_INSTR_RETIRED) \ 239__PMC_EV(P6, EMON_SYNCH_UOPS) \ 240__PMC_EV(P6, EMON_ESP_UOPS) \ 241__PMC_EV(P6, EMON_FUSED_UOPS_RET) \ 242__PMC_EV(P6, EMON_UNFUSION) \ 243__PMC_EV(P6, EMON_PREF_RQSTS_UP) \ 244__PMC_EV(P6, EMON_PREF_RQSTS_DN) \ 245__PMC_EV(P6, EMON_SSE_SSE2_INST_RETIRED) \ 246__PMC_EV(P6, EMON_SSE_SSE2_COMP_INST_RETIRED) 247 248 249#define PMC_EV_P6_FIRST PMC_EV_P6_DATA_MEM_REFS 250#define PMC_EV_P6_LAST PMC_EV_P6_EMON_SSE_SSE2_COMP_INST_RETIRED 251 252/* AMD K8 PMCs */ 253 254#define __PMC_EV_K8() \ 255__PMC_EV(K8, FP_DISPATCHED_FPU_OPS) \ 256__PMC_EV(K8, FP_CYCLES_WITH_NO_FPU_OPS_RETIRED) \ 257__PMC_EV(K8, FP_DISPATCHED_FPU_FAST_FLAG_OPS) \ 258__PMC_EV(K8, LS_SEGMENT_REGISTER_LOAD) \ 259__PMC_EV(K8, LS_MICROARCHITECTURAL_RESYNC_BY_SELF_MODIFYING_CODE) \ 260__PMC_EV(K8, LS_MICROARCHITECTURAL_RESYNC_BY_SNOOP) \ 261__PMC_EV(K8, LS_BUFFER2_FULL) \ 262__PMC_EV(K8, LS_LOCKED_OPERATION) \ 263__PMC_EV(K8, LS_MICROARCHITECTURAL_LATE_CANCEL) \ 264__PMC_EV(K8, LS_RETIRED_CFLUSH_INSTRUCTIONS) \ 265__PMC_EV(K8, LS_RETIRED_CPUID_INSTRUCTIONS) \ 266__PMC_EV(K8, DC_ACCESS) \ 267__PMC_EV(K8, DC_MISS) \ 268__PMC_EV(K8, DC_REFILL_FROM_L2) \ 269__PMC_EV(K8, DC_REFILL_FROM_SYSTEM) \ 270__PMC_EV(K8, DC_COPYBACK) \ 271__PMC_EV(K8, DC_L1_DTLB_MISS_AND_L2_DTLB_HIT) \ 272__PMC_EV(K8, DC_L1_DTLB_MISS_AND_L2_DTLB_MISS) \ 273__PMC_EV(K8, DC_MISALIGNED_DATA_REFERENCE) \ 274__PMC_EV(K8, DC_MICROARCHITECTURAL_LATE_CANCEL) \ 275__PMC_EV(K8, DC_MICROARCHITECTURAL_EARLY_CANCEL) \ 276__PMC_EV(K8, DC_ONE_BIT_ECC_ERROR) \ 277__PMC_EV(K8, DC_DISPATCHED_PREFETCH_INSTRUCTIONS) \ 278__PMC_EV(K8, DC_DCACHE_ACCESSES_BY_LOCKS) \ 279__PMC_EV(K8, BU_CPU_CLK_UNHALTED) \ 280__PMC_EV(K8, BU_INTERNAL_L2_REQUEST) \ 281__PMC_EV(K8, BU_FILL_REQUEST_L2_MISS) \ 282__PMC_EV(K8, BU_FILL_INTO_L2) \ 283__PMC_EV(K8, IC_FETCH) \ 284__PMC_EV(K8, IC_MISS) \ 285__PMC_EV(K8, IC_REFILL_FROM_L2) \ 286__PMC_EV(K8, IC_REFILL_FROM_SYSTEM) \ 287__PMC_EV(K8, IC_L1_ITLB_MISS_AND_L2_ITLB_HIT) \ 288__PMC_EV(K8, IC_L1_ITLB_MISS_AND_L2_ITLB_MISS) \ 289__PMC_EV(K8, IC_MICROARCHITECTURAL_RESYNC_BY_SNOOP) \ 290__PMC_EV(K8, IC_INSTRUCTION_FETCH_STALL) \ 291__PMC_EV(K8, IC_RETURN_STACK_HIT) \ 292__PMC_EV(K8, IC_RETURN_STACK_OVERFLOW) \ 293__PMC_EV(K8, FR_RETIRED_X86_INSTRUCTIONS) \ 294__PMC_EV(K8, FR_RETIRED_UOPS) \ 295__PMC_EV(K8, FR_RETIRED_BRANCHES) \ 296__PMC_EV(K8, FR_RETIRED_BRANCHES_MISPREDICTED) \ 297__PMC_EV(K8, FR_RETIRED_TAKEN_BRANCHES) \ 298__PMC_EV(K8, FR_RETIRED_TAKEN_BRANCHES_MISPREDICTED) \ 299__PMC_EV(K8, FR_RETIRED_FAR_CONTROL_TRANSFERS) \ 300__PMC_EV(K8, FR_RETIRED_RESYNCS) \ 301__PMC_EV(K8, FR_RETIRED_NEAR_RETURNS) \ 302__PMC_EV(K8, FR_RETIRED_NEAR_RETURNS_MISPREDICTED) \ 303__PMC_EV(K8, FR_RETIRED_TAKEN_BRANCHES_MISPREDICTED_BY_ADDR_MISCOMPARE) \ 304__PMC_EV(K8, FR_RETIRED_FPU_INSTRUCTIONS) \ 305__PMC_EV(K8, FR_RETIRED_FASTPATH_DOUBLE_OP_INSTRUCTIONS) \ 306__PMC_EV(K8, FR_INTERRUPTS_MASKED_CYCLES) \ 307__PMC_EV(K8, FR_INTERRUPTS_MASKED_WHILE_PENDING_CYCLES) \ 308__PMC_EV(K8, FR_TAKEN_HARDWARE_INTERRUPTS) \ 309__PMC_EV(K8, FR_DECODER_EMPTY) \ 310__PMC_EV(K8, FR_DISPATCH_STALLS) \ 311__PMC_EV(K8, FR_DISPATCH_STALL_FROM_BRANCH_ABORT_TO_RETIRE) \ 312__PMC_EV(K8, FR_DISPATCH_STALL_FOR_SERIALIZATION) \ 313__PMC_EV(K8, FR_DISPATCH_STALL_FOR_SEGMENT_LOAD) \ 314__PMC_EV(K8, FR_DISPATCH_STALL_WHEN_REORDER_BUFFER_IS_FULL) \ 315__PMC_EV(K8, FR_DISPATCH_STALL_WHEN_RESERVATION_STATIONS_ARE_FULL) \ 316__PMC_EV(K8, FR_DISPATCH_STALL_WHEN_FPU_IS_FULL) \ 317__PMC_EV(K8, FR_DISPATCH_STALL_WHEN_LS_IS_FULL) \ 318__PMC_EV(K8, FR_DISPATCH_STALL_WHEN_WAITING_FOR_ALL_TO_BE_QUIET) \ 319__PMC_EV(K8, FR_DISPATCH_STALL_WHEN_FAR_XFER_OR_RESYNC_BRANCH_PENDING) \ 320__PMC_EV(K8, FR_FPU_EXCEPTIONS) \ 321__PMC_EV(K8, FR_NUMBER_OF_BREAKPOINTS_FOR_DR0) \ 322__PMC_EV(K8, FR_NUMBER_OF_BREAKPOINTS_FOR_DR1) \ 323__PMC_EV(K8, FR_NUMBER_OF_BREAKPOINTS_FOR_DR2) \ 324__PMC_EV(K8, FR_NUMBER_OF_BREAKPOINTS_FOR_DR3) \ 325__PMC_EV(K8, NB_MEMORY_CONTROLLER_PAGE_ACCESS_EVENT) \ 326__PMC_EV(K8, NB_MEMORY_CONTROLLER_PAGE_TABLE_OVERFLOW) \ 327__PMC_EV(K8, NB_MEMORY_CONTROLLER_DRAM_COMMAND_SLOTS_MISSED) \ 328__PMC_EV(K8, NB_MEMORY_CONTROLLER_TURNAROUND) \ 329__PMC_EV(K8, NB_MEMORY_CONTROLLER_BYPASS_SATURATION) \ 330__PMC_EV(K8, NB_SIZED_COMMANDS) \ 331__PMC_EV(K8, NB_PROBE_RESULT) \ 332__PMC_EV(K8, NB_HT_BUS0_BANDWIDTH) \ 333__PMC_EV(K8, NB_HT_BUS1_BANDWIDTH) \ 334__PMC_EV(K8, NB_HT_BUS2_BANDWIDTH) 335 336#define PMC_EV_K8_FIRST PMC_EV_K8_FP_DISPATCHED_FPU_OPS 337#define PMC_EV_K8_LAST PMC_EV_K8_NB_HT_BUS2_BANDWIDTH 338 339 340/* 341 * Intel Pentium and Pentium MMX events, from the "Intel 64 and IA-32 342 * Architectures Software Developer's Manual, Volume 3B: System Programming 343 * Guide, Part 2, August 2007". 344 */ 345#define __PMC_EV_P5() \ 346__PMC_EV(P5, DATA_READ) \ 347__PMC_EV(P5, DATA_WRITE) \ 348__PMC_EV(P5, DATA_TLB_MISS) \ 349__PMC_EV(P5, DATA_READ_MISS) \ 350__PMC_EV(P5, DATA_WRITE_MISS) \ 351__PMC_EV(P5, WRITE_HIT_TO_M_OR_E_STATE_LINES) \ 352__PMC_EV(P5, DATA_CACHE_LINES_WRITTEN_BACK) \ 353__PMC_EV(P5, EXTERNAL_SNOOPS) \ 354__PMC_EV(P5, EXTERNAL_DATA_CACHE_SNOOP_HITS) \ 355__PMC_EV(P5, MEMORY_ACCESSES_IN_BOTH_PIPES) \ 356__PMC_EV(P5, BANK_CONFLICTS) \ 357__PMC_EV(P5, MISALIGNED_DATA_OR_IO_REFERENCES) \ 358__PMC_EV(P5, CODE_READ) \ 359__PMC_EV(P5, CODE_TLB_MISS) \ 360__PMC_EV(P5, CODE_CACHE_MISS) \ 361__PMC_EV(P5, ANY_SEGMENT_REGISTER_LOADED) \ 362__PMC_EV(P5, BRANCHES) \ 363__PMC_EV(P5, BTB_HITS) \ 364__PMC_EV(P5, TAKEN_BRANCH_OR_BTB_HIT) \ 365__PMC_EV(P5, PIPELINE_FLUSHES) \ 366__PMC_EV(P5, INSTRUCTIONS_EXECUTED) \ 367__PMC_EV(P5, INSTRUCTIONS_EXECUTED_V_PIPE) \ 368__PMC_EV(P5, BUS_CYCLE_DURATION) \ 369__PMC_EV(P5, WRITE_BUFFER_FULL_STALL_DURATION) \ 370__PMC_EV(P5, WAITING_FOR_DATA_MEMORY_READ_STALL_DURATION) \ 371__PMC_EV(P5, STALL_ON_WRITE_TO_AN_E_OR_M_STATE_LINE) \ 372__PMC_EV(P5, LOCKED_BUS_CYCLE) \ 373__PMC_EV(P5, IO_READ_OR_WRITE_CYCLE) \ 374__PMC_EV(P5, NONCACHEABLE_MEMORY_READS) \ 375__PMC_EV(P5, PIPELINE_AGI_STALLS) \ 376__PMC_EV(P5, FLOPS) \ 377__PMC_EV(P5, BREAKPOINT_MATCH_ON_DR0_REGISTER) \ 378__PMC_EV(P5, BREAKPOINT_MATCH_ON_DR1_REGISTER) \ 379__PMC_EV(P5, BREAKPOINT_MATCH_ON_DR2_REGISTER) \ 380__PMC_EV(P5, BREAKPOINT_MATCH_ON_DR3_REGISTER) \ 381__PMC_EV(P5, HARDWARE_INTERRUPTS) \ 382__PMC_EV(P5, DATA_READ_OR_WRITE) \ 383__PMC_EV(P5, DATA_READ_MISS_OR_WRITE_MISS) \ 384__PMC_EV(P5, BUS_OWNERSHIP_LATENCY) \ 385__PMC_EV(P5, BUS_OWNERSHIP_TRANSFERS) \ 386__PMC_EV(P5, MMX_INSTRUCTIONS_EXECUTED_U_PIPE) \ 387__PMC_EV(P5, MMX_INSTRUCTIONS_EXECUTED_V_PIPE) \ 388__PMC_EV(P5, CACHE_M_LINE_SHARING) \ 389__PMC_EV(P5, CACHE_LINE_SHARING) \ 390__PMC_EV(P5, EMMS_INSTRUCTIONS_EXECUTED) \ 391__PMC_EV(P5, TRANSITIONS_BETWEEN_MMX_AND_FP_INSTRUCTIONS) \ 392__PMC_EV(P5, BUS_UTILIZATION_DUE_TO_PROCESSOR_ACTIVITY) \ 393__PMC_EV(P5, WRITES_TO_NONCACHEABLE_MEMORY) \ 394__PMC_EV(P5, SATURATING_MMX_INSTRUCTIONS_EXECUTED) \ 395__PMC_EV(P5, SATURATIONS_PERFORMED) \ 396__PMC_EV(P5, NUMBER_OF_CYCLES_NOT_IN_HALT_STATE) \ 397__PMC_EV(P5, DATA_CACHE_TLB_MISS_STALL_DURATION) \ 398__PMC_EV(P5, MMX_INSTRUCTION_DATA_READS) \ 399__PMC_EV(P5, MMX_INSTRUCTION_DATA_READ_MISSES) \ 400__PMC_EV(P5, FLOATING_POINT_STALLS_DURATION) \ 401__PMC_EV(P5, TAKEN_BRANCHES) \ 402__PMC_EV(P5, D1_STARVATION_AND_FIFO_IS_EMPTY) \ 403__PMC_EV(P5, D1_STARVATION_AND_ONLY_ONE_INSTRUCTION_IN_FIFO) \ 404__PMC_EV(P5, MMX_INSTRUCTION_DATA_WRITES) \ 405__PMC_EV(P5, MMX_INSTRUCTION_DATA_WRITE_MISSES) \ 406__PMC_EV(P5, PIPELINE_FLUSHES_DUE_TO_WRONG_BRANCH_PREDICTIONS) \ 407__PMC_EV(P5, \ 408 PIPELINE_FLUSHES_DUE_TO_WRONG_BRANCH_PREDICTIONS_RESOLVED_IN_WB_STAGE) \ 409__PMC_EV(P5, MISALIGNED_DATA_MEMORY_REFERENCE_ON_MMX_INSTRUCTIONS) \ 410__PMC_EV(P5, PIPELINE_STALL_FOR_MMX_INSTRUCTION_DATA_MEMORY_READS) \ 411__PMC_EV(P5, MISPREDICTED_OR_UNPREDICTED_RETURNS) \ 412__PMC_EV(P5, PREDICTED_RETURNS) \ 413__PMC_EV(P5, MMX_MULTIPLY_UNIT_INTERLOCK) \ 414__PMC_EV(P5, MOVD_MOVQ_STORE_STALL_DUE_TO_PREVIOUS_MMX_OPERATION) \ 415__PMC_EV(P5, RETURNS) \ 416__PMC_EV(P5, BTB_FALSE_ENTRIES) \ 417__PMC_EV(P5, BTB_MISS_PREDICTION_ON_NOT_TAKEN_BRANCH) \ 418__PMC_EV(P5, \ 419 FULL_WRITE_BUFFER_STALL_DURATION_WHILE_EXECUTING_MMX_INSTRUCTIONS) \ 420__PMC_EV(P5, STALL_ON_MMX_INSTRUCTION_WRITE_TO_E_OR_M_STATE_LINE) 421 422#define PMC_EV_P5_FIRST PMC_EV_P5_DATA_READ 423#define PMC_EV_P5_LAST \ 424 PMC_EV_P5_STALL_ON_MMX_INSTRUCTION_WRITE_TO_E_OR_M_STATE_LINE 425 426/* 427 * Events supported by Intel architectural fixed function counters, 428 * from the "Intel 64 and IA-32 Architectures Software Developer's 429 * Manual Volume 3B: System Programming Guide, Part 2", July 2008. 430 */ 431#define __PMC_EV_IAF() \ 432__PMC_EV(IAF, INSTR_RETIRED_ANY) \ 433__PMC_EV(IAF, CPU_CLK_UNHALTED_CORE) \ 434__PMC_EV(IAF, CPU_CLK_UNHALTED_REF) 435 436#define PMC_EV_IAF_FIRST PMC_EV_IAF_INSTR_RETIRED_ANY 437#define PMC_EV_IAF_LAST PMC_EV_IAF_CPU_CLK_UNHALTED_REF 438 439#define __PMC_EV_ALIAS_IAF() \ 440__PMC_EV_ALIAS("instruction-retired", IAF_INSTR_RETIRED_ANY) \ 441__PMC_EV_ALIAS("unhalted-core-cycles", IAF_CPU_CLK_UNHALTED_CORE) \ 442__PMC_EV_ALIAS("unhalted-reference-cycles", IAF_CPU_CLK_UNHALTED_REF) 443 444/* 445 * Events supported by programmable function counters present in 446 * Intel Atom, Core and Core2 CPUs, from the "Intel 64 and IA-32 447 * Architectures Software Developer's Manual Volume 3B: System Programming 448 * Guide, Part 2", July 2008. 449 * 450 * These PMCs select events with a combination of an event code and 451 * unit mask. Quirks that need to be taken care of include: 452 * - The set of (event code, umask) combinations supported by a processor 453 * varies according to the processor model. 454 * - A given (event code, umask) combination need not measure the same 455 * hardware event in all processor models. 456 * - Event names in vendor documentation for an (event code, umask) pair 457 * may vary according to the CPU model. 458 * - Identically named events can map to different (event code, umask) 459 * pairs on different CPUs. 460 * - New (event code, umask) combinations continue to be added as CPUs 461 * evolve. The interface between hwpmc(4) and libpmc(3) needs to be 462 * robust with respect to ABI changes. 463 * 464 * The IAP_EVENT_* symbols below define the ABI between userland and kernel. 465 * New (event code, * umask) combinations used in new CPUs would be added 466 * to the end of the list. Vendor names for events are mapped to IAP_EVENT_* 467 * symbols using aliases. The final disambiguation of semantics based on 468 * the CPU model happens inside hwpmc(4). 469 */ 470#define __PMC_EV_IAP() \ 471__PMC_EV(IAP, EVENT_02H_01H) \ 472__PMC_EV(IAP, EVENT_02H_81H) \ 473__PMC_EV(IAP, EVENT_03H_00H) \ 474__PMC_EV(IAP, EVENT_03H_01H) \ 475__PMC_EV(IAP, EVENT_03H_02H) \ 476__PMC_EV(IAP, EVENT_03H_04H) \ 477__PMC_EV(IAP, EVENT_03H_08H) \ 478__PMC_EV(IAP, EVENT_03H_10H) \ 479__PMC_EV(IAP, EVENT_03H_20H) \ 480__PMC_EV(IAP, EVENT_04H_00H) \ 481__PMC_EV(IAP, EVENT_04H_01H) \ 482__PMC_EV(IAP, EVENT_04H_02H) \ 483__PMC_EV(IAP, EVENT_04H_07H) \ 484__PMC_EV(IAP, EVENT_04H_08H) \ 485__PMC_EV(IAP, EVENT_05H_00H) \ 486__PMC_EV(IAP, EVENT_05H_01H) \ 487__PMC_EV(IAP, EVENT_05H_02H) \ 488__PMC_EV(IAP, EVENT_05H_03H) \ 489__PMC_EV(IAP, EVENT_06H_00H) \ 490__PMC_EV(IAP, EVENT_06H_01H) \ 491__PMC_EV(IAP, EVENT_06H_02H) \ 492__PMC_EV(IAP, EVENT_06H_04H) \ 493__PMC_EV(IAP, EVENT_06H_08H) \ 494__PMC_EV(IAP, EVENT_06H_0FH) \ 495__PMC_EV(IAP, EVENT_07H_00H) \ 496__PMC_EV(IAP, EVENT_07H_01H) \ 497__PMC_EV(IAP, EVENT_07H_02H) \ 498__PMC_EV(IAP, EVENT_07H_03H) \ 499__PMC_EV(IAP, EVENT_07H_06H) \ 500__PMC_EV(IAP, EVENT_07H_08H) \ 501__PMC_EV(IAP, EVENT_08H_01H) \ 502__PMC_EV(IAP, EVENT_08H_02H) \ 503__PMC_EV(IAP, EVENT_08H_04H) \ 504__PMC_EV(IAP, EVENT_08H_05H) \ 505__PMC_EV(IAP, EVENT_08H_06H) \ 506__PMC_EV(IAP, EVENT_08H_07H) \ 507__PMC_EV(IAP, EVENT_08H_08H) \ 508__PMC_EV(IAP, EVENT_08H_09H) \ 509__PMC_EV(IAP, EVENT_08H_10H) \ 510__PMC_EV(IAP, EVENT_08H_20H) \ 511__PMC_EV(IAP, EVENT_08H_40H) \ 512__PMC_EV(IAP, EVENT_08H_80H) \ 513__PMC_EV(IAP, EVENT_09H_01H) \ 514__PMC_EV(IAP, EVENT_09H_02H) \ 515__PMC_EV(IAP, EVENT_09H_04H) \ 516__PMC_EV(IAP, EVENT_09H_08H) \ 517__PMC_EV(IAP, EVENT_0BH_01H) \ 518__PMC_EV(IAP, EVENT_0BH_02H) \ 519__PMC_EV(IAP, EVENT_0BH_10H) \ 520__PMC_EV(IAP, EVENT_0CH_01H) \ 521__PMC_EV(IAP, EVENT_0CH_02H) \ 522__PMC_EV(IAP, EVENT_0CH_03H) \ 523__PMC_EV(IAP, EVENT_0EH_01H) \ 524__PMC_EV(IAP, EVENT_0EH_02H) \ 525__PMC_EV(IAP, EVENT_0FH_01H) \ 526__PMC_EV(IAP, EVENT_0FH_02H) \ 527__PMC_EV(IAP, EVENT_0FH_08H) \ 528__PMC_EV(IAP, EVENT_0FH_10H) \ 529__PMC_EV(IAP, EVENT_0FH_20H) \ 530__PMC_EV(IAP, EVENT_0FH_80H) \ 531__PMC_EV(IAP, EVENT_10H_00H) \ 532__PMC_EV(IAP, EVENT_10H_01H) \ 533__PMC_EV(IAP, EVENT_10H_02H) \ 534__PMC_EV(IAP, EVENT_10H_04H) \ 535__PMC_EV(IAP, EVENT_10H_08H) \ 536__PMC_EV(IAP, EVENT_10H_10H) \ 537__PMC_EV(IAP, EVENT_10H_20H) \ 538__PMC_EV(IAP, EVENT_10H_40H) \ 539__PMC_EV(IAP, EVENT_10H_80H) \ 540__PMC_EV(IAP, EVENT_10H_81H) \ 541__PMC_EV(IAP, EVENT_11H_00H) \ 542__PMC_EV(IAP, EVENT_11H_01H) \ 543__PMC_EV(IAP, EVENT_11H_81H) \ 544__PMC_EV(IAP, EVENT_12H_00H) \ 545__PMC_EV(IAP, EVENT_12H_01H) \ 546__PMC_EV(IAP, EVENT_12H_02H) \ 547__PMC_EV(IAP, EVENT_12H_04H) \ 548__PMC_EV(IAP, EVENT_12H_08H) \ 549__PMC_EV(IAP, EVENT_12H_10H) \ 550__PMC_EV(IAP, EVENT_12H_20H) \ 551__PMC_EV(IAP, EVENT_12H_40H) \ 552__PMC_EV(IAP, EVENT_12H_81H) \ 553__PMC_EV(IAP, EVENT_13H_00H) \ 554__PMC_EV(IAP, EVENT_13H_01H) \ 555__PMC_EV(IAP, EVENT_13H_02H) \ 556__PMC_EV(IAP, EVENT_13H_04H) \ 557__PMC_EV(IAP, EVENT_13H_07H) \ 558__PMC_EV(IAP, EVENT_13H_81H) \ 559__PMC_EV(IAP, EVENT_14H_00H) \ 560__PMC_EV(IAP, EVENT_14H_01H) \ 561__PMC_EV(IAP, EVENT_14H_02H) \ 562__PMC_EV(IAP, EVENT_17H_01H) \ 563__PMC_EV(IAP, EVENT_18H_00H) \ 564__PMC_EV(IAP, EVENT_18H_01H) \ 565__PMC_EV(IAP, EVENT_19H_00H) \ 566__PMC_EV(IAP, EVENT_19H_01H) \ 567__PMC_EV(IAP, EVENT_19H_02H) \ 568__PMC_EV(IAP, EVENT_1DH_01H) \ 569__PMC_EV(IAP, EVENT_1DH_02H) \ 570__PMC_EV(IAP, EVENT_1DH_04H) \ 571__PMC_EV(IAP, EVENT_1EH_01H) \ 572__PMC_EV(IAP, EVENT_20H_01H) \ 573__PMC_EV(IAP, EVENT_21H) \ 574__PMC_EV(IAP, EVENT_22H) \ 575__PMC_EV(IAP, EVENT_23H) \ 576__PMC_EV(IAP, EVENT_24H) \ 577__PMC_EV(IAP, EVENT_24H_01H) \ 578__PMC_EV(IAP, EVENT_24H_02H) \ 579__PMC_EV(IAP, EVENT_24H_03H) \ 580__PMC_EV(IAP, EVENT_24H_04H) \ 581__PMC_EV(IAP, EVENT_24H_08H) \ 582__PMC_EV(IAP, EVENT_24H_0CH) \ 583__PMC_EV(IAP, EVENT_24H_10H) \ 584__PMC_EV(IAP, EVENT_24H_20H) \ 585__PMC_EV(IAP, EVENT_24H_30H) \ 586__PMC_EV(IAP, EVENT_24H_40H) \ 587__PMC_EV(IAP, EVENT_24H_80H) \ 588__PMC_EV(IAP, EVENT_24H_AAH) \ 589__PMC_EV(IAP, EVENT_24H_C0H) \ 590__PMC_EV(IAP, EVENT_24H_FFH) \ 591__PMC_EV(IAP, EVENT_25H) \ 592__PMC_EV(IAP, EVENT_26H) \ 593__PMC_EV(IAP, EVENT_26H_01H) \ 594__PMC_EV(IAP, EVENT_26H_02H) \ 595__PMC_EV(IAP, EVENT_26H_04H) \ 596__PMC_EV(IAP, EVENT_26H_08H) \ 597__PMC_EV(IAP, EVENT_26H_0FH) \ 598__PMC_EV(IAP, EVENT_26H_10H) \ 599__PMC_EV(IAP, EVENT_26H_20H) \ 600__PMC_EV(IAP, EVENT_26H_40H) \ 601__PMC_EV(IAP, EVENT_26H_80H) \ 602__PMC_EV(IAP, EVENT_26H_F0H) \ 603__PMC_EV(IAP, EVENT_26H_FFH) \ 604__PMC_EV(IAP, EVENT_27H) \ 605__PMC_EV(IAP, EVENT_27H_01H) \ 606__PMC_EV(IAP, EVENT_27H_02H) \ 607__PMC_EV(IAP, EVENT_27H_04H) \ 608__PMC_EV(IAP, EVENT_27H_08H) \ 609__PMC_EV(IAP, EVENT_27H_0EH) \ 610__PMC_EV(IAP, EVENT_27H_0FH) \ 611__PMC_EV(IAP, EVENT_27H_10H) \ 612__PMC_EV(IAP, EVENT_27H_20H) \ 613__PMC_EV(IAP, EVENT_27H_40H) \ 614__PMC_EV(IAP, EVENT_27H_80H) \ 615__PMC_EV(IAP, EVENT_27H_E0H) \ 616__PMC_EV(IAP, EVENT_27H_F0H) \ 617__PMC_EV(IAP, EVENT_28H) \ 618__PMC_EV(IAP, EVENT_28H_01H) \ 619__PMC_EV(IAP, EVENT_28H_02H) \ 620__PMC_EV(IAP, EVENT_28H_04H) \ 621__PMC_EV(IAP, EVENT_28H_08H) \ 622__PMC_EV(IAP, EVENT_28H_0FH) \ 623__PMC_EV(IAP, EVENT_29H) \ 624__PMC_EV(IAP, EVENT_2AH) \ 625__PMC_EV(IAP, EVENT_2BH) \ 626__PMC_EV(IAP, EVENT_2EH) \ 627__PMC_EV(IAP, EVENT_2EH_01H) \ 628__PMC_EV(IAP, EVENT_2EH_02H) \ 629__PMC_EV(IAP, EVENT_2EH_41H) \ 630__PMC_EV(IAP, EVENT_2EH_4FH) \ 631__PMC_EV(IAP, EVENT_30H) \ 632__PMC_EV(IAP, EVENT_32H) \ 633__PMC_EV(IAP, EVENT_3AH) \ 634__PMC_EV(IAP, EVENT_3AH_00H) \ 635__PMC_EV(IAP, EVENT_3BH_C0H) \ 636__PMC_EV(IAP, EVENT_3CH_00H) \ 637__PMC_EV(IAP, EVENT_3CH_01H) \ 638__PMC_EV(IAP, EVENT_3CH_02H) \ 639__PMC_EV(IAP, EVENT_3DH_01H) \ 640__PMC_EV(IAP, EVENT_40H) \ 641__PMC_EV(IAP, EVENT_40H_01H) \ 642__PMC_EV(IAP, EVENT_40H_02H) \ 643__PMC_EV(IAP, EVENT_40H_04H) \ 644__PMC_EV(IAP, EVENT_40H_08H) \ 645__PMC_EV(IAP, EVENT_40H_0FH) \ 646__PMC_EV(IAP, EVENT_40H_21H) \ 647__PMC_EV(IAP, EVENT_41H) \ 648__PMC_EV(IAP, EVENT_41H_01H) \ 649__PMC_EV(IAP, EVENT_41H_02H) \ 650__PMC_EV(IAP, EVENT_41H_04H) \ 651__PMC_EV(IAP, EVENT_41H_08H) \ 652__PMC_EV(IAP, EVENT_41H_0FH) \ 653__PMC_EV(IAP, EVENT_41H_22H) \ 654__PMC_EV(IAP, EVENT_42H) \ 655__PMC_EV(IAP, EVENT_42H_01H) \ 656__PMC_EV(IAP, EVENT_42H_02H) \ 657__PMC_EV(IAP, EVENT_42H_04H) \ 658__PMC_EV(IAP, EVENT_42H_08H) \ 659__PMC_EV(IAP, EVENT_42H_10H) \ 660__PMC_EV(IAP, EVENT_43H_01H) \ 661__PMC_EV(IAP, EVENT_43H_02H) \ 662__PMC_EV(IAP, EVENT_44H_02H) \ 663__PMC_EV(IAP, EVENT_45H_0FH) \ 664__PMC_EV(IAP, EVENT_46H_00H) \ 665__PMC_EV(IAP, EVENT_47H_00H) \ 666__PMC_EV(IAP, EVENT_48H_00H) \ 667__PMC_EV(IAP, EVENT_48H_02H) \ 668__PMC_EV(IAP, EVENT_49H_00H) \ 669__PMC_EV(IAP, EVENT_49H_01H) \ 670__PMC_EV(IAP, EVENT_49H_02H) \ 671__PMC_EV(IAP, EVENT_49H_04H) \ 672__PMC_EV(IAP, EVENT_49H_10H) \ 673__PMC_EV(IAP, EVENT_49H_20H) \ 674__PMC_EV(IAP, EVENT_49H_40H) \ 675__PMC_EV(IAP, EVENT_49H_80H) \ 676__PMC_EV(IAP, EVENT_4BH_00H) \ 677__PMC_EV(IAP, EVENT_4BH_01H) \ 678__PMC_EV(IAP, EVENT_4BH_02H) \ 679__PMC_EV(IAP, EVENT_4BH_03H) \ 680__PMC_EV(IAP, EVENT_4BH_08H) \ 681__PMC_EV(IAP, EVENT_4CH_00H) \ 682__PMC_EV(IAP, EVENT_4CH_01H) \ 683__PMC_EV(IAP, EVENT_4DH_01H) \ 684__PMC_EV(IAP, EVENT_4EH_01H) \ 685__PMC_EV(IAP, EVENT_4EH_02H) \ 686__PMC_EV(IAP, EVENT_4EH_04H) \ 687__PMC_EV(IAP, EVENT_4EH_10H) \ 688__PMC_EV(IAP, EVENT_4FH_00H) \ 689__PMC_EV(IAP, EVENT_4FH_02H) \ 690__PMC_EV(IAP, EVENT_4FH_04H) \ 691__PMC_EV(IAP, EVENT_4FH_08H) \ 692__PMC_EV(IAP, EVENT_4FH_10H) \ 693__PMC_EV(IAP, EVENT_51H_01H) \ 694__PMC_EV(IAP, EVENT_51H_02H) \ 695__PMC_EV(IAP, EVENT_51H_04H) \ 696__PMC_EV(IAP, EVENT_51H_08H) \ 697__PMC_EV(IAP, EVENT_52H_01H) \ 698__PMC_EV(IAP, EVENT_53H_01H) \ 699__PMC_EV(IAP, EVENT_60H) \ 700__PMC_EV(IAP, EVENT_60H_01H) \ 701__PMC_EV(IAP, EVENT_60H_02H) \ 702__PMC_EV(IAP, EVENT_60H_04H) \ 703__PMC_EV(IAP, EVENT_60H_08H) \ 704__PMC_EV(IAP, EVENT_61H) \ 705__PMC_EV(IAP, EVENT_61H_00H) \ 706__PMC_EV(IAP, EVENT_62H) \ 707__PMC_EV(IAP, EVENT_62H_00H) \ 708__PMC_EV(IAP, EVENT_63H) \ 709__PMC_EV(IAP, EVENT_63H_01H) \ 710__PMC_EV(IAP, EVENT_63H_02H) \ 711__PMC_EV(IAP, EVENT_64H) \ 712__PMC_EV(IAP, EVENT_64H_40H) \ 713__PMC_EV(IAP, EVENT_65H) \ 714__PMC_EV(IAP, EVENT_66H) \ 715__PMC_EV(IAP, EVENT_67H) \ 716__PMC_EV(IAP, EVENT_68H) \ 717__PMC_EV(IAP, EVENT_69H) \ 718__PMC_EV(IAP, EVENT_6AH) \ 719__PMC_EV(IAP, EVENT_6BH) \ 720__PMC_EV(IAP, EVENT_6CH) \ 721__PMC_EV(IAP, EVENT_6CH_01H) \ 722__PMC_EV(IAP, EVENT_6DH) \ 723__PMC_EV(IAP, EVENT_6EH) \ 724__PMC_EV(IAP, EVENT_6FH) \ 725__PMC_EV(IAP, EVENT_70H) \ 726__PMC_EV(IAP, EVENT_77H) \ 727__PMC_EV(IAP, EVENT_78H) \ 728__PMC_EV(IAP, EVENT_7AH) \ 729__PMC_EV(IAP, EVENT_7BH) \ 730__PMC_EV(IAP, EVENT_7DH) \ 731__PMC_EV(IAP, EVENT_7EH) \ 732__PMC_EV(IAP, EVENT_7EH_00H) \ 733__PMC_EV(IAP, EVENT_7FH) \ 734__PMC_EV(IAP, EVENT_80H_00H) \ 735__PMC_EV(IAP, EVENT_80H_01H) \ 736__PMC_EV(IAP, EVENT_80H_02H) \ 737__PMC_EV(IAP, EVENT_80H_03H) \ 738__PMC_EV(IAP, EVENT_80H_04H) \ 739__PMC_EV(IAP, EVENT_80H_10H) \ 740__PMC_EV(IAP, EVENT_81H_00H) \ 741__PMC_EV(IAP, EVENT_81H_01H) \ 742__PMC_EV(IAP, EVENT_81H_02H) \ 743__PMC_EV(IAP, EVENT_82H_01H) \ 744__PMC_EV(IAP, EVENT_82H_02H) \ 745__PMC_EV(IAP, EVENT_82H_04H) \ 746__PMC_EV(IAP, EVENT_82H_10H) \ 747__PMC_EV(IAP, EVENT_82H_12H) \ 748__PMC_EV(IAP, EVENT_82H_40H) \ 749__PMC_EV(IAP, EVENT_83H_01H) \ 750__PMC_EV(IAP, EVENT_83H_02H) \ 751__PMC_EV(IAP, EVENT_85H_00H) \ 752__PMC_EV(IAP, EVENT_85H_01H) \ 753__PMC_EV(IAP, EVENT_85H_02H) \ 754__PMC_EV(IAP, EVENT_85H_04H) \ 755__PMC_EV(IAP, EVENT_85H_10H) \ 756__PMC_EV(IAP, EVENT_85H_20H) \ 757__PMC_EV(IAP, EVENT_85H_40H) \ 758__PMC_EV(IAP, EVENT_85H_80H) \ 759__PMC_EV(IAP, EVENT_86H_00H) \ 760__PMC_EV(IAP, EVENT_87H_00H) \ 761__PMC_EV(IAP, EVENT_87H_01H) \ 762__PMC_EV(IAP, EVENT_87H_02H) \ 763__PMC_EV(IAP, EVENT_87H_04H) \ 764__PMC_EV(IAP, EVENT_87H_08H) \ 765__PMC_EV(IAP, EVENT_87H_0FH) \ 766__PMC_EV(IAP, EVENT_88H_00H) \ 767__PMC_EV(IAP, EVENT_88H_01H) \ 768__PMC_EV(IAP, EVENT_88H_02H) \ 769__PMC_EV(IAP, EVENT_88H_04H) \ 770__PMC_EV(IAP, EVENT_88H_07H) \ 771__PMC_EV(IAP, EVENT_88H_08H) \ 772__PMC_EV(IAP, EVENT_88H_10H) \ 773__PMC_EV(IAP, EVENT_88H_20H) \ 774__PMC_EV(IAP, EVENT_88H_30H) \ 775__PMC_EV(IAP, EVENT_88H_40H) \ 776__PMC_EV(IAP, EVENT_88H_7FH) \ 777__PMC_EV(IAP, EVENT_89H_00H) \ 778__PMC_EV(IAP, EVENT_89H_01H) \ 779__PMC_EV(IAP, EVENT_89H_02H) \ 780__PMC_EV(IAP, EVENT_89H_04H) \ 781__PMC_EV(IAP, EVENT_89H_07H) \ 782__PMC_EV(IAP, EVENT_89H_08H) \ 783__PMC_EV(IAP, EVENT_89H_10H) \ 784__PMC_EV(IAP, EVENT_89H_20H) \ 785__PMC_EV(IAP, EVENT_89H_30H) \ 786__PMC_EV(IAP, EVENT_89H_40H) \ 787__PMC_EV(IAP, EVENT_89H_7FH) \ 788__PMC_EV(IAP, EVENT_8AH_00H) \ 789__PMC_EV(IAP, EVENT_8BH_00H) \ 790__PMC_EV(IAP, EVENT_8CH_00H) \ 791__PMC_EV(IAP, EVENT_8DH_00H) \ 792__PMC_EV(IAP, EVENT_8EH_00H) \ 793__PMC_EV(IAP, EVENT_8FH_00H) \ 794__PMC_EV(IAP, EVENT_90H_00H) \ 795__PMC_EV(IAP, EVENT_91H_00H) \ 796__PMC_EV(IAP, EVENT_92H_00H) \ 797__PMC_EV(IAP, EVENT_93H_00H) \ 798__PMC_EV(IAP, EVENT_94H_00H) \ 799__PMC_EV(IAP, EVENT_97H_00H) \ 800__PMC_EV(IAP, EVENT_98H_00H) \ 801__PMC_EV(IAP, EVENT_A0H_00H) \ 802__PMC_EV(IAP, EVENT_A1H_01H) \ 803__PMC_EV(IAP, EVENT_A1H_02H) \ 804__PMC_EV(IAP, EVENT_A1H_04H) \ 805__PMC_EV(IAP, EVENT_A1H_08H) \ 806__PMC_EV(IAP, EVENT_A1H_10H) \ 807__PMC_EV(IAP, EVENT_A1H_20H) \ 808__PMC_EV(IAP, EVENT_A2H_00H) \ 809__PMC_EV(IAP, EVENT_A2H_01H) \ 810__PMC_EV(IAP, EVENT_A2H_02H) \ 811__PMC_EV(IAP, EVENT_A2H_04H) \ 812__PMC_EV(IAP, EVENT_A2H_08H) \ 813__PMC_EV(IAP, EVENT_A2H_10H) \ 814__PMC_EV(IAP, EVENT_A2H_20H) \ 815__PMC_EV(IAP, EVENT_A2H_40H) \ 816__PMC_EV(IAP, EVENT_A2H_80H) \ 817__PMC_EV(IAP, EVENT_A6H_01H) \ 818__PMC_EV(IAP, EVENT_A7H_01H) \ 819__PMC_EV(IAP, EVENT_A8H_01H) \ 820__PMC_EV(IAP, EVENT_AAH_01H) \ 821__PMC_EV(IAP, EVENT_AAH_02H) \ 822__PMC_EV(IAP, EVENT_AAH_03H) \ 823__PMC_EV(IAP, EVENT_AAH_08H) \ 824__PMC_EV(IAP, EVENT_ABH_01H) \ 825__PMC_EV(IAP, EVENT_ABH_02H) \ 826__PMC_EV(IAP, EVENT_AEH_01H) \ 827__PMC_EV(IAP, EVENT_B0H_00H) \ 828__PMC_EV(IAP, EVENT_B0H_01H) \ 829__PMC_EV(IAP, EVENT_B0H_02H) \ 830__PMC_EV(IAP, EVENT_B0H_04H) \ 831__PMC_EV(IAP, EVENT_B0H_08H) \ 832__PMC_EV(IAP, EVENT_B0H_10H) \ 833__PMC_EV(IAP, EVENT_B0H_20H) \ 834__PMC_EV(IAP, EVENT_B0H_40H) \ 835__PMC_EV(IAP, EVENT_B0H_80H) \ 836__PMC_EV(IAP, EVENT_B1H_00H) \ 837__PMC_EV(IAP, EVENT_B1H_01H) \ 838__PMC_EV(IAP, EVENT_B1H_02H) \ 839__PMC_EV(IAP, EVENT_B1H_04H) \ 840__PMC_EV(IAP, EVENT_B1H_08H) \ 841__PMC_EV(IAP, EVENT_B1H_10H) \ 842__PMC_EV(IAP, EVENT_B1H_1FH) \ 843__PMC_EV(IAP, EVENT_B1H_20H) \ 844__PMC_EV(IAP, EVENT_B1H_3FH) \ 845__PMC_EV(IAP, EVENT_B1H_40H) \ 846__PMC_EV(IAP, EVENT_B1H_80H) \ 847__PMC_EV(IAP, EVENT_B2H_01H) \ 848__PMC_EV(IAP, EVENT_B3H_01H) \ 849__PMC_EV(IAP, EVENT_B3H_02H) \ 850__PMC_EV(IAP, EVENT_B3H_04H) \ 851__PMC_EV(IAP, EVENT_B3H_08H) \ 852__PMC_EV(IAP, EVENT_B3H_10H) \ 853__PMC_EV(IAP, EVENT_B3H_20H) \ 854__PMC_EV(IAP, EVENT_B3H_81H) \ 855__PMC_EV(IAP, EVENT_B3H_82H) \ 856__PMC_EV(IAP, EVENT_B3H_84H) \ 857__PMC_EV(IAP, EVENT_B3H_88H) \ 858__PMC_EV(IAP, EVENT_B3H_90H) \ 859__PMC_EV(IAP, EVENT_B3H_A0H) \ 860__PMC_EV(IAP, EVENT_B4H_01H) \ 861__PMC_EV(IAP, EVENT_B4H_02H) \ 862__PMC_EV(IAP, EVENT_B4H_04H) \ 863__PMC_EV(IAP, EVENT_B7H_01H) \ 864__PMC_EV(IAP, EVENT_B8H_01H) \ 865__PMC_EV(IAP, EVENT_B8H_02H) \ 866__PMC_EV(IAP, EVENT_B8H_04H) \ 867__PMC_EV(IAP, EVENT_BAH_01H) \ 868__PMC_EV(IAP, EVENT_BAH_02H) \ 869__PMC_EV(IAP, EVENT_BBH_01H) \ 870__PMC_EV(IAP, EVENT_C0H_00H) \ 871__PMC_EV(IAP, EVENT_C0H_01H) \ 872__PMC_EV(IAP, EVENT_C0H_02H) \ 873__PMC_EV(IAP, EVENT_C0H_04H) \ 874__PMC_EV(IAP, EVENT_C0H_08H) \ 875__PMC_EV(IAP, EVENT_C1H_00H) \ 876__PMC_EV(IAP, EVENT_C1H_01H) \ 877__PMC_EV(IAP, EVENT_C1H_FEH) \ 878__PMC_EV(IAP, EVENT_C2H_00H) \ 879__PMC_EV(IAP, EVENT_C2H_01H) \ 880__PMC_EV(IAP, EVENT_C2H_02H) \ 881__PMC_EV(IAP, EVENT_C2H_04H) \ 882__PMC_EV(IAP, EVENT_C2H_07H) \ 883__PMC_EV(IAP, EVENT_C2H_08H) \ 884__PMC_EV(IAP, EVENT_C2H_0FH) \ 885__PMC_EV(IAP, EVENT_C2H_10H) \ 886__PMC_EV(IAP, EVENT_C3H_00H) \ 887__PMC_EV(IAP, EVENT_C3H_01H) \ 888__PMC_EV(IAP, EVENT_C3H_02H) \ 889__PMC_EV(IAP, EVENT_C3H_04H) \ 890__PMC_EV(IAP, EVENT_C3H_10H) \ 891__PMC_EV(IAP, EVENT_C4H_00H) \ 892__PMC_EV(IAP, EVENT_C4H_01H) \ 893__PMC_EV(IAP, EVENT_C4H_02H) \ 894__PMC_EV(IAP, EVENT_C4H_04H) \ 895__PMC_EV(IAP, EVENT_C4H_08H) \ 896__PMC_EV(IAP, EVENT_C4H_0CH) \ 897__PMC_EV(IAP, EVENT_C4H_0FH) \ 898__PMC_EV(IAP, EVENT_C5H_00H) \ 899__PMC_EV(IAP, EVENT_C5H_01H) \ 900__PMC_EV(IAP, EVENT_C5H_02H) \ 901__PMC_EV(IAP, EVENT_C5H_04H) \ 902__PMC_EV(IAP, EVENT_C6H_00H) \ 903__PMC_EV(IAP, EVENT_C6H_01H) \ 904__PMC_EV(IAP, EVENT_C6H_02H) \ 905__PMC_EV(IAP, EVENT_C7H_00H) \ 906__PMC_EV(IAP, EVENT_C7H_01H) \ 907__PMC_EV(IAP, EVENT_C7H_02H) \ 908__PMC_EV(IAP, EVENT_C7H_04H) \ 909__PMC_EV(IAP, EVENT_C7H_08H) \ 910__PMC_EV(IAP, EVENT_C7H_10H) \ 911__PMC_EV(IAP, EVENT_C7H_1FH) \ 912__PMC_EV(IAP, EVENT_C8H_00H) \ 913__PMC_EV(IAP, EVENT_C8H_20H) \ 914__PMC_EV(IAP, EVENT_C9H_00H) \ 915__PMC_EV(IAP, EVENT_CAH_00H) \ 916__PMC_EV(IAP, EVENT_CAH_01H) \ 917__PMC_EV(IAP, EVENT_CAH_02H) \ 918__PMC_EV(IAP, EVENT_CAH_04H) \ 919__PMC_EV(IAP, EVENT_CAH_08H) \ 920__PMC_EV(IAP, EVENT_CBH_01H) \ 921__PMC_EV(IAP, EVENT_CBH_02H) \ 922__PMC_EV(IAP, EVENT_CBH_04H) \ 923__PMC_EV(IAP, EVENT_CBH_08H) \ 924__PMC_EV(IAP, EVENT_CBH_10H) \ 925__PMC_EV(IAP, EVENT_CBH_40H) \ 926__PMC_EV(IAP, EVENT_CBH_80H) \ 927__PMC_EV(IAP, EVENT_CCH_00H) \ 928__PMC_EV(IAP, EVENT_CCH_01H) \ 929__PMC_EV(IAP, EVENT_CCH_02H) \ 930__PMC_EV(IAP, EVENT_CCH_03H) \ 931__PMC_EV(IAP, EVENT_CDH_00H) \ 932__PMC_EV(IAP, EVENT_CEH_00H) \ 933__PMC_EV(IAP, EVENT_CFH_00H) \ 934__PMC_EV(IAP, EVENT_D0H_00H) \ 935__PMC_EV(IAP, EVENT_D0H_01H) \ 936__PMC_EV(IAP, EVENT_D1H_01H) \ 937__PMC_EV(IAP, EVENT_D1H_02H) \ 938__PMC_EV(IAP, EVENT_D1H_04H) \ 939__PMC_EV(IAP, EVENT_D1H_08H) \ 940__PMC_EV(IAP, EVENT_D2H_01H) \ 941__PMC_EV(IAP, EVENT_D2H_02H) \ 942__PMC_EV(IAP, EVENT_D2H_04H) \ 943__PMC_EV(IAP, EVENT_D2H_08H) \ 944__PMC_EV(IAP, EVENT_D2H_0FH) \ 945__PMC_EV(IAP, EVENT_D2H_10H) \ 946__PMC_EV(IAP, EVENT_D4H_01H) \ 947__PMC_EV(IAP, EVENT_D4H_02H) \ 948__PMC_EV(IAP, EVENT_D4H_04H) \ 949__PMC_EV(IAP, EVENT_D4H_08H) \ 950__PMC_EV(IAP, EVENT_D4H_0FH) \ 951__PMC_EV(IAP, EVENT_D5H_01H) \ 952__PMC_EV(IAP, EVENT_D5H_02H) \ 953__PMC_EV(IAP, EVENT_D5H_04H) \ 954__PMC_EV(IAP, EVENT_D5H_08H) \ 955__PMC_EV(IAP, EVENT_D5H_0FH) \ 956__PMC_EV(IAP, EVENT_D7H_00H) \ 957__PMC_EV(IAP, EVENT_D8H_00H) \ 958__PMC_EV(IAP, EVENT_D8H_01H) \ 959__PMC_EV(IAP, EVENT_D8H_02H) \ 960__PMC_EV(IAP, EVENT_D8H_03H) \ 961__PMC_EV(IAP, EVENT_D8H_04H) \ 962__PMC_EV(IAP, EVENT_D9H_00H) \ 963__PMC_EV(IAP, EVENT_D9H_01H) \ 964__PMC_EV(IAP, EVENT_D9H_02H) \ 965__PMC_EV(IAP, EVENT_D9H_03H) \ 966__PMC_EV(IAP, EVENT_DAH_00H) \ 967__PMC_EV(IAP, EVENT_DAH_01H) \ 968__PMC_EV(IAP, EVENT_DAH_02H) \ 969__PMC_EV(IAP, EVENT_DBH_00H) \ 970__PMC_EV(IAP, EVENT_DBH_01H) \ 971__PMC_EV(IAP, EVENT_DCH_01H) \ 972__PMC_EV(IAP, EVENT_DCH_02H) \ 973__PMC_EV(IAP, EVENT_DCH_04H) \ 974__PMC_EV(IAP, EVENT_DCH_08H) \ 975__PMC_EV(IAP, EVENT_DCH_10H) \ 976__PMC_EV(IAP, EVENT_DCH_1FH) \ 977__PMC_EV(IAP, EVENT_E0H_00H) \ 978__PMC_EV(IAP, EVENT_E0H_01H) \ 979__PMC_EV(IAP, EVENT_E2H_00H) \ 980__PMC_EV(IAP, EVENT_E4H_00H) \ 981__PMC_EV(IAP, EVENT_E4H_01H) \ 982__PMC_EV(IAP, EVENT_E5H_01H) \ 983__PMC_EV(IAP, EVENT_E6H_00H) \ 984__PMC_EV(IAP, EVENT_E6H_01H) \ 985__PMC_EV(IAP, EVENT_E6H_02H) \ 986__PMC_EV(IAP, EVENT_E8H_01H) \ 987__PMC_EV(IAP, EVENT_E8H_02H) \ 988__PMC_EV(IAP, EVENT_E8H_03H) \ 989__PMC_EV(IAP, EVENT_ECH_01H) \ 990__PMC_EV(IAP, EVENT_F0H_00H) \ 991__PMC_EV(IAP, EVENT_F0H_01H) \ 992__PMC_EV(IAP, EVENT_F0H_02H) \ 993__PMC_EV(IAP, EVENT_F0H_04H) \ 994__PMC_EV(IAP, EVENT_F0H_08H) \ 995__PMC_EV(IAP, EVENT_F0H_10H) \ 996__PMC_EV(IAP, EVENT_F0H_20H) \ 997__PMC_EV(IAP, EVENT_F0H_40H) \ 998__PMC_EV(IAP, EVENT_F0H_80H) \ 999__PMC_EV(IAP, EVENT_F1H_02H) \ 1000__PMC_EV(IAP, EVENT_F1H_04H) \ 1001__PMC_EV(IAP, EVENT_F1H_07H) \ 1002__PMC_EV(IAP, EVENT_F2H_01H) \ 1003__PMC_EV(IAP, EVENT_F2H_02H) \ 1004__PMC_EV(IAP, EVENT_F2H_04H) \ 1005__PMC_EV(IAP, EVENT_F2H_08H) \ 1006__PMC_EV(IAP, EVENT_F2H_0FH) \ 1007__PMC_EV(IAP, EVENT_F3H_01H) \ 1008__PMC_EV(IAP, EVENT_F3H_02H) \ 1009__PMC_EV(IAP, EVENT_F3H_04H) \ 1010__PMC_EV(IAP, EVENT_F3H_08H) \ 1011__PMC_EV(IAP, EVENT_F3H_10H) \ 1012__PMC_EV(IAP, EVENT_F3H_20H) \ 1013__PMC_EV(IAP, EVENT_F4H_01H) \ 1014__PMC_EV(IAP, EVENT_F4H_02H) \ 1015__PMC_EV(IAP, EVENT_F4H_04H) \ 1016__PMC_EV(IAP, EVENT_F4H_08H) \ 1017__PMC_EV(IAP, EVENT_F4H_10H) \ 1018__PMC_EV(IAP, EVENT_F6H_01H) \ 1019__PMC_EV(IAP, EVENT_F7H_01H) \ 1020__PMC_EV(IAP, EVENT_F7H_02H) \ 1021__PMC_EV(IAP, EVENT_F7H_04H) \ 1022__PMC_EV(IAP, EVENT_F8H_00H) \ 1023__PMC_EV(IAP, EVENT_F8H_01H) \ 1024__PMC_EV(IAP, EVENT_FDH_01H) \ 1025__PMC_EV(IAP, EVENT_FDH_02H) \ 1026__PMC_EV(IAP, EVENT_FDH_04H) \ 1027__PMC_EV(IAP, EVENT_FDH_08H) \ 1028__PMC_EV(IAP, EVENT_FDH_10H) \ 1029__PMC_EV(IAP, EVENT_FDH_20H) \ 1030__PMC_EV(IAP, EVENT_FDH_40H) 1031 1032#define PMC_EV_IAP_FIRST PMC_EV_IAP_EVENT_02H_01H 1033#define PMC_EV_IAP_LAST PMC_EV_IAP_EVENT_FDH_40H 1034 1035/* 1036 * Map "architectural" event names to event ids. 1037 */ 1038#define __PMC_EV_ALIAS_INTEL_ARCHITECTURAL() \ 1039__PMC_EV_ALIAS("branch-instruction-retired", IAP_EVENT_C4H_00H) \ 1040__PMC_EV_ALIAS("branch-misses-retired", IAP_EVENT_C5H_00H) \ 1041__PMC_EV_ALIAS("instruction-retired", IAP_EVENT_C0H_00H) \ 1042__PMC_EV_ALIAS("llc-misses", IAP_EVENT_2EH_41H) \ 1043__PMC_EV_ALIAS("llc-reference", IAP_EVENT_2EH_4FH) \ 1044__PMC_EV_ALIAS("unhalted-reference-cycles", IAP_EVENT_3CH_01H) \ 1045__PMC_EV_ALIAS("unhalted-core-cycles", IAP_EVENT_3CH_00H) 1046 1047/* 1048 * Aliases for Atom PMCs. 1049 */ 1050#define __PMC_EV_ALIAS_ATOM() \ 1051__PMC_EV_ALIAS_INTEL_ARCHITECTURAL() \ 1052__PMC_EV_ALIAS("BACLEARS", IAP_EVENT_E6H_01H) \ 1053__PMC_EV_ALIAS("BOGUS_BR", IAP_EVENT_E4H_00H) \ 1054__PMC_EV_ALIAS("BR_BAC_MISSP_EXEC", IAP_EVENT_8AH_00H) \ 1055__PMC_EV_ALIAS("BR_CALL_EXEC", IAP_EVENT_92H_00H) \ 1056__PMC_EV_ALIAS("BR_CALL_MISSP_EXEC", IAP_EVENT_93H_00H) \ 1057__PMC_EV_ALIAS("BR_CND_EXEC", IAP_EVENT_8BH_00H) \ 1058__PMC_EV_ALIAS("BR_CND_MISSP_EXEC", IAP_EVENT_8CH_00H) \ 1059__PMC_EV_ALIAS("BR_IND_CALL_EXEC", IAP_EVENT_94H_00H) \ 1060__PMC_EV_ALIAS("BR_IND_EXEC", IAP_EVENT_8DH_00H) \ 1061__PMC_EV_ALIAS("BR_IND_MISSP_EXEC", IAP_EVENT_8EH_00H) \ 1062__PMC_EV_ALIAS("BR_INST_DECODED", IAP_EVENT_E0H_01H) \ 1063__PMC_EV_ALIAS("BR_INST_EXEC", IAP_EVENT_88H_00H) \ 1064__PMC_EV_ALIAS("BR_INST_RETIRED.ANY", IAP_EVENT_C4H_00H) \ 1065__PMC_EV_ALIAS("BR_INST_RETIRED.ANY1", IAP_EVENT_C4H_0FH) \ 1066__PMC_EV_ALIAS("BR_INST_RETIRED.MISPRED", IAP_EVENT_C5H_00H) \ 1067__PMC_EV_ALIAS("BR_INST_RETIRED.MISPRED_NOT_TAKEN", \ 1068 IAP_EVENT_C4H_02H) \ 1069__PMC_EV_ALIAS("BR_INST_RETIRED.MISPRED_TAKEN", IAP_EVENT_C4H_08H) \ 1070__PMC_EV_ALIAS("BR_INST_RETIRED.PRED_NOT_TAKEN",IAP_EVENT_C4H_01H) \ 1071__PMC_EV_ALIAS("BR_INST_RETIRED.PRED_TAKEN", IAP_EVENT_C4H_04H) \ 1072__PMC_EV_ALIAS("BR_INST_RETIRED.TAKEN", IAP_EVENT_C4H_0CH) \ 1073__PMC_EV_ALIAS("BR_MISSP_EXEC", IAP_EVENT_89H_00H) \ 1074__PMC_EV_ALIAS("BR_RET_BAC_MISSP_EXEC", IAP_EVENT_91H_00H) \ 1075__PMC_EV_ALIAS("BR_RET_EXEC", IAP_EVENT_8FH_00H) \ 1076__PMC_EV_ALIAS("BR_RET_MISSP_EXEC", IAP_EVENT_90H_00H) \ 1077__PMC_EV_ALIAS("BR_TKN_BUBBLE_1", IAP_EVENT_97H_00H) \ 1078__PMC_EV_ALIAS("BR_TKN_BUBBLE_2", IAP_EVENT_98H_00H) \ 1079__PMC_EV_ALIAS("BUSQ_EMPTY", IAP_EVENT_7DH) \ 1080__PMC_EV_ALIAS("BUS_BNR_DRV", IAP_EVENT_61H) \ 1081__PMC_EV_ALIAS("BUS_DATA_RCV", IAP_EVENT_64H) \ 1082__PMC_EV_ALIAS("BUS_DRDY_CLOCKS", IAP_EVENT_62H) \ 1083__PMC_EV_ALIAS("BUS_HITM_DRV", IAP_EVENT_7BH) \ 1084__PMC_EV_ALIAS("BUS_HIT_DRV", IAP_EVENT_7AH) \ 1085__PMC_EV_ALIAS("BUS_IO_WAIT", IAP_EVENT_7FH) \ 1086__PMC_EV_ALIAS("BUS_LOCK_CLOCKS", IAP_EVENT_63H) \ 1087__PMC_EV_ALIAS("BUS_REQUEST_OUTSTANDING", IAP_EVENT_60H) \ 1088__PMC_EV_ALIAS("BUS_TRANS_ANY", IAP_EVENT_70H) \ 1089__PMC_EV_ALIAS("BUS_TRANS_BRD", IAP_EVENT_65H) \ 1090__PMC_EV_ALIAS("BUS_TRANS_BURST", IAP_EVENT_6EH) \ 1091__PMC_EV_ALIAS("BUS_TRANS_DEF", IAP_EVENT_6DH) \ 1092__PMC_EV_ALIAS("BUS_TRANS_IFETCH", IAP_EVENT_68H) \ 1093__PMC_EV_ALIAS("BUS_TRANS_INVAL", IAP_EVENT_69H) \ 1094__PMC_EV_ALIAS("BUS_TRANS_IO", IAP_EVENT_6CH) \ 1095__PMC_EV_ALIAS("BUS_TRANS_MEM", IAP_EVENT_6FH) \ 1096__PMC_EV_ALIAS("BUS_TRANS_P", IAP_EVENT_6BH) \ 1097__PMC_EV_ALIAS("BUS_TRANS_PWR", IAP_EVENT_6AH) \ 1098__PMC_EV_ALIAS("BUS_TRANS_RFO", IAP_EVENT_66H) \ 1099__PMC_EV_ALIAS("BUS_TRANS_WB", IAP_EVENT_67H) \ 1100__PMC_EV_ALIAS("CMP_SNOOP", IAP_EVENT_78H) \ 1101__PMC_EV_ALIAS("CPU_CLK_UNHALTED.BUS", IAP_EVENT_3CH_01H) \ 1102__PMC_EV_ALIAS("CPU_CLK_UNHALTED.CORE_P", IAP_EVENT_3CH_00H) \ 1103__PMC_EV_ALIAS("CPU_CLK_UNHALTED.NO_OTHER", IAP_EVENT_3CH_02H) \ 1104__PMC_EV_ALIAS("CYCLES_DIV_BUSY", IAP_EVENT_14H_01H) \ 1105__PMC_EV_ALIAS("CYCLES_INT_MASKED.CYCLES_INT_MASKED", \ 1106 IAP_EVENT_C6H_01H) \ 1107__PMC_EV_ALIAS("CYCLES_INT_MASKED.CYCLES_INT_PENDING_AND_MASKED", \ 1108 IAP_EVENT_C6H_02H) \ 1109__PMC_EV_ALIAS("CYCLES_L1I_MEM_STALLED", IAP_EVENT_86H_00H) \ 1110__PMC_EV_ALIAS("DATA_TLB_MISSES.DTLB_MISS", IAP_EVENT_08H_07H) \ 1111__PMC_EV_ALIAS("DATA_TLB_MISSES.DTLB_MISS_LD", IAP_EVENT_08H_05H) \ 1112__PMC_EV_ALIAS("DATA_TLB_MISSES.DTLB_MISS_ST", IAP_EVENT_08H_06H) \ 1113__PMC_EV_ALIAS("DATA_TLB_MISSES.UTLB_MISS_LD", IAP_EVENT_08H_09H) \ 1114__PMC_EV_ALIAS("DELAYED_BYPASS.FP", IAP_EVENT_19H_00H) \ 1115__PMC_EV_ALIAS("DELAYED_BYPASS.LOAD", IAP_EVENT_19H_01H) \ 1116__PMC_EV_ALIAS("DELAYED_BYPASS.SIMD", IAP_EVENT_19H_02H) \ 1117__PMC_EV_ALIAS("DIV", IAP_EVENT_13H_00H) \ 1118__PMC_EV_ALIAS("DIV.AR", IAP_EVENT_13H_81H) \ 1119__PMC_EV_ALIAS("DIV.S", IAP_EVENT_13H_01H) \ 1120__PMC_EV_ALIAS("DTLB_MISSES.ANY", IAP_EVENT_08H_01H) \ 1121__PMC_EV_ALIAS("DTLB_MISSES.L0_MISS_LD", IAP_EVENT_08H_04H) \ 1122__PMC_EV_ALIAS("DTLB_MISSES.MISS_LD", IAP_EVENT_08H_02H) \ 1123__PMC_EV_ALIAS("DTLB_MISSES.MISS_ST", IAP_EVENT_08H_08H) \ 1124__PMC_EV_ALIAS("EIST_TRANS", IAP_EVENT_3AH_00H) \ 1125__PMC_EV_ALIAS("ESP.ADDITIONS", IAP_EVENT_ABH_02H) \ 1126__PMC_EV_ALIAS("ESP.SYNCH", IAP_EVENT_ABH_01H) \ 1127__PMC_EV_ALIAS("EXT_SNOOP", IAP_EVENT_77H) \ 1128__PMC_EV_ALIAS("FP_ASSIST", IAP_EVENT_11H_01H) \ 1129__PMC_EV_ALIAS("FP_ASSIST.AR", IAP_EVENT_11H_81H) \ 1130__PMC_EV_ALIAS("FP_COMP_OPS_EXE", IAP_EVENT_10H_00H) \ 1131__PMC_EV_ALIAS("FP_MMX_TRANS_TO_FP", IAP_EVENT_CCH_02H) \ 1132__PMC_EV_ALIAS("FP_MMX_TRANS_TO_MMX", IAP_EVENT_CCH_01H) \ 1133__PMC_EV_ALIAS("HW_INT_RCV", IAP_EVENT_C8H_00H) \ 1134__PMC_EV_ALIAS("ICACHE.ACCESSES", IAP_EVENT_80H_03H) \ 1135__PMC_EV_ALIAS("ICACHE.MISSES", IAP_EVENT_80H_02H) \ 1136__PMC_EV_ALIAS("IDLE_DURING_DIV", IAP_EVENT_18H_00H) \ 1137__PMC_EV_ALIAS("ILD_STALL", IAP_EVENT_87H_00H) \ 1138__PMC_EV_ALIAS("INST_QUEUE.FULL", IAP_EVENT_83H_02H) \ 1139__PMC_EV_ALIAS("INST_RETIRED.ANY_P", IAP_EVENT_C0H_00H) \ 1140__PMC_EV_ALIAS("INST_RETIRED.LOADS", IAP_EVENT_C0H_01H) \ 1141__PMC_EV_ALIAS("INST_RETIRED.OTHER", IAP_EVENT_C0H_04H) \ 1142__PMC_EV_ALIAS("INST_RETIRED.STORES", IAP_EVENT_C0H_02H) \ 1143__PMC_EV_ALIAS("ITLB.FLUSH", IAP_EVENT_82H_04H) \ 1144__PMC_EV_ALIAS("ITLB.LARGE_MISS", IAP_EVENT_82H_10H) \ 1145__PMC_EV_ALIAS("ITLB.MISSES", IAP_EVENT_82H_02H) \ 1146__PMC_EV_ALIAS("ITLB.SMALL_MISS", IAP_EVENT_82H_02H) \ 1147__PMC_EV_ALIAS("ITLB_MISS_RETIRED", IAP_EVENT_C9H_00H) \ 1148__PMC_EV_ALIAS("L1D_ALL_CACHE_REF", IAP_EVENT_43H_02H) \ 1149__PMC_EV_ALIAS("L1D_ALL_REF", IAP_EVENT_43H_01H) \ 1150__PMC_EV_ALIAS("L1D_CACHE.LD", IAP_EVENT_40H_21H) \ 1151__PMC_EV_ALIAS("L1D_CACHE.ST", IAP_EVENT_41H_22H) \ 1152__PMC_EV_ALIAS("L1D_CACHE_LOCK", IAP_EVENT_42H) \ 1153__PMC_EV_ALIAS("L1D_CACHE_LOCK_DURATION", IAP_EVENT_42H_10H) \ 1154__PMC_EV_ALIAS("L1D_M_EVICT", IAP_EVENT_47H_00H) \ 1155__PMC_EV_ALIAS("L1D_M_REPL", IAP_EVENT_46H_00H) \ 1156__PMC_EV_ALIAS("L1D_PEND_MISS", IAP_EVENT_48H_00H) \ 1157__PMC_EV_ALIAS("L1D_PREFETCH.REQUESTS", IAP_EVENT_4EH_10H) \ 1158__PMC_EV_ALIAS("L1D_REPL", IAP_EVENT_45H_0FH) \ 1159__PMC_EV_ALIAS("L1D_SPLIT.LOADS", IAP_EVENT_49H_01H) \ 1160__PMC_EV_ALIAS("L1D_SPLIT.STORES", IAP_EVENT_49H_02H) \ 1161__PMC_EV_ALIAS("L1I_MISSES", IAP_EVENT_81H_00H) \ 1162__PMC_EV_ALIAS("L1I_READS", IAP_EVENT_80H_00H) \ 1163__PMC_EV_ALIAS("L2_ADS", IAP_EVENT_21H) \ 1164__PMC_EV_ALIAS("L2_DBUS_BUSY_RD", IAP_EVENT_23H) \ 1165__PMC_EV_ALIAS("L2_IFETCH", IAP_EVENT_28H) \ 1166__PMC_EV_ALIAS("L2_LD", IAP_EVENT_29H) \ 1167__PMC_EV_ALIAS("L2_LINES_IN", IAP_EVENT_24H) \ 1168__PMC_EV_ALIAS("L2_LINES_OUT", IAP_EVENT_26H) \ 1169__PMC_EV_ALIAS("L2_LOCK", IAP_EVENT_2BH) \ 1170__PMC_EV_ALIAS("L2_M_LINES_IN", IAP_EVENT_25H) \ 1171__PMC_EV_ALIAS("L2_M_LINES_OUT", IAP_EVENT_27H) \ 1172__PMC_EV_ALIAS("L2_NO_REQ", IAP_EVENT_32H) \ 1173__PMC_EV_ALIAS("L2_REJECT_BUSQ", IAP_EVENT_30H) \ 1174__PMC_EV_ALIAS("L2_RQSTS", IAP_EVENT_2EH) \ 1175__PMC_EV_ALIAS("L2_RQSTS.SELF.DEMAND.I_STATE", IAP_EVENT_2EH_41H) \ 1176__PMC_EV_ALIAS("L2_RQSTS.SELF.DEMAND.MESI", IAP_EVENT_2EH_4FH) \ 1177__PMC_EV_ALIAS("L2_ST", IAP_EVENT_2AH) \ 1178__PMC_EV_ALIAS("LOAD_BLOCK.L1D", IAP_EVENT_03H_20H) \ 1179__PMC_EV_ALIAS("LOAD_BLOCK.OVERLAP_STORE", IAP_EVENT_03H_08H) \ 1180__PMC_EV_ALIAS("LOAD_BLOCK.STA", IAP_EVENT_03H_02H) \ 1181__PMC_EV_ALIAS("LOAD_BLOCK.STD", IAP_EVENT_03H_04H) \ 1182__PMC_EV_ALIAS("LOAD_BLOCK.UNTIL_RETIRE", IAP_EVENT_03H_10H) \ 1183__PMC_EV_ALIAS("LOAD_HIT_PRE", IAP_EVENT_4CH_00H) \ 1184__PMC_EV_ALIAS("MACHINE_CLEARS.SMC", IAP_EVENT_C3H_01H) \ 1185__PMC_EV_ALIAS("MACHINE_NUKES.MEM_ORDER", IAP_EVENT_C3H_04H) \ 1186__PMC_EV_ALIAS("MACRO_INSTS.ALL_DECODED", IAP_EVENT_AAH_03H) \ 1187__PMC_EV_ALIAS("MACRO_INSTS.CISC_DECODED", IAP_EVENT_AAH_02H) \ 1188__PMC_EV_ALIAS("MEMORY_DISAMBIGUATION.RESET", IAP_EVENT_09H_01H) \ 1189__PMC_EV_ALIAS("MEMORY_DISAMBIGUATION.SUCCESS", IAP_EVENT_09H_02H) \ 1190__PMC_EV_ALIAS("MEM_LOAD_RETIRED.DTLB_MISS", IAP_EVENT_CBH_04H) \ 1191__PMC_EV_ALIAS("MEM_LOAD_RETIRED.L2_HIT", IAP_EVENT_CBH_01H) \ 1192__PMC_EV_ALIAS("MEM_LOAD_RETIRED.L2_LINE_MISS", IAP_EVENT_CBH_08H) \ 1193__PMC_EV_ALIAS("MEM_LOAD_RETIRED.L2_MISS", IAP_EVENT_CBH_02H) \ 1194__PMC_EV_ALIAS("MUL", IAP_EVENT_12H_00H) \ 1195__PMC_EV_ALIAS("MUL.AR", IAP_EVENT_12H_81H) \ 1196__PMC_EV_ALIAS("MUL.S", IAP_EVENT_12H_01H) \ 1197__PMC_EV_ALIAS("PAGE_WALKS.CYCLES", IAP_EVENT_0CH_03H) \ 1198__PMC_EV_ALIAS("PAGE_WALKS.WALKS", IAP_EVENT_0CH_03H) \ 1199__PMC_EV_ALIAS("PREFETCH.PREFETCHNTA", IAP_EVENT_07H_08H) \ 1200__PMC_EV_ALIAS("PREFETCH.PREFETCHT0", IAP_EVENT_07H_01H) \ 1201__PMC_EV_ALIAS("PREFETCH.SW_L2", IAP_EVENT_07H_06H) \ 1202__PMC_EV_ALIAS("PREF_RQSTS_DN", IAP_EVENT_F8H_00H) \ 1203__PMC_EV_ALIAS("PREF_RQSTS_UP", IAP_EVENT_F0H_00H) \ 1204__PMC_EV_ALIAS("RAT_STALLS.ANY", IAP_EVENT_D2H_0FH) \ 1205__PMC_EV_ALIAS("RAT_STALLS.FLAGS", IAP_EVENT_D2H_04H) \ 1206__PMC_EV_ALIAS("RAT_STALLS.FPSW", IAP_EVENT_D2H_08H) \ 1207__PMC_EV_ALIAS("RAT_STALLS.PARTIAL_CYCLES", IAP_EVENT_D2H_02H) \ 1208__PMC_EV_ALIAS("RAT_STALLS.ROB_READ_PORT", IAP_EVENT_D2H_01H) \ 1209__PMC_EV_ALIAS("RESOURCE_STALLS.ANY", IAP_EVENT_DCH_1FH) \ 1210__PMC_EV_ALIAS("RESOURCE_STALLS.BR_MISS_CLEAR", IAP_EVENT_DCH_10H) \ 1211__PMC_EV_ALIAS("RESOURCE_STALLS.FPCW", IAP_EVENT_DCH_08H) \ 1212__PMC_EV_ALIAS("RESOURCE_STALLS.LD_ST", IAP_EVENT_DCH_04H) \ 1213__PMC_EV_ALIAS("RESOURCE_STALLS.ROB_FULL", IAP_EVENT_DCH_01H) \ 1214__PMC_EV_ALIAS("RESOURCE_STALLS.RS_FULL", IAP_EVENT_DCH_02H) \ 1215__PMC_EV_ALIAS("RS_UOPS_DISPATCHED", IAP_EVENT_A0H_00H) \ 1216__PMC_EV_ALIAS("RS_UOPS_DISPATCHED.PORT0", IAP_EVENT_A1H_01H) \ 1217__PMC_EV_ALIAS("RS_UOPS_DISPATCHED.PORT1", IAP_EVENT_A1H_02H) \ 1218__PMC_EV_ALIAS("RS_UOPS_DISPATCHED.PORT2", IAP_EVENT_A1H_04H) \ 1219__PMC_EV_ALIAS("RS_UOPS_DISPATCHED.PORT3", IAP_EVENT_A1H_08H) \ 1220__PMC_EV_ALIAS("RS_UOPS_DISPATCHED.PORT4", IAP_EVENT_A1H_10H) \ 1221__PMC_EV_ALIAS("RS_UOPS_DISPATCHED.PORT5", IAP_EVENT_A1H_20H) \ 1222__PMC_EV_ALIAS("SB_DRAIN_CYCLES", IAP_EVENT_04H_01H) \ 1223__PMC_EV_ALIAS("SEGMENT_REG_LOADS.ANY", IAP_EVENT_06H_00H) \ 1224__PMC_EV_ALIAS("SEG_REG_RENAMES.ANY", IAP_EVENT_D5H_0FH) \ 1225__PMC_EV_ALIAS("SEG_REG_RENAMES.DS", IAP_EVENT_D5H_02H) \ 1226__PMC_EV_ALIAS("SEG_REG_RENAMES.ES", IAP_EVENT_D5H_01H) \ 1227__PMC_EV_ALIAS("SEG_REG_RENAMES.FS", IAP_EVENT_D5H_04H) \ 1228__PMC_EV_ALIAS("SEG_REG_RENAMES.GS", IAP_EVENT_D5H_08H) \ 1229__PMC_EV_ALIAS("SEG_RENAME_STALLS.ANY", IAP_EVENT_D4H_0FH) \ 1230__PMC_EV_ALIAS("SEG_RENAME_STALLS.DS", IAP_EVENT_D4H_02H) \ 1231__PMC_EV_ALIAS("SEG_RENAME_STALLS.ES", IAP_EVENT_D4H_01H) \ 1232__PMC_EV_ALIAS("SEG_RENAME_STALLS.FS", IAP_EVENT_D4H_04H) \ 1233__PMC_EV_ALIAS("SEG_RENAME_STALLS.GS", IAP_EVENT_D4H_08H) \ 1234__PMC_EV_ALIAS("SIMD_ASSIST", IAP_EVENT_CDH_00H) \ 1235__PMC_EV_ALIAS("SIMD_COMP_INST_RETIRED.PACKED_DOUBLE", \ 1236 IAP_EVENT_CAH_04H) \ 1237__PMC_EV_ALIAS("SIMD_COMP_INST_RETIRED.PACKED_SINGLE", \ 1238 IAP_EVENT_CAH_01H) \ 1239__PMC_EV_ALIAS("SIMD_COMP_INST_RETIRED.SCALAR_DOUBLE", \ 1240 IAP_EVENT_CAH_08H) \ 1241__PMC_EV_ALIAS("SIMD_COMP_INST_RETIRED.SCALAR_SINGLE", \ 1242 IAP_EVENT_CAH_02H) \ 1243__PMC_EV_ALIAS("SIMD_INSTR_RETIRED", IAP_EVENT_CEH_00H) \ 1244__PMC_EV_ALIAS("SIMD_INST_RETIRED.ANY", IAP_EVENT_C7H_1FH) \ 1245__PMC_EV_ALIAS("SIMD_INST_RETIRED.PACKED_DOUBLE", IAP_EVENT_C7H_04H) \ 1246__PMC_EV_ALIAS("SIMD_INST_RETIRED.PACKED_SINGLE", IAP_EVENT_C7H_01H) \ 1247__PMC_EV_ALIAS("SIMD_INST_RETIRED.SCALAR_DOUBLE", IAP_EVENT_C7H_08H) \ 1248__PMC_EV_ALIAS("SIMD_INST_RETIRED.SCALAR_SINGLE", IAP_EVENT_C7H_02H) \ 1249__PMC_EV_ALIAS("SIMD_INST_RETIRED.VECTOR", IAP_EVENT_C7H_10H) \ 1250__PMC_EV_ALIAS("SIMD_SAT_INSTR_RETIRED", IAP_EVENT_CFH_00H) \ 1251__PMC_EV_ALIAS("SIMD_SAT_UOP_EXEC.AR", IAP_EVENT_B1H_80H) \ 1252__PMC_EV_ALIAS("SIMD_SAT_UOP_EXEC.S", IAP_EVENT_B1H_00H) \ 1253__PMC_EV_ALIAS("SIMD_UOPS_EXEC.AR", IAP_EVENT_B0H_80H) \ 1254__PMC_EV_ALIAS("SIMD_UOPS_EXEC.S", IAP_EVENT_B0H_00H) \ 1255__PMC_EV_ALIAS("SIMD_UOP_TYPE_EXEC.ARITHMETIC.AR", IAP_EVENT_B3H_A0H) \ 1256__PMC_EV_ALIAS("SIMD_UOP_TYPE_EXEC.ARITHMETIC.S", IAP_EVENT_B3H_20H) \ 1257__PMC_EV_ALIAS("SIMD_UOP_TYPE_EXEC.LOGICAL.AR", IAP_EVENT_B3H_90H) \ 1258__PMC_EV_ALIAS("SIMD_UOP_TYPE_EXEC.LOGICAL.S", IAP_EVENT_B3H_10H) \ 1259__PMC_EV_ALIAS("SIMD_UOP_TYPE_EXEC.MUL.AR", IAP_EVENT_B3H_81H) \ 1260__PMC_EV_ALIAS("SIMD_UOP_TYPE_EXEC.MUL.S", IAP_EVENT_B3H_01H) \ 1261__PMC_EV_ALIAS("SIMD_UOP_TYPE_EXEC.PACK.AR", IAP_EVENT_B3H_84H) \ 1262__PMC_EV_ALIAS("SIMD_UOP_TYPE_EXEC.PACK.S", IAP_EVENT_B3H_04H) \ 1263__PMC_EV_ALIAS("SIMD_UOP_TYPE_EXEC.SHIFT.AR", IAP_EVENT_B3H_82H) \ 1264__PMC_EV_ALIAS("SIMD_UOP_TYPE_EXEC.SHIFT.S", IAP_EVENT_B3H_02H) \ 1265__PMC_EV_ALIAS("SIMD_UOP_TYPE_EXEC.UNPACK.AR", IAP_EVENT_B3H_88H) \ 1266__PMC_EV_ALIAS("SIMD_UOP_TYPE_EXEC.UNPACK.S", IAP_EVENT_B3H_08H) \ 1267__PMC_EV_ALIAS("SNOOP_STALL_DRV", IAP_EVENT_7EH) \ 1268__PMC_EV_ALIAS("SSE_PRE_EXEC.L2", IAP_EVENT_07H_02H) \ 1269__PMC_EV_ALIAS("SSE_PRE_EXEC.STORES", IAP_EVENT_07H_03H) \ 1270__PMC_EV_ALIAS("SSE_PRE_MISS.L1", IAP_EVENT_4BH_01H) \ 1271__PMC_EV_ALIAS("SSE_PRE_MISS.L2", IAP_EVENT_4BH_02H) \ 1272__PMC_EV_ALIAS("SSE_PRE_MISS.NTA", IAP_EVENT_4BH_00H) \ 1273__PMC_EV_ALIAS("STORE_BLOCK.ORDER", IAP_EVENT_04H_02H) \ 1274__PMC_EV_ALIAS("STORE_BLOCK.SNOOP", IAP_EVENT_04H_08H) \ 1275__PMC_EV_ALIAS("STORE_FORWARDS.GOOD", IAP_EVENT_02H_81H) \ 1276__PMC_EV_ALIAS("THERMAL_TRIP", IAP_EVENT_3BH_C0H) \ 1277__PMC_EV_ALIAS("UOPS_RETIRED.ANY", IAP_EVENT_C2H_10H) \ 1278__PMC_EV_ALIAS("UOPS_RETIRED.FUSED", IAP_EVENT_C2H_07H) \ 1279__PMC_EV_ALIAS("UOPS_RETIRED.LD_IND_BR", IAP_EVENT_C2H_01H) \ 1280__PMC_EV_ALIAS("UOPS_RETIRED.MACRO_FUSION", IAP_EVENT_C2H_04H) \ 1281__PMC_EV_ALIAS("UOPS_RETIRED.NON_FUSED", IAP_EVENT_C2H_08H) \ 1282__PMC_EV_ALIAS("UOPS_RETIRED.STD_STA", IAP_EVENT_C2H_02H) \ 1283__PMC_EV_ALIAS("X87_COMP_OPS_EXE.ANY.AR", IAP_EVENT_10H_81H) \ 1284__PMC_EV_ALIAS("X87_COMP_OPS_EXE.ANY.S", IAP_EVENT_10H_01H) \ 1285__PMC_EV_ALIAS("X87_OPS_RETIRED.ANY", IAP_EVENT_C1H_FEH) \ 1286__PMC_EV_ALIAS("X87_OPS_RETIRED.FXCH", IAP_EVENT_C1H_01H) 1287 1288/* 1289 * Aliases for Core PMC events. 1290 */ 1291#define __PMC_EV_ALIAS_CORE() \ 1292__PMC_EV_ALIAS_INTEL_ARCHITECTURAL() \ 1293__PMC_EV_ALIAS("BAClears", IAP_EVENT_E6H_00H) \ 1294__PMC_EV_ALIAS("BTB_Misses", IAP_EVENT_E2H_00H) \ 1295__PMC_EV_ALIAS("Br_BAC_Missp_Exec", IAP_EVENT_8AH_00H) \ 1296__PMC_EV_ALIAS("Br_Bogus", IAP_EVENT_E4H_00H) \ 1297__PMC_EV_ALIAS("Br_Call_Exec", IAP_EVENT_92H_00H) \ 1298__PMC_EV_ALIAS("Br_Call_Missp_Exec", IAP_EVENT_93H_00H) \ 1299__PMC_EV_ALIAS("Br_Cnd_Exec", IAP_EVENT_8BH_00H) \ 1300__PMC_EV_ALIAS("Br_Cnd_Missp_Exec", IAP_EVENT_8CH_00H) \ 1301__PMC_EV_ALIAS("Br_Ind_Call_Exec", IAP_EVENT_94H_00H) \ 1302__PMC_EV_ALIAS("Br_Ind_Exec", IAP_EVENT_8DH_00H) \ 1303__PMC_EV_ALIAS("Br_Ind_Missp_Exec", IAP_EVENT_8EH_00H) \ 1304__PMC_EV_ALIAS("Br_Inst_Exec", IAP_EVENT_88H_00H) \ 1305__PMC_EV_ALIAS("Br_Instr_Decoded", IAP_EVENT_E0H_00H) \ 1306__PMC_EV_ALIAS("Br_Instr_Ret", IAP_EVENT_C4H_00H) \ 1307__PMC_EV_ALIAS("Br_MisPred_Ret", IAP_EVENT_C5H_00H) \ 1308__PMC_EV_ALIAS("Br_MisPred_Taken_Ret", IAP_EVENT_CAH_00H) \ 1309__PMC_EV_ALIAS("Br_Missp_Exec", IAP_EVENT_89H_00H) \ 1310__PMC_EV_ALIAS("Br_Ret_BAC_Missp_Exec", IAP_EVENT_91H_00H) \ 1311__PMC_EV_ALIAS("Br_Ret_Exec", IAP_EVENT_8FH_00H) \ 1312__PMC_EV_ALIAS("Br_Ret_Missp_Exec", IAP_EVENT_90H_00H) \ 1313__PMC_EV_ALIAS("Br_Taken_Ret", IAP_EVENT_C9H_00H) \ 1314__PMC_EV_ALIAS("Bus_BNR_Clocks", IAP_EVENT_61H_00H) \ 1315__PMC_EV_ALIAS("Bus_DRDY_Clocks", IAP_EVENT_62H_00H) \ 1316__PMC_EV_ALIAS("Bus_Data_Rcv", IAP_EVENT_64H_40H) \ 1317__PMC_EV_ALIAS("Bus_Locks_Clocks", IAP_EVENT_63H) \ 1318__PMC_EV_ALIAS("Bus_Not_In_Use", IAP_EVENT_7DH) \ 1319__PMC_EV_ALIAS("Bus_Req_Outstanding", IAP_EVENT_60H) \ 1320__PMC_EV_ALIAS("Bus_Snoop_Stall", IAP_EVENT_7EH_00H) \ 1321__PMC_EV_ALIAS("Bus_Snoops", IAP_EVENT_77H) \ 1322__PMC_EV_ALIAS("Bus_Trans_Any", IAP_EVENT_70H) \ 1323__PMC_EV_ALIAS("Bus_Trans_Brd", IAP_EVENT_65H) \ 1324__PMC_EV_ALIAS("Bus_Trans_Burst", IAP_EVENT_6EH) \ 1325__PMC_EV_ALIAS("Bus_Trans_Def", IAP_EVENT_6DH) \ 1326__PMC_EV_ALIAS("Bus_Trans_IO", IAP_EVENT_6CH) \ 1327__PMC_EV_ALIAS("Bus_Trans_Ifetch", IAP_EVENT_68H) \ 1328__PMC_EV_ALIAS("Bus_Trans_Inval", IAP_EVENT_69H) \ 1329__PMC_EV_ALIAS("Bus_Trans_Mem", IAP_EVENT_6FH) \ 1330__PMC_EV_ALIAS("Bus_Trans_P", IAP_EVENT_6BH) \ 1331__PMC_EV_ALIAS("Bus_Trans_Pwr", IAP_EVENT_6AH) \ 1332__PMC_EV_ALIAS("Bus_Trans_RFO", IAP_EVENT_66H) \ 1333__PMC_EV_ALIAS("Bus_Trans_WB", IAP_EVENT_67H) \ 1334__PMC_EV_ALIAS("Cycles_Div_Busy", IAP_EVENT_14H_00H) \ 1335__PMC_EV_ALIAS("Cycles_Int_Masked", IAP_EVENT_C6H_00H) \ 1336__PMC_EV_ALIAS("Cycles_Int_Pending_Masked", IAP_EVENT_C7H_00H) \ 1337__PMC_EV_ALIAS("DCU_Snoop_To_Share", IAP_EVENT_78H) \ 1338__PMC_EV_ALIAS("DCache_Cache_LD", IAP_EVENT_40H) \ 1339__PMC_EV_ALIAS("DCache_Cache_Lock", IAP_EVENT_42H) \ 1340__PMC_EV_ALIAS("DCache_Cache_ST", IAP_EVENT_41H) \ 1341__PMC_EV_ALIAS("DCache_M_Evict", IAP_EVENT_47H_00H) \ 1342__PMC_EV_ALIAS("DCache_M_Repl", IAP_EVENT_46H_00H) \ 1343__PMC_EV_ALIAS("DCache_Pend_Miss", IAP_EVENT_48H_00H) \ 1344__PMC_EV_ALIAS("DCache_Repl", IAP_EVENT_45H_0FH) \ 1345__PMC_EV_ALIAS("Data_Mem_Cache_Ref", IAP_EVENT_44H_02H) \ 1346__PMC_EV_ALIAS("Data_Mem_Ref", IAP_EVENT_43H_01H) \ 1347__PMC_EV_ALIAS("Dbus_Busy", IAP_EVENT_22H) \ 1348__PMC_EV_ALIAS("Dbus_Busy_Rd", IAP_EVENT_23H) \ 1349__PMC_EV_ALIAS("Div", IAP_EVENT_13H_00H) \ 1350__PMC_EV_ALIAS("Dtlb_Miss", IAP_EVENT_49H_00H) \ 1351__PMC_EV_ALIAS("ESP_Uops", IAP_EVENT_D7H_00H) \ 1352__PMC_EV_ALIAS("EST_Trans", IAP_EVENT_3AH) \ 1353__PMC_EV_ALIAS("FP_Assist", IAP_EVENT_11H_00H) \ 1354__PMC_EV_ALIAS("FP_Comp_Instr_Ret", IAP_EVENT_C1H_00H) \ 1355__PMC_EV_ALIAS("FP_Comps_Op_Exe", IAP_EVENT_10H_00H) \ 1356__PMC_EV_ALIAS("FP_MMX_Trans", IAP_EVENT_CCH_01H) \ 1357__PMC_EV_ALIAS("Fused_Ld_Uops_Ret", IAP_EVENT_DAH_01H) \ 1358__PMC_EV_ALIAS("Fused_St_Uops_Ret", IAP_EVENT_DAH_02H) \ 1359__PMC_EV_ALIAS("Fused_Uops_Ret", IAP_EVENT_DAH_00H) \ 1360__PMC_EV_ALIAS("HW_Int_Rx", IAP_EVENT_C8H_00H) \ 1361__PMC_EV_ALIAS("ICache_Misses", IAP_EVENT_81H_00H) \ 1362__PMC_EV_ALIAS("ICache_Reads", IAP_EVENT_80H_00H) \ 1363__PMC_EV_ALIAS("IFU_Mem_Stall", IAP_EVENT_86H_00H) \ 1364__PMC_EV_ALIAS("ILD_Stall", IAP_EVENT_87H_00H) \ 1365__PMC_EV_ALIAS("ITLB_Misses", IAP_EVENT_85H_00H) \ 1366__PMC_EV_ALIAS("Instr_Decoded", IAP_EVENT_D0H_00H) \ 1367__PMC_EV_ALIAS("Instr_Ret", IAP_EVENT_C0H_00H) \ 1368__PMC_EV_ALIAS("L1_Pref_Req", IAP_EVENT_4FH_00H) \ 1369__PMC_EV_ALIAS("L2_ADS", IAP_EVENT_21H) \ 1370__PMC_EV_ALIAS("L2_IFetch", IAP_EVENT_28H) \ 1371__PMC_EV_ALIAS("L2_LD", IAP_EVENT_29H) \ 1372__PMC_EV_ALIAS("L2_Lines_In", IAP_EVENT_24H) \ 1373__PMC_EV_ALIAS("L2_Lines_Out", IAP_EVENT_26H) \ 1374__PMC_EV_ALIAS("L2_M_Lines_In", IAP_EVENT_25H) \ 1375__PMC_EV_ALIAS("L2_M_Lines_Out", IAP_EVENT_27H) \ 1376__PMC_EV_ALIAS("L2_No_Request_Cycles", IAP_EVENT_32H) \ 1377__PMC_EV_ALIAS("L2_Reject_Cycles", IAP_EVENT_30H) \ 1378__PMC_EV_ALIAS("L2_Rqsts", IAP_EVENT_2EH) \ 1379__PMC_EV_ALIAS("L2_ST", IAP_EVENT_2AH) \ 1380__PMC_EV_ALIAS("LD_Blocks", IAP_EVENT_03H_00H) \ 1381__PMC_EV_ALIAS("LLC_Misses", IAP_EVENT_2EH_41H) \ 1382__PMC_EV_ALIAS("LLC_Reference", IAP_EVENT_2EH_4FH) \ 1383__PMC_EV_ALIAS("MMX_Assist", IAP_EVENT_CDH_00H) \ 1384__PMC_EV_ALIAS("MMX_FP_Trans", IAP_EVENT_CCH_00H) \ 1385__PMC_EV_ALIAS("MMX_Instr_Exec", IAP_EVENT_B0H_00H) \ 1386__PMC_EV_ALIAS("MMX_Instr_Ret", IAP_EVENT_CEH_00H) \ 1387__PMC_EV_ALIAS("Misalign_Mem_Ref", IAP_EVENT_05H_00H) \ 1388__PMC_EV_ALIAS("Mul", IAP_EVENT_12H_00H) \ 1389__PMC_EV_ALIAS("NonHlt_Ref_Cycles", IAP_EVENT_3CH_01H) \ 1390__PMC_EV_ALIAS("Pref_Rqsts_Dn", IAP_EVENT_F8H_00H) \ 1391__PMC_EV_ALIAS("Pref_Rqsts_Up", IAP_EVENT_F0H_00H) \ 1392__PMC_EV_ALIAS("Resource_Stall", IAP_EVENT_A2H_00H) \ 1393__PMC_EV_ALIAS("SD_Drains", IAP_EVENT_04H_00H) \ 1394__PMC_EV_ALIAS("SIMD_FP_DP_P_Comp_Ret", IAP_EVENT_D9H_02H) \ 1395__PMC_EV_ALIAS("SIMD_FP_DP_P_Ret", IAP_EVENT_D8H_02H) \ 1396__PMC_EV_ALIAS("SIMD_FP_DP_S_Comp_Ret", IAP_EVENT_D9H_03H) \ 1397__PMC_EV_ALIAS("SIMD_FP_DP_S_Ret", IAP_EVENT_D8H_03H) \ 1398__PMC_EV_ALIAS("SIMD_FP_SP_P_Comp_Ret", IAP_EVENT_D9H_00H) \ 1399__PMC_EV_ALIAS("SIMD_FP_SP_Ret", IAP_EVENT_D8H_00H) \ 1400__PMC_EV_ALIAS("SIMD_FP_SP_S_Comp_Ret", IAP_EVENT_D9H_01H) \ 1401__PMC_EV_ALIAS("SIMD_FP_SP_S_Ret", IAP_EVENT_D8H_01H) \ 1402__PMC_EV_ALIAS("SIMD_Int_128_Ret", IAP_EVENT_D8H_04H) \ 1403__PMC_EV_ALIAS("SIMD_Int_Pari_Exec", IAP_EVENT_B3H_20H) \ 1404__PMC_EV_ALIAS("SIMD_Int_Pck_Exec", IAP_EVENT_B3H_04H) \ 1405__PMC_EV_ALIAS("SIMD_Int_Plog_Exec", IAP_EVENT_B3H_10H) \ 1406__PMC_EV_ALIAS("SIMD_Int_Pmul_Exec", IAP_EVENT_B3H_01H) \ 1407__PMC_EV_ALIAS("SIMD_Int_Psft_Exec", IAP_EVENT_B3H_02H) \ 1408__PMC_EV_ALIAS("SIMD_Int_Sat_Exec", IAP_EVENT_B1H_00H) \ 1409__PMC_EV_ALIAS("SIMD_Int_Upck_Exec", IAP_EVENT_B3H_08H) \ 1410__PMC_EV_ALIAS("SMC_Detected", IAP_EVENT_C3H_00H) \ 1411__PMC_EV_ALIAS("SSE_NTStores_Miss", IAP_EVENT_4BH_03H) \ 1412__PMC_EV_ALIAS("SSE_NTStores_Ret", IAP_EVENT_07H_03H) \ 1413__PMC_EV_ALIAS("SSE_PrefNta_Miss", IAP_EVENT_4BH_00H) \ 1414__PMC_EV_ALIAS("SSE_PrefNta_Ret", IAP_EVENT_07H_00H) \ 1415__PMC_EV_ALIAS("SSE_PrefT1_Miss", IAP_EVENT_4BH_01H) \ 1416__PMC_EV_ALIAS("SSE_PrefT1_Ret", IAP_EVENT_07H_01H) \ 1417__PMC_EV_ALIAS("SSE_PrefT2_Miss", IAP_EVENT_4BH_02H) \ 1418__PMC_EV_ALIAS("SSE_PrefT2_Ret", IAP_EVENT_07H_02H) \ 1419__PMC_EV_ALIAS("Seg_Reg_Loads", IAP_EVENT_06H_00H) \ 1420__PMC_EV_ALIAS("Serial_Execution_Cycles", IAP_EVENT_3CH_02H) \ 1421__PMC_EV_ALIAS("Thermal_Trip", IAP_EVENT_3BH_C0H) \ 1422__PMC_EV_ALIAS("Unfusion", IAP_EVENT_DBH_00H) \ 1423__PMC_EV_ALIAS("Unhalted_Core_Cycles", IAP_EVENT_3CH_00H) \ 1424__PMC_EV_ALIAS("Uops_Ret", IAP_EVENT_C2H_00H) 1425 1426/* 1427 * Aliases for Core2 PMC events. 1428 */ 1429#define __PMC_EV_ALIAS_CORE2() \ 1430__PMC_EV_ALIAS_INTEL_ARCHITECTURAL() \ 1431__PMC_EV_ALIAS("BACLEARS", IAP_EVENT_E6H_00H) \ 1432__PMC_EV_ALIAS("BOGUS_BR", IAP_EVENT_E4H_00H) \ 1433__PMC_EV_ALIAS("BR_BAC_MISSP_EXEC", IAP_EVENT_8AH_00H) \ 1434__PMC_EV_ALIAS("BR_CALL_EXEC", IAP_EVENT_92H_00H) \ 1435__PMC_EV_ALIAS("BR_CALL_MISSP_EXEC", IAP_EVENT_93H_00H) \ 1436__PMC_EV_ALIAS("BR_CND_EXEC", IAP_EVENT_8BH_00H) \ 1437__PMC_EV_ALIAS("BR_CND_MISSP_EXEC", IAP_EVENT_8CH_00H) \ 1438__PMC_EV_ALIAS("BR_IND_CALL_EXEC", IAP_EVENT_94H_00H) \ 1439__PMC_EV_ALIAS("BR_IND_EXEC", IAP_EVENT_8DH_00H) \ 1440__PMC_EV_ALIAS("BR_IND_MISSP_EXEC", IAP_EVENT_8EH_00H) \ 1441__PMC_EV_ALIAS("BR_INST_DECODED", IAP_EVENT_E0H_00H) \ 1442__PMC_EV_ALIAS("BR_INST_EXEC", IAP_EVENT_88H_00H) \ 1443__PMC_EV_ALIAS("BR_INST_RETIRED.ANY", IAP_EVENT_C4H_00H) \ 1444__PMC_EV_ALIAS("BR_INST_RETIRED.MISPRED", IAP_EVENT_C5H_00H) \ 1445__PMC_EV_ALIAS("BR_INST_RETIRED.MISPRED_NOT_TAKEN", \ 1446 IAP_EVENT_C4H_02H) \ 1447__PMC_EV_ALIAS("BR_INST_RETIRED.MISPRED_TAKEN", \ 1448 IAP_EVENT_C4H_08H) \ 1449__PMC_EV_ALIAS("BR_INST_RETIRED.PRED_NOT_TAKEN", \ 1450 IAP_EVENT_C4H_01H) \ 1451__PMC_EV_ALIAS("BR_INST_RETIRED.PRED_TAKEN", \ 1452 IAP_EVENT_C4H_04H) \ 1453__PMC_EV_ALIAS("BR_INST_RETIRED.TAKEN", IAP_EVENT_C4H_0CH) \ 1454__PMC_EV_ALIAS("BR_MISSP_EXEC", IAP_EVENT_89H_00H) \ 1455__PMC_EV_ALIAS("BR_RET_BAC_MISSP_EXEC", IAP_EVENT_91H_00H) \ 1456__PMC_EV_ALIAS("BR_RET_EXEC", IAP_EVENT_8FH_00H) \ 1457__PMC_EV_ALIAS("BR_RET_MISSP_EXEC", IAP_EVENT_90H_00H) \ 1458__PMC_EV_ALIAS("BR_TKN_BUBBLE_1", IAP_EVENT_97H_00H) \ 1459__PMC_EV_ALIAS("BR_TKN_BUBBLE_2", IAP_EVENT_98H_00H) \ 1460__PMC_EV_ALIAS("BUSQ_EMPTY", IAP_EVENT_7DH) \ 1461__PMC_EV_ALIAS("BUS_BNR_DRV", IAP_EVENT_61H) \ 1462__PMC_EV_ALIAS("BUS_DATA_RCV", IAP_EVENT_64H) \ 1463__PMC_EV_ALIAS("BUS_DRDY_CLOCKS", IAP_EVENT_62H) \ 1464__PMC_EV_ALIAS("BUS_HITM_DRV", IAP_EVENT_7BH) \ 1465__PMC_EV_ALIAS("BUS_HIT_DRV", IAP_EVENT_7AH) \ 1466__PMC_EV_ALIAS("BUS_IO_WAIT", IAP_EVENT_7FH) \ 1467__PMC_EV_ALIAS("BUS_LOCK_CLOCKS", IAP_EVENT_63H) \ 1468__PMC_EV_ALIAS("BUS_REQUEST_OUTSTANDING", \ 1469 IAP_EVENT_60H) \ 1470__PMC_EV_ALIAS("BUS_TRANS_ANY", IAP_EVENT_70H) \ 1471__PMC_EV_ALIAS("BUS_TRANS_BRD", IAP_EVENT_65H) \ 1472__PMC_EV_ALIAS("BUS_TRANS_BURST", IAP_EVENT_6EH) \ 1473__PMC_EV_ALIAS("BUS_TRANS_DEF", IAP_EVENT_6DH) \ 1474__PMC_EV_ALIAS("BUS_TRANS_IFETCH", IAP_EVENT_68H) \ 1475__PMC_EV_ALIAS("BUS_TRANS_INVAL", IAP_EVENT_69H) \ 1476__PMC_EV_ALIAS("BUS_TRANS_IO", IAP_EVENT_6CH) \ 1477__PMC_EV_ALIAS("BUS_TRANS_MEM", IAP_EVENT_6FH) \ 1478__PMC_EV_ALIAS("BUS_TRANS_P", IAP_EVENT_6BH) \ 1479__PMC_EV_ALIAS("BUS_TRANS_PWR", IAP_EVENT_6AH) \ 1480__PMC_EV_ALIAS("BUS_TRANS_RFO", IAP_EVENT_66H) \ 1481__PMC_EV_ALIAS("BUS_TRANS_WB", IAP_EVENT_67H) \ 1482__PMC_EV_ALIAS("CMP_SNOOP", IAP_EVENT_78H) \ 1483__PMC_EV_ALIAS("CPU_CLK_UNHALTED.BUS", IAP_EVENT_3CH_01H) \ 1484__PMC_EV_ALIAS("CPU_CLK_UNHALTED.CORE_P", \ 1485 IAP_EVENT_3CH_00H) \ 1486__PMC_EV_ALIAS("CPU_CLK_UNHALTED.NO_OTHER", \ 1487 IAP_EVENT_3CH_02H) \ 1488__PMC_EV_ALIAS("CYCLES_DIV_BUSY", IAP_EVENT_14H_00H) \ 1489__PMC_EV_ALIAS("CYCLES_INT_MASKED", IAP_EVENT_C6H_01H) \ 1490__PMC_EV_ALIAS("CYCLES_INT_PENDING_AND_MASKED", \ 1491 IAP_EVENT_C6H_02H) \ 1492__PMC_EV_ALIAS("CYCLES_L1I_MEM_STALLED", IAP_EVENT_86H_00H) \ 1493__PMC_EV_ALIAS("DELAYED_BYPASS.FP", IAP_EVENT_19H_00H) \ 1494__PMC_EV_ALIAS("DELAYED_BYPASS.LOAD", IAP_EVENT_19H_01H) \ 1495__PMC_EV_ALIAS("DELAYED_BYPASS.SIMD", IAP_EVENT_19H_02H) \ 1496__PMC_EV_ALIAS("DIV", IAP_EVENT_13H_00H) \ 1497__PMC_EV_ALIAS("DTLB_MISSES.ANY", IAP_EVENT_08H_01H) \ 1498__PMC_EV_ALIAS("DTLB_MISSES.L0_MISS_LD", IAP_EVENT_08H_04H) \ 1499__PMC_EV_ALIAS("DTLB_MISSES.MISS_LD", IAP_EVENT_08H_02H) \ 1500__PMC_EV_ALIAS("DTLB_MISSES.MISS_ST", IAP_EVENT_08H_08H) \ 1501__PMC_EV_ALIAS("EIST_TRANS", IAP_EVENT_3AH_00H) \ 1502__PMC_EV_ALIAS("ESP.ADDITIONS", IAP_EVENT_ABH_02H) \ 1503__PMC_EV_ALIAS("ESP.SYNCH", IAP_EVENT_ABH_01H) \ 1504__PMC_EV_ALIAS("EXT_SNOOP", IAP_EVENT_77H) \ 1505__PMC_EV_ALIAS("FP_ASSIST", IAP_EVENT_11H_00H) \ 1506__PMC_EV_ALIAS("FP_COMP_OPS_EXE", IAP_EVENT_10H_00H) \ 1507__PMC_EV_ALIAS("FP_MMX_TRANS_TO_FP", IAP_EVENT_CCH_02H) \ 1508__PMC_EV_ALIAS("FP_MMX_TRANS_TO_MMX", IAP_EVENT_CCH_01H) \ 1509__PMC_EV_ALIAS("HW_INT_RCV", IAP_EVENT_C8H_00H) \ 1510__PMC_EV_ALIAS("IDLE_DURING_DIV", IAP_EVENT_18H_00H) \ 1511__PMC_EV_ALIAS("ILD_STALL", IAP_EVENT_87H_00H) \ 1512__PMC_EV_ALIAS("INST_QUEUE.FULL", IAP_EVENT_83H_02H) \ 1513__PMC_EV_ALIAS("INST_RETIRED.ANY_P", IAP_EVENT_C0H_00H) \ 1514__PMC_EV_ALIAS("INST_RETIRED.LOADS", IAP_EVENT_C0H_01H) \ 1515__PMC_EV_ALIAS("INST_RETIRED.OTHER", IAP_EVENT_C0H_04H) \ 1516__PMC_EV_ALIAS("INST_RETIRED.STORES", IAP_EVENT_C0H_02H) \ 1517__PMC_EV_ALIAS("INST_RETIRED.VM_H", IAP_EVENT_C0H_08H) \ 1518__PMC_EV_ALIAS("ITLB.FLUSH", IAP_EVENT_82H_40H) \ 1519__PMC_EV_ALIAS("ITLB.LARGE_MISS", IAP_EVENT_82H_10H) \ 1520__PMC_EV_ALIAS("ITLB.MISSES", IAP_EVENT_82H_12H) \ 1521__PMC_EV_ALIAS("ITLB.SMALL_MISS", IAP_EVENT_82H_02H) \ 1522__PMC_EV_ALIAS("ITLB_MISS_RETIRED", IAP_EVENT_C9H_00H) \ 1523__PMC_EV_ALIAS("L1D_ALL_CACHE_REF", IAP_EVENT_43H_02H) \ 1524__PMC_EV_ALIAS("L1D_ALL_REF", IAP_EVENT_43H_01H) \ 1525__PMC_EV_ALIAS("L1D_CACHE_LD", IAP_EVENT_40H) \ 1526__PMC_EV_ALIAS("L1D_CACHE_LOCK", IAP_EVENT_42H) \ 1527__PMC_EV_ALIAS("L1D_CACHE_LOCK_DURATION", IAP_EVENT_42H_10H) \ 1528__PMC_EV_ALIAS("L1D_CACHE_ST", IAP_EVENT_41H) \ 1529__PMC_EV_ALIAS("L1D_M_EVICT", IAP_EVENT_47H_00H) \ 1530__PMC_EV_ALIAS("L1D_M_REPL", IAP_EVENT_46H_00H) \ 1531__PMC_EV_ALIAS("L1D_PEND_MISS", IAP_EVENT_48H_00H) \ 1532__PMC_EV_ALIAS("L1D_PREFETCH.REQUESTS", IAP_EVENT_4EH_10H) \ 1533__PMC_EV_ALIAS("L1D_REPL", IAP_EVENT_45H_0FH) \ 1534__PMC_EV_ALIAS("L1D_SPLIT.LOADS", IAP_EVENT_49H_01H) \ 1535__PMC_EV_ALIAS("L1D_SPLIT.STORES", IAP_EVENT_49H_02H) \ 1536__PMC_EV_ALIAS("L1I_MISSES", IAP_EVENT_81H_00H) \ 1537__PMC_EV_ALIAS("L1I_READS", IAP_EVENT_80H_00H) \ 1538__PMC_EV_ALIAS("L2_ADS", IAP_EVENT_21H) \ 1539__PMC_EV_ALIAS("L2_DBUS_BUSY_RD", IAP_EVENT_23H) \ 1540__PMC_EV_ALIAS("L2_IFETCH", IAP_EVENT_28H) \ 1541__PMC_EV_ALIAS("L2_LD", IAP_EVENT_29H) \ 1542__PMC_EV_ALIAS("L2_LINES_IN", IAP_EVENT_24H) \ 1543__PMC_EV_ALIAS("L2_LINES_OUT", IAP_EVENT_26H) \ 1544__PMC_EV_ALIAS("L2_LOCK", IAP_EVENT_2BH) \ 1545__PMC_EV_ALIAS("L2_M_LINES_IN", IAP_EVENT_25H) \ 1546__PMC_EV_ALIAS("L2_M_LINES_OUT", IAP_EVENT_27H) \ 1547__PMC_EV_ALIAS("L2_NO_REQ", IAP_EVENT_32H) \ 1548__PMC_EV_ALIAS("L2_REJECT_BUSQ", IAP_EVENT_30H) \ 1549__PMC_EV_ALIAS("L2_RQSTS", IAP_EVENT_2EH) \ 1550__PMC_EV_ALIAS("L2_RQSTS.SELF.DEMAND.I_STATE", \ 1551 IAP_EVENT_2EH_41H) \ 1552__PMC_EV_ALIAS("L2_RQSTS.SELF.DEMAND.MESI", \ 1553 IAP_EVENT_2EH_4FH) \ 1554__PMC_EV_ALIAS("L2_ST", IAP_EVENT_2AH) \ 1555__PMC_EV_ALIAS("LOAD_BLOCK.L1D", IAP_EVENT_03H_20H) \ 1556__PMC_EV_ALIAS("LOAD_BLOCK.OVERLAP_STORE", \ 1557 IAP_EVENT_03H_08H) \ 1558__PMC_EV_ALIAS("LOAD_BLOCK.STA", IAP_EVENT_03H_02H) \ 1559__PMC_EV_ALIAS("LOAD_BLOCK.STD", IAP_EVENT_03H_04H) \ 1560__PMC_EV_ALIAS("LOAD_BLOCK.UNTIL_RETIRE", IAP_EVENT_03H_10H) \ 1561__PMC_EV_ALIAS("LOAD_HIT_PRE", IAP_EVENT_4CH_00H) \ 1562__PMC_EV_ALIAS("MACHINE_NUKES.MEM_ORDER", IAP_EVENT_C3H_04H) \ 1563__PMC_EV_ALIAS("MACHINE_NUKES.SMC", IAP_EVENT_C3H_01H) \ 1564__PMC_EV_ALIAS("MACRO_INSTS.CISC_DECODED", IAP_EVENT_AAH_08H) \ 1565__PMC_EV_ALIAS("MACRO_INSTS.DECODED", IAP_EVENT_AAH_01H) \ 1566__PMC_EV_ALIAS("MEMORY_DISAMBIGUATION.RESET", \ 1567 IAP_EVENT_09H_01H) \ 1568__PMC_EV_ALIAS("MEMORY_DISAMBIGUATION.SUCCESS", \ 1569 IAP_EVENT_09H_02H) \ 1570__PMC_EV_ALIAS("MEM_LOAD_RETIRED.DTLB_MISS", \ 1571 IAP_EVENT_CBH_10H) \ 1572__PMC_EV_ALIAS("MEM_LOAD_RETIRED.L1D_LINE_MISS", \ 1573 IAP_EVENT_CBH_02H) \ 1574__PMC_EV_ALIAS("MEM_LOAD_RETIRED.L1D_MISS", \ 1575 IAP_EVENT_CBH_01H) \ 1576__PMC_EV_ALIAS("MEM_LOAD_RETIRED.L2_LINE_MISS", \ 1577 IAP_EVENT_CBH_08H) \ 1578__PMC_EV_ALIAS("MEM_LOAD_RETIRED.L2_MISS", \ 1579 IAP_EVENT_CBH_04H) \ 1580__PMC_EV_ALIAS("MUL", IAP_EVENT_12H_00H) \ 1581__PMC_EV_ALIAS("PAGE_WALKS.COUNT", IAP_EVENT_0CH_01H) \ 1582__PMC_EV_ALIAS("PAGE_WALKS.CYCLES", IAP_EVENT_0CH_02H) \ 1583__PMC_EV_ALIAS("PREF_RQSTS_DN", IAP_EVENT_F8H_00H) \ 1584__PMC_EV_ALIAS("PREF_RQSTS_UP", IAP_EVENT_F0H_00H) \ 1585__PMC_EV_ALIAS("RAT_STALLS.ANY", IAP_EVENT_D2H_0FH) \ 1586__PMC_EV_ALIAS("RAT_STALLS.FLAGS", IAP_EVENT_D2H_04H) \ 1587__PMC_EV_ALIAS("RAT_STALLS.FPSW", IAP_EVENT_D2H_08H) \ 1588__PMC_EV_ALIAS("RAT_STALLS.OTHER_SERIALIZATION_STALLS", \ 1589 IAP_EVENT_D2H_10H) \ 1590__PMC_EV_ALIAS("RAT_STALLS.PARTIAL_CYCLES", \ 1591 IAP_EVENT_D2H_02H) \ 1592__PMC_EV_ALIAS("RAT_STALLS.ROB_READ_PORT", \ 1593 IAP_EVENT_D2H_01H) \ 1594__PMC_EV_ALIAS("RESOURCE_STALLS.ANY", IAP_EVENT_DCH_1FH) \ 1595__PMC_EV_ALIAS("RESOURCE_STALLS.BR_MISS_CLEAR", \ 1596 IAP_EVENT_DCH_10H) \ 1597__PMC_EV_ALIAS("RESOURCE_STALLS.FPCW", IAP_EVENT_DCH_08H) \ 1598__PMC_EV_ALIAS("RESOURCE_STALLS.LD_ST", IAP_EVENT_DCH_04H) \ 1599__PMC_EV_ALIAS("RESOURCE_STALLS.ROB_FULL", \ 1600 IAP_EVENT_DCH_01H) \ 1601__PMC_EV_ALIAS("RESOURCE_STALLS.RS_FULL", IAP_EVENT_DCH_02H) \ 1602__PMC_EV_ALIAS("RS_UOPS_DISPATCHED", IAP_EVENT_A0H_00H) \ 1603__PMC_EV_ALIAS("RS_UOPS_DISPATCHED.PORT0", IAP_EVENT_A1H_01H) \ 1604__PMC_EV_ALIAS("RS_UOPS_DISPATCHED.PORT1", IAP_EVENT_A1H_02H) \ 1605__PMC_EV_ALIAS("RS_UOPS_DISPATCHED.PORT2", IAP_EVENT_A1H_04H) \ 1606__PMC_EV_ALIAS("RS_UOPS_DISPATCHED.PORT3", IAP_EVENT_A1H_08H) \ 1607__PMC_EV_ALIAS("RS_UOPS_DISPATCHED.PORT4", IAP_EVENT_A1H_10H) \ 1608__PMC_EV_ALIAS("RS_UOPS_DISPATCHED.PORT5", IAP_EVENT_A1H_20H) \ 1609__PMC_EV_ALIAS("SB_DRAIN_CYCLES", IAP_EVENT_04H_01H) \ 1610__PMC_EV_ALIAS("SEGMENT_REG_LOADS", IAP_EVENT_06H_00H) \ 1611__PMC_EV_ALIAS("SEG_REG_RENAMES.ANY", IAP_EVENT_D5H_0FH) \ 1612__PMC_EV_ALIAS("SEG_REG_RENAMES.DS", IAP_EVENT_D5H_02H) \ 1613__PMC_EV_ALIAS("SEG_REG_RENAMES.ES", IAP_EVENT_D5H_01H) \ 1614__PMC_EV_ALIAS("SEG_REG_RENAMES.FS", IAP_EVENT_D5H_04H) \ 1615__PMC_EV_ALIAS("SEG_REG_RENAMES.GS", IAP_EVENT_D5H_08H) \ 1616__PMC_EV_ALIAS("SEG_RENAME_STALLS.ANY", IAP_EVENT_D4H_0FH) \ 1617__PMC_EV_ALIAS("SEG_RENAME_STALLS.DS", IAP_EVENT_D4H_02H) \ 1618__PMC_EV_ALIAS("SEG_RENAME_STALLS.ES", IAP_EVENT_D4H_01H) \ 1619__PMC_EV_ALIAS("SEG_RENAME_STALLS.FS", IAP_EVENT_D4H_04H) \ 1620__PMC_EV_ALIAS("SEG_RENAME_STALLS.GS", IAP_EVENT_D4H_08H) \ 1621__PMC_EV_ALIAS("SIMD_ASSIST", IAP_EVENT_CDH_00H) \ 1622__PMC_EV_ALIAS("SIMD_COMP_INST_RETIRED.PACKED_DOUBLE", \ 1623 IAP_EVENT_CAH_04H) \ 1624__PMC_EV_ALIAS("SIMD_COMP_INST_RETIRED.PACKED_SINGLE", \ 1625 IAP_EVENT_CAH_01H) \ 1626__PMC_EV_ALIAS("SIMD_COMP_INST_RETIRED.SCALAR_DOUBLE", \ 1627 IAP_EVENT_CAH_08H) \ 1628__PMC_EV_ALIAS("SIMD_COMP_INST_RETIRED.SCALAR_SINGLE", \ 1629 IAP_EVENT_CAH_02H) \ 1630__PMC_EV_ALIAS("SIMD_INSTR_RETIRED", IAP_EVENT_CEH_00H) \ 1631__PMC_EV_ALIAS("SIMD_INST_RETIRED.ANY", IAP_EVENT_C7H_1FH) \ 1632__PMC_EV_ALIAS("SIMD_INST_RETIRED.PACKED_DOUBLE", \ 1633 IAP_EVENT_C7H_04H) \ 1634__PMC_EV_ALIAS("SIMD_INST_RETIRED.PACKED_SINGLE", \ 1635 IAP_EVENT_C7H_01H) \ 1636__PMC_EV_ALIAS("SIMD_INST_RETIRED.SCALAR_DOUBLE", \ 1637 IAP_EVENT_C7H_08H) \ 1638__PMC_EV_ALIAS("SIMD_INST_RETIRED.SCALAR_SINGLE", \ 1639 IAP_EVENT_C7H_02H) \ 1640__PMC_EV_ALIAS("SIMD_INST_RETIRED.VECTOR", IAP_EVENT_C7H_10H) \ 1641__PMC_EV_ALIAS("SIMD_SAT_INSTR_RETIRED", IAP_EVENT_CFH_00H) \ 1642__PMC_EV_ALIAS("SIMD_SAT_UOP_EXEC", IAP_EVENT_B1H_00H) \ 1643__PMC_EV_ALIAS("SIMD_UOPS_EXEC", IAP_EVENT_B0H_00H) \ 1644__PMC_EV_ALIAS("SIMD_UOP_TYPE_EXEC.ARITHMETIC", IAP_EVENT_B3H_20H) \ 1645__PMC_EV_ALIAS("SIMD_UOP_TYPE_EXEC.LOGICAL", IAP_EVENT_B3H_10H) \ 1646__PMC_EV_ALIAS("SIMD_UOP_TYPE_EXEC.MUL", IAP_EVENT_B3H_01H) \ 1647__PMC_EV_ALIAS("SIMD_UOP_TYPE_EXEC.PACK", IAP_EVENT_B3H_04H) \ 1648__PMC_EV_ALIAS("SIMD_UOP_TYPE_EXEC.SHIFT", IAP_EVENT_B3H_02H) \ 1649__PMC_EV_ALIAS("SIMD_UOP_TYPE_EXEC.UNPACK", IAP_EVENT_B3H_08H) \ 1650__PMC_EV_ALIAS("SNOOP_STALL_DRV", IAP_EVENT_7EH) \ 1651__PMC_EV_ALIAS("SSE_PRE_EXEC.L1", IAP_EVENT_07H_01H) \ 1652__PMC_EV_ALIAS("SSE_PRE_EXEC.L2", IAP_EVENT_07H_02H) \ 1653__PMC_EV_ALIAS("SSE_PRE_EXEC.NTA", IAP_EVENT_07H_00H) \ 1654__PMC_EV_ALIAS("SSE_PRE_EXEC.STORES", IAP_EVENT_07H_03H) \ 1655__PMC_EV_ALIAS("SSE_PRE_MISS.L1", IAP_EVENT_4BH_01H) \ 1656__PMC_EV_ALIAS("SSE_PRE_MISS.L2", IAP_EVENT_4BH_02H) \ 1657__PMC_EV_ALIAS("SSE_PRE_MISS.NTA", IAP_EVENT_4BH_00H) \ 1658__PMC_EV_ALIAS("STORE_BLOCK.ORDER", IAP_EVENT_04H_02H) \ 1659__PMC_EV_ALIAS("STORE_BLOCK.SNOOP", IAP_EVENT_04H_08H) \ 1660__PMC_EV_ALIAS("THERMAL_TRIP", IAP_EVENT_3BH_C0H) \ 1661__PMC_EV_ALIAS("UOPS_RETIRED.ANY", IAP_EVENT_C2H_0FH) \ 1662__PMC_EV_ALIAS("UOPS_RETIRED.FUSED", IAP_EVENT_C2H_07H) \ 1663__PMC_EV_ALIAS("UOPS_RETIRED.LD_IND_BR", IAP_EVENT_C2H_01H) \ 1664__PMC_EV_ALIAS("UOPS_RETIRED.MACRO_FUSION", IAP_EVENT_C2H_04H) \ 1665__PMC_EV_ALIAS("UOPS_RETIRED.NON_FUSED", IAP_EVENT_C2H_08H) \ 1666__PMC_EV_ALIAS("UOPS_RETIRED.STD_STA", IAP_EVENT_C2H_02H) \ 1667__PMC_EV_ALIAS("X87_OPS_RETIRED.ANY", IAP_EVENT_C1H_FEH) \ 1668__PMC_EV_ALIAS("X87_OPS_RETIRED.FXCH", IAP_EVENT_C1H_01H) 1669 1670/* 1671 * Core i7 and Xeon 5500 events removed between 253669-031US June 2009
|
1672 * and 253669-033US December 2009.
|
1672 * and 253669-040US October 2011. |
1673 */ 1674#define __PMC_EV_ALIAS_COREI7_OLD() \ 1675__PMC_EV_ALIAS("SB_FORWARD.ANY", IAP_EVENT_02H_01H) \ 1676__PMC_EV_ALIAS("LOAD_BLOCK.STD", IAP_EVENT_03H_01H) \ 1677__PMC_EV_ALIAS("LOAD_BLOCK.ADDRESS_OFFSET", IAP_EVENT_03H_04H) \ 1678__PMC_EV_ALIAS("SB_DRAIN.CYCLES", IAP_EVENT_04H_01H) \ 1679__PMC_EV_ALIAS("MISALIGN_MEM_REF.LOAD", IAP_EVENT_05H_01H) \ 1680__PMC_EV_ALIAS("MISALIGN_MEM_REF.STORE", IAP_EVENT_05H_02H) \ 1681__PMC_EV_ALIAS("MISALIGN_MEM_REF.ANY", IAP_EVENT_05H_03H) \ 1682__PMC_EV_ALIAS("STORE_BLOCKS.NOT_STA", IAP_EVENT_06H_01H) \ 1683__PMC_EV_ALIAS("STORE_BLOCKS.STA", IAP_EVENT_06H_02H) \ 1684__PMC_EV_ALIAS("STORE_BLOCKS.ANY", IAP_EVENT_06H_0FH) \
|
1685__PMC_EV_ALIAS("DTLB_LOAD_MISSES.PDP_MISS", IAP_EVENT_08H_40H) \ |
1686__PMC_EV_ALIAS("MEMORY_DISAMBIGURATION.RESET", IAP_EVENT_09H_01H) \ 1687__PMC_EV_ALIAS("MEMORY_DISAMBIGURATION.SUCCESS", IAP_EVENT_09H_02H) \ 1688__PMC_EV_ALIAS("MEMORY_DISAMBIGURATION.WATCHDOG", IAP_EVENT_09H_04H) \ 1689__PMC_EV_ALIAS("MEMORY_DISAMBIGURATION.WATCH_CYCLES", IAP_EVENT_09H_08H)\ 1690__PMC_EV_ALIAS("HW_INT.RCV", IAP_EVENT_1DH_01H) \ 1691__PMC_EV_ALIAS("HW_INT.CYCLES_MASKED", IAP_EVENT_1DH_02H) \ 1692__PMC_EV_ALIAS("HW_INT.CYCLES_PENDING_AND_MASKED", IAP_EVENT_1DH_04H) \ 1693__PMC_EV_ALIAS("L2_WRITE.RFO.E_STATE", IAP_EVENT_27H_04H) \ 1694__PMC_EV_ALIAS("UOPS_DECODED.DEC0", IAP_EVENT_3DH_01H) \ 1695__PMC_EV_ALIAS("L1D_CACHE_ST.I_STATE", IAP_EVENT_41H_01H) \ 1696__PMC_EV_ALIAS("L1D_CACHE_ST.MESI", IAP_EVENT_41H_0FH) \
|
1696__PMC_EV_ALIAS("DTLB_MISSES.PDE_MISS", IAP_EVENT_49H_20H) \
|
1697__PMC_EV_ALIAS("L1D_PEND_MISS.LOAD_BUFFERS_FULL", IAP_EVENT_48H_02H) \ |
1698__PMC_EV_ALIAS("DTLB_MISSES.PDP_MISS", IAP_EVENT_49H_40H) \
|
1698__PMC_EV_ALIAS("DTLB_MISSES.LARGE_WALK_COMPLETED", IAP_EVENT_49H_80H) \
|
1699__PMC_EV_ALIAS("SSE_MEM_EXEC.NTA", IAP_EVENT_4BH_01H) \ 1700__PMC_EV_ALIAS("SSE_MEM_EXEC.STREAMING_STORES", IAP_EVENT_4BH_08H) \ 1701__PMC_EV_ALIAS("SFENCE_CYCLES", IAP_EVENT_4DH_01H) \ 1702__PMC_EV_ALIAS("EPT.EPDE_MISS", IAP_EVENT_4FH_02H) \ 1703__PMC_EV_ALIAS("EPT.EPDPE_HIT", IAP_EVENT_4FH_04H) \ 1704__PMC_EV_ALIAS("EPT.EPDPE_MISS", IAP_EVENT_4FH_08H) \ 1705__PMC_EV_ALIAS("OFFCORE_REQUESTS_OUTSTANDING.DEMAND.READ_DATA", \ 1706 IAP_EVENT_60H_01H) \ 1707__PMC_EV_ALIAS("OFFCORE_REQUESTS_OUTSTANDING.DEMAND.READ_CODE", \ 1708 IAP_EVENT_60H_02H) \ 1709__PMC_EV_ALIAS("OFFCORE_REQUESTS_OUTSTANDING.DEMAND.RFO", \ 1710 IAP_EVENT_60H_04H) \ 1711__PMC_EV_ALIAS("OFFCORE_REQUESTS_OUTSTANDING.ANY.READ", \ 1712 IAP_EVENT_60H_08H) \ 1713__PMC_EV_ALIAS("IFU_IVC.FULL", IAP_EVENT_81H_01H) \ 1714__PMC_EV_ALIAS("IFU_IVC.L1I_EVICTION", IAP_EVENT_81H_02H) \ 1715__PMC_EV_ALIAS("L1I_OPPORTUNISTIC_HITS", IAP_EVENT_83H_01H) \ 1716__PMC_EV_ALIAS("ITLB_MISSES.WALK_CYCLES", IAP_EVENT_85H_04H) \ 1717__PMC_EV_ALIAS("ITLB_MISSES.PMH_BUSY_CYCLES", IAP_EVENT_85H_04H) \ 1718__PMC_EV_ALIAS("ITLB_MISSES.STLB_HIT", IAP_EVENT_85H_10H) \ 1719__PMC_EV_ALIAS("ITLB_MISSES.PDE_MISS", IAP_EVENT_85H_20H) \ 1720__PMC_EV_ALIAS("ITLB_MISSES.PDP_MISS", IAP_EVENT_85H_40H) \ 1721__PMC_EV_ALIAS("ITLB_MISSES.LARGE_WALK_COMPLETED", IAP_EVENT_85H_80H) \ 1722__PMC_EV_ALIAS("OFFCORE_REQUESTS.DEMAND.READ_DATA", IAP_EVENT_B0H_01H) \ 1723__PMC_EV_ALIAS("OFFCORE_REQUESTS.DEMAND.READ_CODE", IAP_EVENT_B0H_02H) \ 1724__PMC_EV_ALIAS("OFFCORE_REQUESTS.DEMAND.RFO", IAP_EVENT_B0H_04H) \ 1725__PMC_EV_ALIAS("OFFCORE_REQUESTS.ANY.READ", IAP_EVENT_B0H_08H) \ 1726__PMC_EV_ALIAS("OFFCORE_REQUESTS.ANY.RFO", IAP_EVENT_B0H_10H) \ 1727__PMC_EV_ALIAS("OFFCORE_REQUESTS.UNCACHED_MEM", IAP_EVENT_B0H_20H) \ 1728__PMC_EV_ALIAS("OFFCORE_REQUESTS.ANY", IAP_EVENT_B0H_80H) \ 1729__PMC_EV_ALIAS("SNOOPQ_REQUESTS_OUTSTANDING.DATA", IAP_EVENT_B3H_01H) \ 1730__PMC_EV_ALIAS("SNOOPQ_REQUESTS_OUTSTANDING.INVALIDATE", \ 1731 IAP_EVENT_B3H_02H) \ 1732__PMC_EV_ALIAS("SNOOPQ_REQUESTS_OUTSTANDING.CODE", IAP_EVENT_B3H_04H) \ 1733__PMC_EV_ALIAS("PIC_ACCESSES.TPR_READS", IAP_EVENT_BAH_01H) \ 1734__PMC_EV_ALIAS("PIC_ACCESSES.TPR_WRITES", IAP_EVENT_BAH_02H) \ 1735__PMC_EV_ALIAS("MACHINE_CLEARS.FUSION_ASSIST", IAP_EVENT_C3H_10H) \ 1736__PMC_EV_ALIAS("BOGUS_BR", IAP_EVENT_E4H_01H) \
|
1737__PMC_EV_ALIAS("BPU_CLEARS.ANY", IAP_EVENT_E8H_03H) \ |
1738__PMC_EV_ALIAS("L2_HW_PREFETCH.HIT", IAP_EVENT_F3H_01H) \ 1739__PMC_EV_ALIAS("L2_HW_PREFETCH.ALLOC", IAP_EVENT_F3H_02H) \ 1740__PMC_EV_ALIAS("L2_HW_PREFETCH.DATA_TRIGGER", IAP_EVENT_F3H_04H) \ 1741__PMC_EV_ALIAS("L2_HW_PREFETCH.CODE_TRIGGER", IAP_EVENT_F3H_08H) \ 1742__PMC_EV_ALIAS("L2_HW_PREFETCH.DCA_TRIGGER", IAP_EVENT_F3H_10H) \ 1743__PMC_EV_ALIAS("L2_HW_PREFETCH.KICK_START", IAP_EVENT_F3H_20H) \ 1744__PMC_EV_ALIAS("SQ_MISC.PROMOTION", IAP_EVENT_F4H_01H) \ 1745__PMC_EV_ALIAS("SQ_MISC.PROMOTION_POST_GO", IAP_EVENT_F4H_02H) \ 1746__PMC_EV_ALIAS("SQ_MISC.LRU_HINTS", IAP_EVENT_F4H_04H) \ 1747__PMC_EV_ALIAS("SQ_MISC.FILL_DROPPED", IAP_EVENT_F4H_08H) \ 1748__PMC_EV_ALIAS("SEGMENT_REG_LOADS", IAP_EVENT_F8H_01H) 1749 1750/* 1751 * Aliases for Core i7 and Xeon 5500 PMC events (253669-033US December 2009) 1752 */ 1753#define __PMC_EV_ALIAS_COREI7() \ 1754__PMC_EV_ALIAS_INTEL_ARCHITECTURAL() \ 1755__PMC_EV_ALIAS("SB_DRAIN.ANY", IAP_EVENT_04H_07H) \ 1756__PMC_EV_ALIAS("STORE_BLOCKS.AT_RET", IAP_EVENT_06H_04H) \ 1757__PMC_EV_ALIAS("STORE_BLOCKS.L1D_BLOCK", IAP_EVENT_06H_08H) \ 1758__PMC_EV_ALIAS("PARTIAL_ADDRESS_ALIAS", IAP_EVENT_07H_01H) \ 1759__PMC_EV_ALIAS("DTLB_LOAD_MISSES.ANY", IAP_EVENT_08H_01H) \ 1760__PMC_EV_ALIAS("DTLB_LOAD_MISSES.WALK_COMPLETED", IAP_EVENT_08H_02H) \ 1761__PMC_EV_ALIAS("DTLB_LOAD_MISSES.STLB_HIT", IAP_EVENT_08H_10H) \ 1762__PMC_EV_ALIAS("DTLB_LOAD_MISSES.PDE_MISS", IAP_EVENT_08H_20H) \
|
1762__PMC_EV_ALIAS("DTLB_LOAD_MISSES.PDP_MISS", IAP_EVENT_08H_40H) \
|
1763__PMC_EV_ALIAS("DTLB_LOAD_MISSES.LARGE_WALK_COMPLETED", \ 1764 IAP_EVENT_08H_80H) \ 1765__PMC_EV_ALIAS("MEM_INST_RETIRED.LOADS", IAP_EVENT_0BH_01H) \ 1766__PMC_EV_ALIAS("MEM_INST_RETIRED.STORES", IAP_EVENT_0BH_02H) \ 1767__PMC_EV_ALIAS("MEM_INST_RETIRED.LATENCY_ABOVE_THRESHOLD", \ 1768 IAP_EVENT_0BH_10H) \ 1769__PMC_EV_ALIAS("MEM_STORE_RETIRED.DTLB_MISS", IAP_EVENT_0CH_01H) \ 1770__PMC_EV_ALIAS("UOPS_ISSUED.ANY", IAP_EVENT_0EH_01H) \ 1771__PMC_EV_ALIAS("UOPS_ISSUED.STALLED_CYCLES", IAP_EVENT_0EH_01H) \ 1772__PMC_EV_ALIAS("UOPS_ISSUED.FUSED", IAP_EVENT_0EH_02H) \ 1773__PMC_EV_ALIAS("MEM_UNCORE_RETIRED.L3_DATA_MISS_UNKNOWN", \ 1774 IAP_EVENT_0FH_01H) \ 1775__PMC_EV_ALIAS("MEM_UNCORE_RETIRED.OTHER_CORE_L2_HITM", \ 1776 IAP_EVENT_0FH_02H) \ 1777__PMC_EV_ALIAS("MEM_UNCORE_RETIRED.REMOTE_CACHE_LOCAL_HOME_HIT", \ 1778 IAP_EVENT_0FH_08H) \ 1779__PMC_EV_ALIAS("MEM_UNCORE_RETIRED.REMOTE_DRAM", \ 1780 IAP_EVENT_0FH_10H) \ 1781__PMC_EV_ALIAS("MEM_UNCORE_RETIRED.LOCAL_DRAM", IAP_EVENT_0FH_20H) \ 1782__PMC_EV_ALIAS("MEM_UNCORE_RETIRED.UNCACHEABLE", IAP_EVENT_0FH_80H) \ 1783__PMC_EV_ALIAS("FP_COMP_OPS_EXE.X87", IAP_EVENT_10H_01H) \ 1784__PMC_EV_ALIAS("FP_COMP_OPS_EXE.MMX", IAP_EVENT_10H_02H) \ 1785__PMC_EV_ALIAS("FP_COMP_OPS_EXE.SSE_FP", IAP_EVENT_10H_04H) \ 1786__PMC_EV_ALIAS("FP_COMP_OPS_EXE.SSE2_INTEGER", IAP_EVENT_10H_08H) \ 1787__PMC_EV_ALIAS("FP_COMP_OPS_EXE.SSE_FP_PACKED", IAP_EVENT_10H_10H) \ 1788__PMC_EV_ALIAS("FP_COMP_OPS_EXE.SSE_FP_SCALAR", IAP_EVENT_10H_20H) \ 1789__PMC_EV_ALIAS("FP_COMP_OPS_EXE.SSE_SINGLE_PRECISION", \ 1790 IAP_EVENT_10H_40H) \ 1791__PMC_EV_ALIAS("FP_COMP_OPS_EXE.SSE_DOUBLE_PRECISION", \ 1792 IAP_EVENT_10H_80H) \ 1793__PMC_EV_ALIAS("SIMD_INT_128.PACKED_MPY", IAP_EVENT_12H_01H) \ 1794__PMC_EV_ALIAS("SIMD_INT_128.PACKED_SHIFT", IAP_EVENT_12H_02H) \ 1795__PMC_EV_ALIAS("SIMD_INT_128.PACK", IAP_EVENT_12H_04H) \ 1796__PMC_EV_ALIAS("SIMD_INT_128.UNPACK", IAP_EVENT_12H_08H) \ 1797__PMC_EV_ALIAS("SIMD_INT_128.PACKED_LOGICAL", IAP_EVENT_12H_10H) \ 1798__PMC_EV_ALIAS("SIMD_INT_128.PACKED_ARITH", IAP_EVENT_12H_20H) \ 1799__PMC_EV_ALIAS("SIMD_INT_128.SHUFFLE_MOVE", IAP_EVENT_12H_40H) \ 1800__PMC_EV_ALIAS("LOAD_DISPATCH.RS", IAP_EVENT_13H_01H) \ 1801__PMC_EV_ALIAS("LOAD_DISPATCH.RS_DELAYED", IAP_EVENT_13H_02H) \ 1802__PMC_EV_ALIAS("LOAD_DISPATCH.MOB", IAP_EVENT_13H_04H) \ 1803__PMC_EV_ALIAS("LOAD_DISPATCH.ANY", IAP_EVENT_13H_07H) \ 1804__PMC_EV_ALIAS("ARITH.CYCLES_DIV_BUSY", IAP_EVENT_14H_01H) \ 1805__PMC_EV_ALIAS("ARITH.MUL", IAP_EVENT_14H_02H) \ 1806__PMC_EV_ALIAS("INST_QUEUE_WRITES", IAP_EVENT_17H_01H) \ 1807__PMC_EV_ALIAS("INST_DECODED.DEC0", IAP_EVENT_18H_01H) \ 1808__PMC_EV_ALIAS("TWO_UOP_INSTS_DECODED", IAP_EVENT_19H_01H) \ 1809__PMC_EV_ALIAS("INST_QUEUE_WRITE_CYCLES", IAP_EVENT_1EH_01H) \ 1810__PMC_EV_ALIAS("LSD_OVERFLOW", IAP_EVENT_20H_01H) \ 1811__PMC_EV_ALIAS("L2_RQSTS.LD_HIT", IAP_EVENT_24H_01H) \ 1812__PMC_EV_ALIAS("L2_RQSTS.LD_MISS", IAP_EVENT_24H_02H) \ 1813__PMC_EV_ALIAS("L2_RQSTS.LOADS", IAP_EVENT_24H_03H) \ 1814__PMC_EV_ALIAS("L2_RQSTS.RFO_HIT", IAP_EVENT_24H_04H) \ 1815__PMC_EV_ALIAS("L2_RQSTS.RFO_MISS", IAP_EVENT_24H_08H) \ 1816__PMC_EV_ALIAS("L2_RQSTS.RFOS", IAP_EVENT_24H_0CH) \ 1817__PMC_EV_ALIAS("L2_RQSTS.IFETCH_HIT", IAP_EVENT_24H_10H) \ 1818__PMC_EV_ALIAS("L2_RQSTS.IFETCH_MISS", IAP_EVENT_24H_20H) \ 1819__PMC_EV_ALIAS("L2_RQSTS.IFETCHES", IAP_EVENT_24H_30H) \ 1820__PMC_EV_ALIAS("L2_RQSTS.PREFETCH_HIT", IAP_EVENT_24H_40H) \ 1821__PMC_EV_ALIAS("L2_RQSTS.PREFETCH_MISS", IAP_EVENT_24H_80H) \ 1822__PMC_EV_ALIAS("L2_RQSTS.PREFETCHES", IAP_EVENT_24H_C0H) \ 1823__PMC_EV_ALIAS("L2_RQSTS.MISS", IAP_EVENT_24H_AAH) \ 1824__PMC_EV_ALIAS("L2_RQSTS.REFERENCES", IAP_EVENT_24H_FFH) \ 1825__PMC_EV_ALIAS("L2_DATA_RQSTS.DEMAND.I_STATE", IAP_EVENT_26H_01H) \ 1826__PMC_EV_ALIAS("L2_DATA_RQSTS.DEMAND.S_STATE", IAP_EVENT_26H_02H) \ 1827__PMC_EV_ALIAS("L2_DATA_RQSTS.DEMAND.E_STATE", IAP_EVENT_26H_04H) \ 1828__PMC_EV_ALIAS("L2_DATA_RQSTS.DEMAND.M_STATE", IAP_EVENT_26H_08H) \ 1829__PMC_EV_ALIAS("L2_DATA_RQSTS.DEMAND.MESI", IAP_EVENT_26H_0FH) \ 1830__PMC_EV_ALIAS("L2_DATA_RQSTS.PREFETCH.I_STATE", IAP_EVENT_26H_10H) \ 1831__PMC_EV_ALIAS("L2_DATA_RQSTS.PREFETCH.S_STATE", IAP_EVENT_26H_20H) \ 1832__PMC_EV_ALIAS("L2_DATA_RQSTS.PREFETCH.E_STATE", IAP_EVENT_26H_40H) \ 1833__PMC_EV_ALIAS("L2_DATA_RQSTS.PREFETCH.M_STATE", IAP_EVENT_26H_80H) \ 1834__PMC_EV_ALIAS("L2_DATA_RQSTS.PREFETCH.MESI", IAP_EVENT_26H_F0H) \ 1835__PMC_EV_ALIAS("L2_DATA_RQSTS.ANY", IAP_EVENT_26H_FFH) \ 1836__PMC_EV_ALIAS("L2_WRITE.RFO.I_STATE", IAP_EVENT_27H_01H) \ 1837__PMC_EV_ALIAS("L2_WRITE.RFO.S_STATE", IAP_EVENT_27H_02H) \ 1838__PMC_EV_ALIAS("L2_WRITE.RFO.M_STATE", IAP_EVENT_27H_08H) \ 1839__PMC_EV_ALIAS("L2_WRITE.RFO.HIT", IAP_EVENT_27H_0EH) \ 1840__PMC_EV_ALIAS("L2_WRITE.RFO.MESI", IAP_EVENT_27H_0FH) \ 1841__PMC_EV_ALIAS("L2_WRITE.LOCK.I_STATE", IAP_EVENT_27H_10H) \ 1842__PMC_EV_ALIAS("L2_WRITE.LOCK.S_STATE", IAP_EVENT_27H_20H) \ 1843__PMC_EV_ALIAS("L2_WRITE.LOCK.E_STATE", IAP_EVENT_27H_40H) \ 1844__PMC_EV_ALIAS("L2_WRITE.LOCK.M_STATE", IAP_EVENT_27H_80H) \ 1845__PMC_EV_ALIAS("L2_WRITE.LOCK.HIT", IAP_EVENT_27H_E0H) \ 1846__PMC_EV_ALIAS("L2_WRITE.LOCK.MESI", IAP_EVENT_27H_F0H) \ 1847__PMC_EV_ALIAS("L1D_WB_L2.I_STATE", IAP_EVENT_28H_01H) \ 1848__PMC_EV_ALIAS("L1D_WB_L2.S_STATE", IAP_EVENT_28H_02H) \ 1849__PMC_EV_ALIAS("L1D_WB_L2.E_STATE", IAP_EVENT_28H_04H) \ 1850__PMC_EV_ALIAS("L1D_WB_L2.M_STATE", IAP_EVENT_28H_08H) \ 1851__PMC_EV_ALIAS("L1D_WB_L2.MESI", IAP_EVENT_28H_0FH) \ 1852__PMC_EV_ALIAS("L3_LAT_CACHE.REFERENCE", IAP_EVENT_2EH_4FH) \ 1853__PMC_EV_ALIAS("L3_LAT_CACHE.MISS", IAP_EVENT_2EH_41H) \ 1854__PMC_EV_ALIAS("CPU_CLK_UNHALTED.THREAD_P", IAP_EVENT_3CH_00H) \ 1855__PMC_EV_ALIAS("CPU_CLK_UNHALTED.REF_P", IAP_EVENT_3CH_01H) \ 1856__PMC_EV_ALIAS("L1D_CACHE_LD.I_STATE", IAP_EVENT_40H_01H) \ 1857__PMC_EV_ALIAS("L1D_CACHE_LD.S_STATE", IAP_EVENT_40H_02H) \ 1858__PMC_EV_ALIAS("L1D_CACHE_LD.E_STATE", IAP_EVENT_40H_04H) \ 1859__PMC_EV_ALIAS("L1D_CACHE_LD.M_STATE", IAP_EVENT_40H_08H) \ 1860__PMC_EV_ALIAS("L1D_CACHE_LD.MESI", IAP_EVENT_40H_0FH) \ 1861__PMC_EV_ALIAS("L1D_CACHE_ST.S_STATE", IAP_EVENT_41H_02H) \ 1862__PMC_EV_ALIAS("L1D_CACHE_ST.E_STATE", IAP_EVENT_41H_04H) \ 1863__PMC_EV_ALIAS("L1D_CACHE_ST.M_STATE", IAP_EVENT_41H_08H) \ 1864__PMC_EV_ALIAS("L1D_CACHE_LOCK.HIT", IAP_EVENT_42H_01H) \ 1865__PMC_EV_ALIAS("L1D_CACHE_LOCK.S_STATE", IAP_EVENT_42H_02H) \ 1866__PMC_EV_ALIAS("L1D_CACHE_LOCK.E_STATE", IAP_EVENT_42H_04H) \ 1867__PMC_EV_ALIAS("L1D_CACHE_LOCK.M_STATE", IAP_EVENT_42H_08H) \ 1868__PMC_EV_ALIAS("L1D_ALL_REF.ANY", IAP_EVENT_43H_01H) \ 1869__PMC_EV_ALIAS("L1D_ALL_REF.CACHEABLE", IAP_EVENT_43H_02H) \
|
1870__PMC_EV_ALIAS("L1D_PEND_MISS.LOAD_BUFFERS_FULL", IAP_EVENT_48H_02H) \
|
1870__PMC_EV_ALIAS("DTLB_MISSES.ANY", IAP_EVENT_49H_01H) \ 1871__PMC_EV_ALIAS("DTLB_MISSES.WALK_COMPLETED", IAP_EVENT_49H_02H) \ 1872__PMC_EV_ALIAS("DTLB_MISSES.STLB_HIT", IAP_EVENT_49H_10H) \
|
1873__PMC_EV_ALIAS("DTLB_MISSES.PDE_MISS", IAP_EVENT_49H_20H) \ 1874__PMC_EV_ALIAS("DTLB_MISSES.LARGE_WALK_COMPLETED", IAP_EVENT_49H_80H) \ |
1875__PMC_EV_ALIAS("LOAD_HIT_PRE", IAP_EVENT_4CH_01H) \ 1876__PMC_EV_ALIAS("L1D_PREFETCH.REQUESTS", IAP_EVENT_4EH_01H) \ 1877__PMC_EV_ALIAS("L1D_PREFETCH.MISS", IAP_EVENT_4EH_02H) \ 1878__PMC_EV_ALIAS("L1D_PREFETCH.TRIGGERS", IAP_EVENT_4EH_04H) \ 1879__PMC_EV_ALIAS("L1D.REPL", IAP_EVENT_51H_01H) \ 1880__PMC_EV_ALIAS("L1D.M_REPL", IAP_EVENT_51H_02H) \ 1881__PMC_EV_ALIAS("L1D.M_EVICT", IAP_EVENT_51H_04H) \ 1882__PMC_EV_ALIAS("L1D.M_SNOOP_EVICT", IAP_EVENT_51H_08H) \ 1883__PMC_EV_ALIAS("L1D_CACHE_PREFETCH_LOCK_FB_HIT", IAP_EVENT_52H_01H) \ 1884__PMC_EV_ALIAS("L1D_CACHE_LOCK_FB_HIT", IAP_EVENT_53H_01H) \ 1885__PMC_EV_ALIAS("CACHE_LOCK_CYCLES.L1D_L2", IAP_EVENT_63H_01H) \ 1886__PMC_EV_ALIAS("CACHE_LOCK_CYCLES.L1D", IAP_EVENT_63H_02H) \ 1887__PMC_EV_ALIAS("IO_TRANSACTIONS", IAP_EVENT_6CH_01H) \ 1888__PMC_EV_ALIAS("L1I.HITS", IAP_EVENT_80H_01H) \ 1889__PMC_EV_ALIAS("L1I.MISSES", IAP_EVENT_80H_02H) \ 1890__PMC_EV_ALIAS("L1I.READS", IAP_EVENT_80H_03H) \ 1891__PMC_EV_ALIAS("L1I.CYCLES_STALLED", IAP_EVENT_80H_04H) \ 1892__PMC_EV_ALIAS("LARGE_ITLB.HIT", IAP_EVENT_82H_01H) \ 1893__PMC_EV_ALIAS("ITLB_MISSES.ANY", IAP_EVENT_85H_01H) \ 1894__PMC_EV_ALIAS("ITLB_MISSES.WALK_COMPLETED", IAP_EVENT_85H_02H) \ 1895__PMC_EV_ALIAS("ILD_STALL.LCP", IAP_EVENT_87H_01H) \ 1896__PMC_EV_ALIAS("ILD_STALL.MRU", IAP_EVENT_87H_02H) \ 1897__PMC_EV_ALIAS("ILD_STALL.IQ_FULL", IAP_EVENT_87H_04H) \ 1898__PMC_EV_ALIAS("ILD_STALL.REGEN", IAP_EVENT_87H_08H) \ 1899__PMC_EV_ALIAS("ILD_STALL.ANY", IAP_EVENT_87H_0FH) \ 1900__PMC_EV_ALIAS("BR_INST_EXEC.COND", IAP_EVENT_88H_01H) \ 1901__PMC_EV_ALIAS("BR_INST_EXEC.DIRECT", IAP_EVENT_88H_02H) \ 1902__PMC_EV_ALIAS("BR_INST_EXEC.INDIRECT_NON_CALL", IAP_EVENT_88H_04H) \ 1903__PMC_EV_ALIAS("BR_INST_EXEC.NON_CALLS", IAP_EVENT_88H_07H) \ 1904__PMC_EV_ALIAS("BR_INST_EXEC.RETURN_NEAR", IAP_EVENT_88H_08H) \ 1905__PMC_EV_ALIAS("BR_INST_EXEC.DIRECT_NEAR_CALL", IAP_EVENT_88H_10H) \ 1906__PMC_EV_ALIAS("BR_INST_EXEC.INDIRECT_NEAR_CALL", IAP_EVENT_88H_20H) \ 1907__PMC_EV_ALIAS("BR_INST_EXEC.NEAR_CALLS", IAP_EVENT_88H_30H) \ 1908__PMC_EV_ALIAS("BR_INST_EXEC.TAKEN", IAP_EVENT_88H_40H) \ 1909__PMC_EV_ALIAS("BR_INST_EXEC.ANY", IAP_EVENT_88H_7FH) \ 1910__PMC_EV_ALIAS("BR_MISP_EXEC.COND", IAP_EVENT_89H_01H) \ 1911__PMC_EV_ALIAS("BR_MISP_EXEC.DIRECT", IAP_EVENT_89H_02H) \ 1912__PMC_EV_ALIAS("BR_MISP_EXEC.INDIRECT_NON_CALL", IAP_EVENT_89H_04H) \ 1913__PMC_EV_ALIAS("BR_MISP_EXEC.NON_CALLS", IAP_EVENT_89H_07H) \ 1914__PMC_EV_ALIAS("BR_MISP_EXEC.RETURN_NEAR", IAP_EVENT_89H_08H) \ 1915__PMC_EV_ALIAS("BR_MISP_EXEC.DIRECT_NEAR_CALL", IAP_EVENT_89H_10H) \ 1916__PMC_EV_ALIAS("BR_MISP_EXEC.INDIRECT_NEAR_CALL", IAP_EVENT_89H_20H) \ 1917__PMC_EV_ALIAS("BR_MISP_EXEC.NEAR_CALLS", IAP_EVENT_89H_30H) \ 1918__PMC_EV_ALIAS("BR_MISP_EXEC.TAKEN", IAP_EVENT_89H_40H) \ 1919__PMC_EV_ALIAS("BR_MISP_EXEC.ANY", IAP_EVENT_89H_7FH) \ 1920__PMC_EV_ALIAS("RESOURCE_STALLS.ANY", IAP_EVENT_A2H_01H) \ 1921__PMC_EV_ALIAS("RESOURCE_STALLS.LOAD", IAP_EVENT_A2H_02H) \ 1922__PMC_EV_ALIAS("RESOURCE_STALLS.RS_FULL", IAP_EVENT_A2H_04H) \ 1923__PMC_EV_ALIAS("RESOURCE_STALLS.STORE", IAP_EVENT_A2H_08H) \ 1924__PMC_EV_ALIAS("RESOURCE_STALLS.ROB_FULL", IAP_EVENT_A2H_10H) \ 1925__PMC_EV_ALIAS("RESOURCE_STALLS.FPCW", IAP_EVENT_A2H_20H) \ 1926__PMC_EV_ALIAS("RESOURCE_STALLS.MXCSR", IAP_EVENT_A2H_40H) \ 1927__PMC_EV_ALIAS("RESOURCE_STALLS.OTHER", IAP_EVENT_A2H_80H) \ 1928__PMC_EV_ALIAS("MACRO_INSTS.FUSIONS_DECODED", IAP_EVENT_A6H_01H) \ 1929__PMC_EV_ALIAS("BACLEAR_FORCE_IQ", IAP_EVENT_A7H_01H) \ 1930__PMC_EV_ALIAS("LSD.UOPS", IAP_EVENT_A8H_01H) \ 1931__PMC_EV_ALIAS("ITLB_FLUSH", IAP_EVENT_AEH_01H) \ 1932__PMC_EV_ALIAS("OFFCORE_REQUESTS.L1D_WRITEBACK", IAP_EVENT_B0H_40H) \ 1933__PMC_EV_ALIAS("UOPS_EXECUTED.PORT0", IAP_EVENT_B1H_01H) \ 1934__PMC_EV_ALIAS("UOPS_EXECUTED.PORT1", IAP_EVENT_B1H_02H) \ 1935__PMC_EV_ALIAS("UOPS_EXECUTED.PORT2_CORE", IAP_EVENT_B1H_04H) \ 1936__PMC_EV_ALIAS("UOPS_EXECUTED.PORT3_CORE", IAP_EVENT_B1H_08H) \ 1937__PMC_EV_ALIAS("UOPS_EXECUTED.PORT4_CORE", IAP_EVENT_B1H_10H) \ 1938__PMC_EV_ALIAS("UOPS_EXECUTED.CORE_ACTIVE_CYCLES_NO_PORT5", \ 1939 IAP_EVENT_B1H_1FH) \ 1940__PMC_EV_ALIAS("UOPS_EXECUTED.PORT5", IAP_EVENT_B1H_20H) \ 1941__PMC_EV_ALIAS("UOPS_EXECUTED.CORE_ACTIVE_CYCLES", IAP_EVENT_B1H_3FH) \ 1942__PMC_EV_ALIAS("UOPS_EXECUTED.PORT015", IAP_EVENT_B1H_40H) \ 1943__PMC_EV_ALIAS("UOPS_EXECUTED.PORT234", IAP_EVENT_B1H_80H) \ 1944__PMC_EV_ALIAS("OFFCORE_REQUESTS_SQ_FULL", IAP_EVENT_B2H_01H) \ 1945__PMC_EV_ALIAS("OFF_CORE_RESPONSE_0", IAP_EVENT_B7H_01H) \ 1946__PMC_EV_ALIAS("SNOOP_RESPONSE.HIT", IAP_EVENT_B8H_01H) \ 1947__PMC_EV_ALIAS("SNOOP_RESPONSE.HITE", IAP_EVENT_B8H_02H) \ 1948__PMC_EV_ALIAS("SNOOP_RESPONSE.HITM", IAP_EVENT_B8H_04H) \ 1949__PMC_EV_ALIAS("OFF_CORE_RESPONSE_1", IAP_EVENT_BBH_01H) \ 1950__PMC_EV_ALIAS("INST_RETIRED.ANY_P", IAP_EVENT_C0H_01H) \ 1951__PMC_EV_ALIAS("INST_RETIRED.X87", IAP_EVENT_C0H_02H) \ 1952__PMC_EV_ALIAS("INST_RETIRED.MMX", IAP_EVENT_C0H_04H) \ 1953__PMC_EV_ALIAS("UOPS_RETIRED.ANY", IAP_EVENT_C2H_01H) \ 1954__PMC_EV_ALIAS("UOPS_RETIRED.RETIRE_SLOTS", IAP_EVENT_C2H_02H) \ 1955__PMC_EV_ALIAS("UOPS_RETIRED.MACRO_FUSED", IAP_EVENT_C2H_04H) \ 1956__PMC_EV_ALIAS("MACHINE_CLEARS.CYCLES", IAP_EVENT_C3H_01H) \ 1957__PMC_EV_ALIAS("MACHINE_CLEARS.MEM_ORDER", IAP_EVENT_C3H_02H) \ 1958__PMC_EV_ALIAS("MACHINE_CLEARS.SMC", IAP_EVENT_C3H_04H) \ 1959__PMC_EV_ALIAS("BR_INST_RETIRED.ALL_BRANCHES", IAP_EVENT_C4H_00H) \ 1960__PMC_EV_ALIAS("BR_INST_RETIRED.CONDITIONAL", IAP_EVENT_C4H_01H) \ 1961__PMC_EV_ALIAS("BR_INST_RETIRED.NEAR_CALL", IAP_EVENT_C4H_02H) \ 1962__PMC_EV_ALIAS("BR_INST_RETIRED.ALL_BRANCHES", IAP_EVENT_C4H_04H) \ 1963__PMC_EV_ALIAS("BR_MISP_RETIRED.ALL_BRANCHES", IAP_EVENT_C5H_00H) \ 1964__PMC_EV_ALIAS("BR_MISP_RETIRED.NEAR_CALL", IAP_EVENT_C5H_02H) \ 1965__PMC_EV_ALIAS("SSEX_UOPS_RETIRED.PACKED_SINGLE", IAP_EVENT_C7H_01H) \ 1966__PMC_EV_ALIAS("SSEX_UOPS_RETIRED.SCALAR_SINGLE", IAP_EVENT_C7H_02H) \ 1967__PMC_EV_ALIAS("SSEX_UOPS_RETIRED.PACKED_DOUBLE", IAP_EVENT_C7H_04H) \ 1968__PMC_EV_ALIAS("SSEX_UOPS_RETIRED.SCALAR_DOUBLE", IAP_EVENT_C7H_08H) \ 1969__PMC_EV_ALIAS("SSEX_UOPS_RETIRED.VECTOR_INTEGER", IAP_EVENT_C7H_10H) \ 1970__PMC_EV_ALIAS("ITLB_MISS_RETIRED", IAP_EVENT_C8H_20H) \ 1971__PMC_EV_ALIAS("MEM_LOAD_RETIRED.L1D_HIT", IAP_EVENT_CBH_01H) \ 1972__PMC_EV_ALIAS("MEM_LOAD_RETIRED.L2_HIT", IAP_EVENT_CBH_02H) \ 1973__PMC_EV_ALIAS("MEM_LOAD_RETIRED.L3_UNSHARED_HIT", IAP_EVENT_CBH_04H) \ 1974__PMC_EV_ALIAS("MEM_LOAD_RETIRED.OTHER_CORE_L2_HIT_HITM", \ 1975 IAP_EVENT_CBH_08H) \ 1976__PMC_EV_ALIAS("MEM_LOAD_RETIRED.L3_MISS", IAP_EVENT_CBH_10H) \ 1977__PMC_EV_ALIAS("MEM_LOAD_RETIRED.HIT_LFB", IAP_EVENT_CBH_40H) \ 1978__PMC_EV_ALIAS("MEM_LOAD_RETIRED.DTLB_MISS", IAP_EVENT_CBH_80H) \ 1979__PMC_EV_ALIAS("FP_MMX_TRANS.TO_FP", IAP_EVENT_CCH_01H) \ 1980__PMC_EV_ALIAS("FP_MMX_TRANS.TO_MMX", IAP_EVENT_CCH_02H) \ 1981__PMC_EV_ALIAS("FP_MMX_TRANS.ANY", IAP_EVENT_CCH_03H) \ 1982__PMC_EV_ALIAS("MACRO_INSTS.DECODED", IAP_EVENT_D0H_01H) \ 1983__PMC_EV_ALIAS("UOPS_DECODED.MS", IAP_EVENT_D1H_02H) \ 1984__PMC_EV_ALIAS("UOPS_DECODED.ESP_FOLDING", IAP_EVENT_D1H_04H) \ 1985__PMC_EV_ALIAS("UOPS_DECODED.ESP_SYNC", IAP_EVENT_D1H_08H) \ 1986__PMC_EV_ALIAS("RAT_STALLS.FLAGS", IAP_EVENT_D2H_01H) \ 1987__PMC_EV_ALIAS("RAT_STALLS.REGISTERS", IAP_EVENT_D2H_02H) \ 1988__PMC_EV_ALIAS("RAT_STALLS.ROB_READ_PORT", IAP_EVENT_D2H_04H) \ 1989__PMC_EV_ALIAS("RAT_STALLS.SCOREBOARD", IAP_EVENT_D2H_08H) \ 1990__PMC_EV_ALIAS("RAT_STALLS.ANY", IAP_EVENT_D2H_0FH) \ 1991__PMC_EV_ALIAS("SEG_RENAME_STALLS", IAP_EVENT_D4H_01H) \ 1992__PMC_EV_ALIAS("ES_REG_RENAMES", IAP_EVENT_D5H_01H) \ 1993__PMC_EV_ALIAS("UOP_UNFUSION", IAP_EVENT_DBH_01H) \ 1994__PMC_EV_ALIAS("BR_INST_DECODED", IAP_EVENT_E0H_01H) \ 1995__PMC_EV_ALIAS("BPU_MISSED_CALL_RET", IAP_EVENT_E5H_01H) \ 1996__PMC_EV_ALIAS("BACLEAR.CLEAR", IAP_EVENT_E6H_01H) \ 1997__PMC_EV_ALIAS("BACLEAR.BAD_TARGET", IAP_EVENT_E6H_02H) \ 1998__PMC_EV_ALIAS("BPU_CLEARS.EARLY", IAP_EVENT_E8H_01H) \ 1999__PMC_EV_ALIAS("BPU_CLEARS.LATE", IAP_EVENT_E8H_02H) \
|
1999__PMC_EV_ALIAS("BPU_CLEARS.ANY", IAP_EVENT_E8H_03H) \
|
2000__PMC_EV_ALIAS("L2_TRANSACTIONS.LOAD", IAP_EVENT_F0H_01H) \ 2001__PMC_EV_ALIAS("L2_TRANSACTIONS.RFO", IAP_EVENT_F0H_02H) \ 2002__PMC_EV_ALIAS("L2_TRANSACTIONS.IFETCH", IAP_EVENT_F0H_04H) \ 2003__PMC_EV_ALIAS("L2_TRANSACTIONS.PREFETCH", IAP_EVENT_F0H_08H) \ 2004__PMC_EV_ALIAS("L2_TRANSACTIONS.L1D_WB", IAP_EVENT_F0H_10H) \ 2005__PMC_EV_ALIAS("L2_TRANSACTIONS.FILL", IAP_EVENT_F0H_20H) \ 2006__PMC_EV_ALIAS("L2_TRANSACTIONS.WB", IAP_EVENT_F0H_40H) \ 2007__PMC_EV_ALIAS("L2_TRANSACTIONS.ANY", IAP_EVENT_F0H_80H) \ 2008__PMC_EV_ALIAS("L2_LINES_IN.S_STATE", IAP_EVENT_F1H_02H) \ 2009__PMC_EV_ALIAS("L2_LINES_IN.E_STATE", IAP_EVENT_F1H_04H) \ 2010__PMC_EV_ALIAS("L2_LINES_IN.ANY", IAP_EVENT_F1H_07H) \ 2011__PMC_EV_ALIAS("L2_LINES_OUT.DEMAND_CLEAN", IAP_EVENT_F2H_01H) \ 2012__PMC_EV_ALIAS("L2_LINES_OUT.DEMAND_DIRTY", IAP_EVENT_F2H_02H) \ 2013__PMC_EV_ALIAS("L2_LINES_OUT.PREFETCH_CLEAN", IAP_EVENT_F2H_04H) \ 2014__PMC_EV_ALIAS("L2_LINES_OUT.PREFETCH_DIRTY", IAP_EVENT_F2H_08H) \ 2015__PMC_EV_ALIAS("L2_LINES_OUT.ANY", IAP_EVENT_F2H_0FH) \ 2016__PMC_EV_ALIAS("SQ_MISC.SPLIT_LOCK", IAP_EVENT_F4H_10H) \ 2017__PMC_EV_ALIAS("SQ_FULL_STALL_CYCLES", IAP_EVENT_F6H_01H) \ 2018__PMC_EV_ALIAS("FP_ASSIST.ALL", IAP_EVENT_F7H_01H) \ 2019__PMC_EV_ALIAS("FP_ASSIST.OUTPUT", IAP_EVENT_F7H_02H) \ 2020__PMC_EV_ALIAS("FP_ASSIST.INPUT", IAP_EVENT_F7H_04H) \ 2021__PMC_EV_ALIAS("SIMD_INT_64.PACKED_MPY", IAP_EVENT_FDH_01H) \ 2022__PMC_EV_ALIAS("SIMD_INT_64.PACKED_SHIFT", IAP_EVENT_FDH_02H) \ 2023__PMC_EV_ALIAS("SIMD_INT_64.PACK", IAP_EVENT_FDH_04H) \ 2024__PMC_EV_ALIAS("SIMD_INT_64.UNPACK", IAP_EVENT_FDH_08H) \ 2025__PMC_EV_ALIAS("SIMD_INT_64.PACKED_LOGICAL", IAP_EVENT_FDH_10H) \ 2026__PMC_EV_ALIAS("SIMD_INT_64.PACKED_ARITH", IAP_EVENT_FDH_20H) \ 2027__PMC_EV_ALIAS("SIMD_INT_64.SHUFFLE_MOVE", IAP_EVENT_FDH_40H) \ 2028__PMC_EV_ALIAS_COREI7_OLD() 2029 2030/* 2031 * Aliases for Westmere PMC events (253669-033US December 2009) 2032 */ 2033#define __PMC_EV_ALIAS_WESTMERE() \ 2034__PMC_EV_ALIAS_INTEL_ARCHITECTURAL() \ 2035__PMC_EV_ALIAS("LOAD_BLOCK.OVERLAP_STORE", IAP_EVENT_03H_02H) \ 2036__PMC_EV_ALIAS("SB_DRAIN.ANY", IAP_EVENT_04H_07H) \ 2037__PMC_EV_ALIAS("MISALIGN_MEMORY.STORE", IAP_EVENT_05H_02H) \ 2038__PMC_EV_ALIAS("STORE_BLOCKS.AT_RET", IAP_EVENT_06H_04H) \ 2039__PMC_EV_ALIAS("STORE_BLOCKS.L1D_BLOCK", IAP_EVENT_06H_08H) \ 2040__PMC_EV_ALIAS("PARTIAL_ADDRESS_ALIAS", IAP_EVENT_07H_01H) \ 2041__PMC_EV_ALIAS("DTLB_LOAD_MISSES.ANY", IAP_EVENT_08H_01H) \ 2042__PMC_EV_ALIAS("DTLB_LOAD_MISSES.WALK_COMPLETED", IAP_EVENT_08H_02H) \ 2043__PMC_EV_ALIAS("DTLB_LOAD_MISSES.WALK_CYCLES", IAP_EVENT_08H_04H) \ 2044__PMC_EV_ALIAS("DTLB_LOAD_MISSES.STLB_HIT", IAP_EVENT_08H_10H) \ 2045__PMC_EV_ALIAS("DTLB_LOAD_MISSES.PDE_MISS", IAP_EVENT_08H_20H) \ 2046__PMC_EV_ALIAS("MEM_INST_RETIRED.LOADS", IAP_EVENT_0BH_01H) \ 2047__PMC_EV_ALIAS("MEM_INST_RETIRED.STORES", IAP_EVENT_0BH_02H) \ 2048__PMC_EV_ALIAS("MEM_INST_RETIRED.LATENCY_ABOVE_THRESHOLD", \ 2049 IAP_EVENT_0BH_10H) \ 2050__PMC_EV_ALIAS("MEM_STORE_RETIRED.DTLB_MISS", IAP_EVENT_0CH_01H) \ 2051__PMC_EV_ALIAS("UOPS_ISSUED.ANY", IAP_EVENT_0EH_01H) \ 2052__PMC_EV_ALIAS("UOPS_ISSUED.STALLED_CYCLES", IAP_EVENT_0EH_01H) \ 2053__PMC_EV_ALIAS("UOPS_ISSUED.FUSED", IAP_EVENT_0EH_02H) \ 2054__PMC_EV_ALIAS("MEM_UNCORE_RETIRED.LOCAL_HITM", IAP_EVENT_0FH_02H) \ 2055__PMC_EV_ALIAS("MEM_UNCORE_RETIRED.LOCAL_DRAM_AND_REMOTE_CACHE_HIT", \ 2056 IAP_EVENT_0FH_08H) \ 2057__PMC_EV_ALIAS("MEM_UNCORE_RETIRED.LOCAL_DRAM", IAP_EVENT_0FH_10H) \ 2058__PMC_EV_ALIAS("MEM_UNCORE_RETIRED.REMOTE_DRAM", IAP_EVENT_0FH_20H) \ 2059__PMC_EV_ALIAS("MEM_UNCORE_RETIRED.UNCACHEABLE", IAP_EVENT_0FH_80H) \ 2060__PMC_EV_ALIAS("FP_COMP_OPS_EXE.X87", IAP_EVENT_10H_01H) \ 2061__PMC_EV_ALIAS("FP_COMP_OPS_EXE.MMX", IAP_EVENT_10H_02H) \ 2062__PMC_EV_ALIAS("FP_COMP_OPS_EXE.SSE_FP", IAP_EVENT_10H_04H) \ 2063__PMC_EV_ALIAS("FP_COMP_OPS_EXE.SSE2_INTEGER", IAP_EVENT_10H_08H) \ 2064__PMC_EV_ALIAS("FP_COMP_OPS_EXE.SSE_FP_PACKED", IAP_EVENT_10H_10H) \ 2065__PMC_EV_ALIAS("FP_COMP_OPS_EXE.SSE_FP_SCALAR", IAP_EVENT_10H_20H) \ 2066__PMC_EV_ALIAS("FP_COMP_OPS_EXE.SSE_SINGLE_PRECISION", \ 2067 IAP_EVENT_10H_40H) \ 2068__PMC_EV_ALIAS("FP_COMP_OPS_EXE.SSE_DOUBLE_PRECISION", \ 2069 IAP_EVENT_10H_80H) \ 2070__PMC_EV_ALIAS("SIMD_INT_128.PACKED_MPY", IAP_EVENT_12H_01H) \ 2071__PMC_EV_ALIAS("SIMD_INT_128.PACKED_SHIFT", IAP_EVENT_12H_02H) \ 2072__PMC_EV_ALIAS("SIMD_INT_128.PACK", IAP_EVENT_12H_04H) \ 2073__PMC_EV_ALIAS("SIMD_INT_128.UNPACK", IAP_EVENT_12H_08H) \ 2074__PMC_EV_ALIAS("SIMD_INT_128.PACKED_LOGICAL", IAP_EVENT_12H_10H) \ 2075__PMC_EV_ALIAS("SIMD_INT_128.PACKED_ARITH", IAP_EVENT_12H_20H) \ 2076__PMC_EV_ALIAS("SIMD_INT_128.SHUFFLE_MOVE", IAP_EVENT_12H_40H) \ 2077__PMC_EV_ALIAS("LOAD_DISPATCH.RS", IAP_EVENT_13H_01H) \ 2078__PMC_EV_ALIAS("LOAD_DISPATCH.RS_DELAYED", IAP_EVENT_13H_02H) \ 2079__PMC_EV_ALIAS("LOAD_DISPATCH.MOB", IAP_EVENT_13H_04H) \ 2080__PMC_EV_ALIAS("LOAD_DISPATCH.ANY", IAP_EVENT_13H_07H) \ 2081__PMC_EV_ALIAS("ARITH.CYCLES_DIV_BUSY", IAP_EVENT_14H_01H) \ 2082__PMC_EV_ALIAS("ARITH.MUL", IAP_EVENT_14H_02H) \ 2083__PMC_EV_ALIAS("INST_QUEUE_WRITES", IAP_EVENT_17H_01H) \ 2084__PMC_EV_ALIAS("INST_DECODED.DEC0", IAP_EVENT_18H_01H) \ 2085__PMC_EV_ALIAS("TWO_UOP_INSTS_DECODED", IAP_EVENT_19H_01H) \ 2086__PMC_EV_ALIAS("INST_QUEUE_WRITE_CYCLES", IAP_EVENT_1EH_01H) \ 2087__PMC_EV_ALIAS("LSD_OVERFLOW", IAP_EVENT_20H_01H) \ 2088__PMC_EV_ALIAS("L2_RQSTS.LD_HIT", IAP_EVENT_24H_01H) \ 2089__PMC_EV_ALIAS("L2_RQSTS.LD_MISS", IAP_EVENT_24H_02H) \ 2090__PMC_EV_ALIAS("L2_RQSTS.LOADS", IAP_EVENT_24H_03H) \ 2091__PMC_EV_ALIAS("L2_RQSTS.RFO_HIT", IAP_EVENT_24H_04H) \ 2092__PMC_EV_ALIAS("L2_RQSTS.RFO_MISS", IAP_EVENT_24H_08H) \ 2093__PMC_EV_ALIAS("L2_RQSTS.RFOS", IAP_EVENT_24H_0CH) \ 2094__PMC_EV_ALIAS("L2_RQSTS.IFETCH_HIT", IAP_EVENT_24H_10H) \ 2095__PMC_EV_ALIAS("L2_RQSTS.IFETCH_MISS", IAP_EVENT_24H_20H) \ 2096__PMC_EV_ALIAS("L2_RQSTS.IFETCHES", IAP_EVENT_24H_30H) \ 2097__PMC_EV_ALIAS("L2_RQSTS.PREFETCH_HIT", IAP_EVENT_24H_40H) \ 2098__PMC_EV_ALIAS("L2_RQSTS.PREFETCH_MISS", IAP_EVENT_24H_80H) \ 2099__PMC_EV_ALIAS("L2_RQSTS.PREFETCHES", IAP_EVENT_24H_C0H) \ 2100__PMC_EV_ALIAS("L2_RQSTS.MISS", IAP_EVENT_24H_AAH) \ 2101__PMC_EV_ALIAS("L2_RQSTS.REFERENCES", IAP_EVENT_24H_FFH) \ 2102__PMC_EV_ALIAS("L2_DATA_RQSTS.DEMAND.I_STATE", IAP_EVENT_26H_01H) \ 2103__PMC_EV_ALIAS("L2_DATA_RQSTS.DEMAND.S_STATE", IAP_EVENT_26H_02H) \ 2104__PMC_EV_ALIAS("L2_DATA_RQSTS.DEMAND.E_STATE", IAP_EVENT_26H_04H) \ 2105__PMC_EV_ALIAS("L2_DATA_RQSTS.DEMAND.M_STATE", IAP_EVENT_26H_08H) \ 2106__PMC_EV_ALIAS("L2_DATA_RQSTS.DEMAND.MESI", IAP_EVENT_26H_0FH) \ 2107__PMC_EV_ALIAS("L2_DATA_RQSTS.PREFETCH.I_STATE", IAP_EVENT_26H_10H) \ 2108__PMC_EV_ALIAS("L2_DATA_RQSTS.PREFETCH.S_STATE", IAP_EVENT_26H_20H) \ 2109__PMC_EV_ALIAS("L2_DATA_RQSTS.PREFETCH.E_STATE", IAP_EVENT_26H_40H) \ 2110__PMC_EV_ALIAS("L2_DATA_RQSTS.PREFETCH.M_STATE", IAP_EVENT_26H_80H) \ 2111__PMC_EV_ALIAS("L2_DATA_RQSTS.PREFETCH.MESI", IAP_EVENT_26H_F0H) \ 2112__PMC_EV_ALIAS("L2_DATA_RQSTS.ANY", IAP_EVENT_26H_FFH) \ 2113__PMC_EV_ALIAS("L2_WRITE.RFO.I_STATE", IAP_EVENT_27H_01H) \ 2114__PMC_EV_ALIAS("L2_WRITE.RFO.S_STATE", IAP_EVENT_27H_02H) \ 2115__PMC_EV_ALIAS("L2_WRITE.RFO.M_STATE", IAP_EVENT_27H_08H) \ 2116__PMC_EV_ALIAS("L2_WRITE.RFO.HIT", IAP_EVENT_27H_0EH) \ 2117__PMC_EV_ALIAS("L2_WRITE.RFO.MESI", IAP_EVENT_27H_0FH) \ 2118__PMC_EV_ALIAS("L2_WRITE.LOCK.I_STATE", IAP_EVENT_27H_10H) \ 2119__PMC_EV_ALIAS("L2_WRITE.LOCK.S_STATE", IAP_EVENT_27H_20H) \ 2120__PMC_EV_ALIAS("L2_WRITE.LOCK.E_STATE", IAP_EVENT_27H_40H) \ 2121__PMC_EV_ALIAS("L2_WRITE.LOCK.M_STATE", IAP_EVENT_27H_80H) \ 2122__PMC_EV_ALIAS("L2_WRITE.LOCK.HIT", IAP_EVENT_27H_E0H) \ 2123__PMC_EV_ALIAS("L2_WRITE.LOCK.MESI", IAP_EVENT_27H_F0H) \ 2124__PMC_EV_ALIAS("L1D_WB_L2.I_STATE", IAP_EVENT_28H_01H) \ 2125__PMC_EV_ALIAS("L1D_WB_L2.S_STATE", IAP_EVENT_28H_02H) \ 2126__PMC_EV_ALIAS("L1D_WB_L2.E_STATE", IAP_EVENT_28H_04H) \ 2127__PMC_EV_ALIAS("L1D_WB_L2.M_STATE", IAP_EVENT_28H_08H) \ 2128__PMC_EV_ALIAS("L1D_WB_L2.MESI", IAP_EVENT_28H_0FH) \ 2129__PMC_EV_ALIAS("L3_LAT_CACHE.REFERENCE", IAP_EVENT_2EH_02H) \ 2130__PMC_EV_ALIAS("L3_LAT_CACHE.MISS", IAP_EVENT_2EH_01H) \ 2131__PMC_EV_ALIAS("CPU_CLK_UNHALTED.THREAD_P", IAP_EVENT_3CH_00H) \ 2132__PMC_EV_ALIAS("CPU_CLK_UNHALTED.REF_P", IAP_EVENT_3CH_01H) \ 2133__PMC_EV_ALIAS("DTLB_MISSES.ANY", IAP_EVENT_49H_01H) \ 2134__PMC_EV_ALIAS("DTLB_MISSES.WALK_COMPLETED", IAP_EVENT_49H_02H) \ 2135__PMC_EV_ALIAS("DTLB_MISSES.WALK_CYCLES", IAP_EVENT_49H_04H) \ 2136__PMC_EV_ALIAS("DTLB_MISSES.STLB_HIT", IAP_EVENT_49H_10H) \ 2137__PMC_EV_ALIAS("DTLB_MISSES.LARGE_WALK_COMPLETED", IAP_EVENT_49H_80H) \ 2138__PMC_EV_ALIAS("LOAD_HIT_PRE", IAP_EVENT_4CH_01H) \ 2139__PMC_EV_ALIAS("L1D_PREFETCH.REQUESTS", IAP_EVENT_4EH_01H) \ 2140__PMC_EV_ALIAS("L1D_PREFETCH.MISS", IAP_EVENT_4EH_02H) \ 2141__PMC_EV_ALIAS("L1D_PREFETCH.TRIGGERS", IAP_EVENT_4EH_04H) \ 2142__PMC_EV_ALIAS("EPT.WALK_CYCLES", IAP_EVENT_4FH_10H) \ 2143__PMC_EV_ALIAS("L1D.REPL", IAP_EVENT_51H_01H) \ 2144__PMC_EV_ALIAS("L1D.M_REPL", IAP_EVENT_51H_02H) \ 2145__PMC_EV_ALIAS("L1D.M_EVICT", IAP_EVENT_51H_04H) \ 2146__PMC_EV_ALIAS("L1D.M_SNOOP_EVICT", IAP_EVENT_51H_08H) \ 2147__PMC_EV_ALIAS("L1D_CACHE_PREFETCH_LOCK_FB_HIT", IAP_EVENT_52H_01H) \ 2148__PMC_EV_ALIAS("L1D_CACHE_LOCK_FB_HIT", IAP_EVENT_53H_01H) \ 2149__PMC_EV_ALIAS("OFFCORE_REQUESTS_OUTSTANDING.DEMAND.READ_DATA", \ 2150 IAP_EVENT_60H_01H) \ 2151__PMC_EV_ALIAS("OFFCORE_REQUESTS_OUTSTANDING.DEMAND.READ_CODE", \ 2152 IAP_EVENT_60H_02H) \ 2153__PMC_EV_ALIAS("OFFCORE_REQUESTS_OUTSTANDING.DEMAND.RFO", \ 2154 IAP_EVENT_60H_04H) \ 2155__PMC_EV_ALIAS("OFFCORE_REQUESTS_OUTSTANDING.ANY.READ", \ 2156 IAP_EVENT_60H_08H) \ 2157__PMC_EV_ALIAS("CACHE_LOCK_CYCLES.L1D_L2", IAP_EVENT_63H_01H) \ 2158__PMC_EV_ALIAS("CACHE_LOCK_CYCLES.L1D", IAP_EVENT_63H_02H) \ 2159__PMC_EV_ALIAS("IO_TRANSACTIONS", IAP_EVENT_6CH_01H) \ 2160__PMC_EV_ALIAS("L1I.HITS", IAP_EVENT_80H_01H) \ 2161__PMC_EV_ALIAS("L1I.MISSES", IAP_EVENT_80H_02H) \ 2162__PMC_EV_ALIAS("L1I.READS", IAP_EVENT_80H_03H) \ 2163__PMC_EV_ALIAS("L1I.CYCLES_STALLED", IAP_EVENT_80H_04H) \ 2164__PMC_EV_ALIAS("LARGE_ITLB.HIT", IAP_EVENT_82H_01H) \ 2165__PMC_EV_ALIAS("ITLB_MISSES.ANY", IAP_EVENT_85H_01H) \ 2166__PMC_EV_ALIAS("ITLB_MISSES.WALK_COMPLETED", IAP_EVENT_85H_02H) \ 2167__PMC_EV_ALIAS("ITLB_MISSES.WALK_CYCLES", IAP_EVENT_85H_04H) \ 2168__PMC_EV_ALIAS("ITLB_MISSES.LARGE_WALK_COMPLETED", IAP_EVENT_85H_80H) \ 2169__PMC_EV_ALIAS("ILD_STALL.LCP", IAP_EVENT_87H_01H) \ 2170__PMC_EV_ALIAS("ILD_STALL.MRU", IAP_EVENT_87H_02H) \ 2171__PMC_EV_ALIAS("ILD_STALL.IQ_FULL", IAP_EVENT_87H_04H) \ 2172__PMC_EV_ALIAS("ILD_STALL.REGEN", IAP_EVENT_87H_08H) \ 2173__PMC_EV_ALIAS("ILD_STALL.ANY", IAP_EVENT_87H_0FH) \ 2174__PMC_EV_ALIAS("BR_INST_EXEC.COND", IAP_EVENT_88H_01H) \ 2175__PMC_EV_ALIAS("BR_INST_EXEC.DIRECT", IAP_EVENT_88H_02H) \ 2176__PMC_EV_ALIAS("BR_INST_EXEC.INDIRECT_NON_CALL", IAP_EVENT_88H_04H) \ 2177__PMC_EV_ALIAS("BR_INST_EXEC.NON_CALLS", IAP_EVENT_88H_07H) \ 2178__PMC_EV_ALIAS("BR_INST_EXEC.RETURN_NEAR", IAP_EVENT_88H_08H) \ 2179__PMC_EV_ALIAS("BR_INST_EXEC.DIRECT_NEAR_CALL", IAP_EVENT_88H_10H) \ 2180__PMC_EV_ALIAS("BR_INST_EXEC.INDIRECT_NEAR_CALL", IAP_EVENT_88H_20H) \ 2181__PMC_EV_ALIAS("BR_INST_EXEC.NEAR_CALLS", IAP_EVENT_88H_30H) \ 2182__PMC_EV_ALIAS("BR_INST_EXEC.TAKEN", IAP_EVENT_88H_40H) \ 2183__PMC_EV_ALIAS("BR_INST_EXEC.ANY", IAP_EVENT_88H_7FH) \ 2184__PMC_EV_ALIAS("BR_MISP_EXEC.COND", IAP_EVENT_89H_01H) \ 2185__PMC_EV_ALIAS("BR_MISP_EXEC.DIRECT", IAP_EVENT_89H_02H) \ 2186__PMC_EV_ALIAS("BR_MISP_EXEC.INDIRECT_NON_CALL", IAP_EVENT_89H_04H) \ 2187__PMC_EV_ALIAS("BR_MISP_EXEC.NON_CALLS", IAP_EVENT_89H_07H) \ 2188__PMC_EV_ALIAS("BR_MISP_EXEC.RETURN_NEAR", IAP_EVENT_89H_08H) \ 2189__PMC_EV_ALIAS("BR_MISP_EXEC.DIRECT_NEAR_CALL", IAP_EVENT_89H_10H) \ 2190__PMC_EV_ALIAS("BR_MISP_EXEC.INDIRECT_NEAR_CALL", IAP_EVENT_89H_20H) \ 2191__PMC_EV_ALIAS("BR_MISP_EXEC.NEAR_CALLS", IAP_EVENT_89H_30H) \ 2192__PMC_EV_ALIAS("BR_MISP_EXEC.TAKEN", IAP_EVENT_89H_40H) \ 2193__PMC_EV_ALIAS("BR_MISP_EXEC.ANY", IAP_EVENT_89H_7FH) \ 2194__PMC_EV_ALIAS("RESOURCE_STALLS.ANY", IAP_EVENT_A2H_01H) \ 2195__PMC_EV_ALIAS("RESOURCE_STALLS.LOAD", IAP_EVENT_A2H_02H) \ 2196__PMC_EV_ALIAS("RESOURCE_STALLS.RS_FULL", IAP_EVENT_A2H_04H) \ 2197__PMC_EV_ALIAS("RESOURCE_STALLS.STORE", IAP_EVENT_A2H_08H) \ 2198__PMC_EV_ALIAS("RESOURCE_STALLS.ROB_FULL", IAP_EVENT_A2H_10H) \ 2199__PMC_EV_ALIAS("RESOURCE_STALLS.FPCW", IAP_EVENT_A2H_20H) \ 2200__PMC_EV_ALIAS("RESOURCE_STALLS.MXCSR", IAP_EVENT_A2H_40H) \ 2201__PMC_EV_ALIAS("RESOURCE_STALLS.OTHER", IAP_EVENT_A2H_80H) \ 2202__PMC_EV_ALIAS("MACRO_INSTS.FUSIONS_DECODED", IAP_EVENT_A6H_01H) \ 2203__PMC_EV_ALIAS("BACLEAR_FORCE_IQ", IAP_EVENT_A7H_01H) \ 2204__PMC_EV_ALIAS("LSD.UOPS", IAP_EVENT_A8H_01H) \ 2205__PMC_EV_ALIAS("ITLB_FLUSH", IAP_EVENT_AEH_01H) \ 2206__PMC_EV_ALIAS("OFFCORE_REQUESTS.DEMAND.READ_DATA", IAP_EVENT_B0H_01H) \ 2207__PMC_EV_ALIAS("OFFCORE_REQUESTS.DEMAND.READ_CODE", IAP_EVENT_B0H_02H) \ 2208__PMC_EV_ALIAS("OFFCORE_REQUESTS.DEMAND.RFO", IAP_EVENT_B0H_04H) \ 2209__PMC_EV_ALIAS("OFFCORE_REQUESTS.ANY.READ", IAP_EVENT_B0H_08H) \ 2210__PMC_EV_ALIAS("OFFCORE_REQUESTS.ANY.RFO", IAP_EVENT_B0H_10H) \ 2211__PMC_EV_ALIAS("OFFCORE_REQUESTS.L1D_WRITEBACK", IAP_EVENT_B0H_40H) \ 2212__PMC_EV_ALIAS("OFFCORE_REQUESTS.ANY", IAP_EVENT_B0H_80H) \ 2213__PMC_EV_ALIAS("UOPS_EXECUTED.PORT0", IAP_EVENT_B1H_01H) \ 2214__PMC_EV_ALIAS("UOPS_EXECUTED.PORT1", IAP_EVENT_B1H_02H) \ 2215__PMC_EV_ALIAS("UOPS_EXECUTED.PORT2_CORE", IAP_EVENT_B1H_04H) \ 2216__PMC_EV_ALIAS("UOPS_EXECUTED.PORT3_CORE", IAP_EVENT_B1H_08H) \ 2217__PMC_EV_ALIAS("UOPS_EXECUTED.PORT4_CORE", IAP_EVENT_B1H_10H) \ 2218__PMC_EV_ALIAS("UOPS_EXECUTED.CORE_ACTIVE_CYCLES_NO_PORT5", \ 2219 IAP_EVENT_B1H_1FH) \ 2220__PMC_EV_ALIAS("UOPS_EXECUTED.PORT5", IAP_EVENT_B1H_20H) \ 2221__PMC_EV_ALIAS("UOPS_EXECUTED.CORE_ACTIVE_CYCLES", IAP_EVENT_B1H_3FH) \ 2222__PMC_EV_ALIAS("UOPS_EXECUTED.PORT015", IAP_EVENT_B1H_40H) \ 2223__PMC_EV_ALIAS("UOPS_EXECUTED.PORT234", IAP_EVENT_B1H_80H) \ 2224__PMC_EV_ALIAS("OFFCORE_REQUESTS_SQ_FULL", IAP_EVENT_B2H_01H) \ 2225__PMC_EV_ALIAS("SNOOPQ_REQUESTS_OUTSTANDING.DATA", IAP_EVENT_B3H_01H) \ 2226__PMC_EV_ALIAS("SNOOPQ_REQUESTS_OUTSTANDING.INVALIDATE", \ 2227 IAP_EVENT_B3H_02H) \ 2228__PMC_EV_ALIAS("SNOOPQ_REQUESTS_OUTSTANDING.CODE", IAP_EVENT_B3H_04H) \ 2229__PMC_EV_ALIAS("SNOOPQ_REQUESTS.CODE", IAP_EVENT_B4H_01H) \ 2230__PMC_EV_ALIAS("SNOOPQ_REQUESTS.DATA", IAP_EVENT_B4H_02H) \ 2231__PMC_EV_ALIAS("SNOOPQ_REQUESTS.INVALIDATE", IAP_EVENT_B4H_04H) \ 2232__PMC_EV_ALIAS("OFF_CORE_RESPONSE_0", IAP_EVENT_B7H_01H) \ 2233__PMC_EV_ALIAS("SNOOP_RESPONSE.HIT", IAP_EVENT_B8H_01H) \ 2234__PMC_EV_ALIAS("SNOOP_RESPONSE.HITE", IAP_EVENT_B8H_02H) \ 2235__PMC_EV_ALIAS("SNOOP_RESPONSE.HITM", IAP_EVENT_B8H_04H) \ 2236__PMC_EV_ALIAS("OFF_CORE_RESPONSE_1", IAP_EVENT_BBH_01H) \ 2237__PMC_EV_ALIAS("INST_RETIRED.ANY_P", IAP_EVENT_C0H_01H) \ 2238__PMC_EV_ALIAS("INST_RETIRED.X87", IAP_EVENT_C0H_02H) \ 2239__PMC_EV_ALIAS("INST_RETIRED.MMX", IAP_EVENT_C0H_04H) \ 2240__PMC_EV_ALIAS("UOPS_RETIRED.ANY", IAP_EVENT_C2H_01H) \ 2241__PMC_EV_ALIAS("UOPS_RETIRED.RETIRE_SLOTS", IAP_EVENT_C2H_02H) \ 2242__PMC_EV_ALIAS("UOPS_RETIRED.MACRO_FUSED", IAP_EVENT_C2H_04H) \ 2243__PMC_EV_ALIAS("MACHINE_CLEARS.CYCLES", IAP_EVENT_C3H_01H) \ 2244__PMC_EV_ALIAS("MACHINE_CLEARS.MEM_ORDER", IAP_EVENT_C3H_02H) \ 2245__PMC_EV_ALIAS("MACHINE_CLEARS.SMC", IAP_EVENT_C3H_04H) \ 2246__PMC_EV_ALIAS("BR_INST_RETIRED.ANY_P", IAP_EVENT_C4H_00H) \ 2247__PMC_EV_ALIAS("BR_INST_RETIRED.CONDITIONAL", IAP_EVENT_C4H_01H) \ 2248__PMC_EV_ALIAS("BR_INST_RETIRED.NEAR_CALL", IAP_EVENT_C4H_02H) \ 2249__PMC_EV_ALIAS("BR_INST_RETIRED.ALL_BRANCHES", IAP_EVENT_C4H_04H) \ 2250__PMC_EV_ALIAS("BR_MISP_RETIRED.ANY_P", IAP_EVENT_C5H_00H) \ 2251__PMC_EV_ALIAS("BR_MISP_RETIRED.CONDITIONAL", IAP_EVENT_C5H_01H) \ 2252__PMC_EV_ALIAS("BR_MISP_RETIRED.NEAR_CALL", IAP_EVENT_C5H_02H) \ 2253__PMC_EV_ALIAS("BR_MISP_RETIRED.ALL_BRANCHES", IAP_EVENT_C5H_04H) \ 2254__PMC_EV_ALIAS("SSEX_UOPS_RETIRED.PACKED_SINGLE", IAP_EVENT_C7H_01H) \ 2255__PMC_EV_ALIAS("SSEX_UOPS_RETIRED.SCALAR_SINGLE", IAP_EVENT_C7H_02H) \ 2256__PMC_EV_ALIAS("SSEX_UOPS_RETIRED.PACKED_DOUBLE", IAP_EVENT_C7H_04H) \ 2257__PMC_EV_ALIAS("SSEX_UOPS_RETIRED.SCALAR_DOUBLE", IAP_EVENT_C7H_08H) \ 2258__PMC_EV_ALIAS("SSEX_UOPS_RETIRED.VECTOR_INTEGER", IAP_EVENT_C7H_10H) \ 2259__PMC_EV_ALIAS("ITLB_MISS_RETIRED", IAP_EVENT_C8H_20H) \ 2260__PMC_EV_ALIAS("MEM_LOAD_RETIRED.L1D_HIT", IAP_EVENT_CBH_01H) \ 2261__PMC_EV_ALIAS("MEM_LOAD_RETIRED.L2_HIT", IAP_EVENT_CBH_02H) \ 2262__PMC_EV_ALIAS("MEM_LOAD_RETIRED.L3_UNSHARED_HIT", IAP_EVENT_CBH_04H) \ 2263__PMC_EV_ALIAS("MEM_LOAD_RETIRED.OTHER_CORE_L2_HIT_HITM", \ 2264 IAP_EVENT_CBH_08H) \ 2265__PMC_EV_ALIAS("MEM_LOAD_RETIRED.L3_MISS", IAP_EVENT_CBH_10H) \ 2266__PMC_EV_ALIAS("MEM_LOAD_RETIRED.HIT_LFB", IAP_EVENT_CBH_40H) \ 2267__PMC_EV_ALIAS("MEM_LOAD_RETIRED.DTLB_MISS", IAP_EVENT_CBH_80H) \ 2268__PMC_EV_ALIAS("FP_MMX_TRANS.TO_FP", IAP_EVENT_CCH_01H) \ 2269__PMC_EV_ALIAS("FP_MMX_TRANS.TO_MMX", IAP_EVENT_CCH_02H) \ 2270__PMC_EV_ALIAS("FP_MMX_TRANS.ANY", IAP_EVENT_CCH_03H) \ 2271__PMC_EV_ALIAS("MACRO_INSTS.DECODED", IAP_EVENT_D0H_01H) \ 2272__PMC_EV_ALIAS("UOPS_DECODED.STALL_CYCLES", IAP_EVENT_D1H_01H) \ 2273__PMC_EV_ALIAS("UOPS_DECODED.MS", IAP_EVENT_D1H_02H) \ 2274__PMC_EV_ALIAS("UOPS_DECODED.ESP_FOLDING", IAP_EVENT_D1H_04H) \ 2275__PMC_EV_ALIAS("UOPS_DECODED.ESP_SYNC", IAP_EVENT_D1H_08H) \ 2276__PMC_EV_ALIAS("RAT_STALLS.FLAGS", IAP_EVENT_D2H_01H) \ 2277__PMC_EV_ALIAS("RAT_STALLS.REGISTERS", IAP_EVENT_D2H_02H) \ 2278__PMC_EV_ALIAS("RAT_STALLS.ROB_READ_PORT", IAP_EVENT_D2H_04H) \ 2279__PMC_EV_ALIAS("RAT_STALLS.SCOREBOARD", IAP_EVENT_D2H_08H) \ 2280__PMC_EV_ALIAS("RAT_STALLS.ANY", IAP_EVENT_D2H_0FH) \ 2281__PMC_EV_ALIAS("SEG_RENAME_STALLS", IAP_EVENT_D4H_01H) \ 2282__PMC_EV_ALIAS("ES_REG_RENAMES", IAP_EVENT_D5H_01H) \ 2283__PMC_EV_ALIAS("UOP_UNFUSION", IAP_EVENT_DBH_01H) \ 2284__PMC_EV_ALIAS("BR_INST_DECODED", IAP_EVENT_E0H_01H) \ 2285__PMC_EV_ALIAS("BPU_MISSED_CALL_RET", IAP_EVENT_E5H_01H) \ 2286__PMC_EV_ALIAS("BACLEAR.CLEAR", IAP_EVENT_E6H_01H) \ 2287__PMC_EV_ALIAS("BACLEAR.BAD_TARGET", IAP_EVENT_E6H_02H) \ 2288__PMC_EV_ALIAS("BPU_CLEARS.EARLY", IAP_EVENT_E8H_01H) \ 2289__PMC_EV_ALIAS("BPU_CLEARS.LATE", IAP_EVENT_E8H_02H) \ 2290__PMC_EV_ALIAS("THREAD_ACTIVE", IAP_EVENT_ECH_01H) \ 2291__PMC_EV_ALIAS("L2_TRANSACTIONS.LOAD", IAP_EVENT_F0H_01H) \ 2292__PMC_EV_ALIAS("L2_TRANSACTIONS.RFO", IAP_EVENT_F0H_02H) \ 2293__PMC_EV_ALIAS("L2_TRANSACTIONS.IFETCH", IAP_EVENT_F0H_04H) \ 2294__PMC_EV_ALIAS("L2_TRANSACTIONS.PREFETCH", IAP_EVENT_F0H_08H) \ 2295__PMC_EV_ALIAS("L2_TRANSACTIONS.L1D_WB", IAP_EVENT_F0H_10H) \ 2296__PMC_EV_ALIAS("L2_TRANSACTIONS.FILL", IAP_EVENT_F0H_20H) \ 2297__PMC_EV_ALIAS("L2_TRANSACTIONS.WB", IAP_EVENT_F0H_40H) \ 2298__PMC_EV_ALIAS("L2_TRANSACTIONS.ANY", IAP_EVENT_F0H_80H) \ 2299__PMC_EV_ALIAS("L2_LINES_IN.S_STATE", IAP_EVENT_F1H_02H) \ 2300__PMC_EV_ALIAS("L2_LINES_IN.E_STATE", IAP_EVENT_F1H_04H) \ 2301__PMC_EV_ALIAS("L2_LINES_IN.ANY", IAP_EVENT_F1H_07H) \ 2302__PMC_EV_ALIAS("L2_LINES_OUT.DEMAND_CLEAN", IAP_EVENT_F2H_01H) \ 2303__PMC_EV_ALIAS("L2_LINES_OUT.DEMAND_DIRTY", IAP_EVENT_F2H_02H) \ 2304__PMC_EV_ALIAS("L2_LINES_OUT.PREFETCH_CLEAN", IAP_EVENT_F2H_04H) \ 2305__PMC_EV_ALIAS("L2_LINES_OUT.PREFETCH_DIRTY", IAP_EVENT_F2H_08H) \ 2306__PMC_EV_ALIAS("L2_LINES_OUT.ANY", IAP_EVENT_F2H_0FH) \ 2307__PMC_EV_ALIAS("SQ_MISC.LRU_HINTS", IAP_EVENT_F4H_04H) \ 2308__PMC_EV_ALIAS("SQ_MISC.SPLIT_LOCK", IAP_EVENT_F4H_10H) \ 2309__PMC_EV_ALIAS("SQ_FULL_STALL_CYCLES", IAP_EVENT_F6H_01H) \ 2310__PMC_EV_ALIAS("FP_ASSIST.ALL", IAP_EVENT_F7H_01H) \ 2311__PMC_EV_ALIAS("FP_ASSIST.OUTPUT", IAP_EVENT_F7H_02H) \ 2312__PMC_EV_ALIAS("FP_ASSIST.INPUT", IAP_EVENT_F7H_04H) \ 2313__PMC_EV_ALIAS("SIMD_INT_64.PACKED_MPY", IAP_EVENT_FDH_01H) \ 2314__PMC_EV_ALIAS("SIMD_INT_64.PACKED_SHIFT", IAP_EVENT_FDH_02H) \ 2315__PMC_EV_ALIAS("SIMD_INT_64.PACK", IAP_EVENT_FDH_04H) \ 2316__PMC_EV_ALIAS("SIMD_INT_64.UNPACK", IAP_EVENT_FDH_08H) \ 2317__PMC_EV_ALIAS("SIMD_INT_64.PACKED_LOGICAL", IAP_EVENT_FDH_10H) \ 2318__PMC_EV_ALIAS("SIMD_INT_64.PACKED_ARITH", IAP_EVENT_FDH_20H) \ 2319__PMC_EV_ALIAS("SIMD_INT_64.SHUFFLE_MOVE", IAP_EVENT_FDH_40H) 2320 2321/* timestamp counters. */ 2322#define __PMC_EV_TSC() \ 2323 __PMC_EV(TSC, TSC) 2324 2325#define PMC_EV_TSC_FIRST PMC_EV_TSC_TSC 2326#define PMC_EV_TSC_LAST PMC_EV_TSC_TSC 2327 2328#define __PMC_EV_UCF() \ 2329__PMC_EV(UCF, UCLOCK) 2330 2331#define PMC_EV_UCF_FIRST PMC_EV_UCF_UCLOCK 2332#define PMC_EV_UCF_LAST PMC_EV_UCF_UCLOCK 2333 2334#define __PMC_EV_UCP() \ 2335__PMC_EV(UCP, EVENT_00H_01H) \ 2336__PMC_EV(UCP, EVENT_00H_02H) \ 2337__PMC_EV(UCP, EVENT_00H_04H) \ 2338__PMC_EV(UCP, EVENT_01H_01H) \ 2339__PMC_EV(UCP, EVENT_01H_02H) \ 2340__PMC_EV(UCP, EVENT_01H_04H) \ 2341__PMC_EV(UCP, EVENT_02H_01H) \ 2342__PMC_EV(UCP, EVENT_03H_01H) \ 2343__PMC_EV(UCP, EVENT_03H_02H) \ 2344__PMC_EV(UCP, EVENT_03H_04H) \ 2345__PMC_EV(UCP, EVENT_03H_08H) \ 2346__PMC_EV(UCP, EVENT_03H_10H) \ 2347__PMC_EV(UCP, EVENT_03H_20H) \ 2348__PMC_EV(UCP, EVENT_03H_40H) \ 2349__PMC_EV(UCP, EVENT_04H_01H) \ 2350__PMC_EV(UCP, EVENT_04H_02H) \ 2351__PMC_EV(UCP, EVENT_04H_04H) \ 2352__PMC_EV(UCP, EVENT_04H_08H) \ 2353__PMC_EV(UCP, EVENT_04H_10H) \ 2354__PMC_EV(UCP, EVENT_05H_01H) \ 2355__PMC_EV(UCP, EVENT_05H_02H) \ 2356__PMC_EV(UCP, EVENT_05H_04H) \ 2357__PMC_EV(UCP, EVENT_06H_01H) \ 2358__PMC_EV(UCP, EVENT_06H_02H) \ 2359__PMC_EV(UCP, EVENT_06H_04H) \ 2360__PMC_EV(UCP, EVENT_06H_08H) \ 2361__PMC_EV(UCP, EVENT_06H_10H) \ 2362__PMC_EV(UCP, EVENT_06H_20H) \ 2363__PMC_EV(UCP, EVENT_07H_01H) \ 2364__PMC_EV(UCP, EVENT_07H_02H) \ 2365__PMC_EV(UCP, EVENT_07H_04H) \ 2366__PMC_EV(UCP, EVENT_07H_08H) \ 2367__PMC_EV(UCP, EVENT_07H_10H) \ 2368__PMC_EV(UCP, EVENT_07H_20H) \ 2369__PMC_EV(UCP, EVENT_07H_24H) \ 2370__PMC_EV(UCP, EVENT_08H_01H) \ 2371__PMC_EV(UCP, EVENT_08H_02H) \ 2372__PMC_EV(UCP, EVENT_08H_04H) \ 2373__PMC_EV(UCP, EVENT_08H_03H) \ 2374__PMC_EV(UCP, EVENT_09H_01H) \ 2375__PMC_EV(UCP, EVENT_09H_02H) \ 2376__PMC_EV(UCP, EVENT_09H_04H) \ 2377__PMC_EV(UCP, EVENT_09H_03H) \ 2378__PMC_EV(UCP, EVENT_0AH_01H) \ 2379__PMC_EV(UCP, EVENT_0AH_02H) \ 2380__PMC_EV(UCP, EVENT_0AH_04H) \ 2381__PMC_EV(UCP, EVENT_0AH_08H) \ 2382__PMC_EV(UCP, EVENT_0AH_0FH) \ 2383__PMC_EV(UCP, EVENT_0BH_01H) \ 2384__PMC_EV(UCP, EVENT_0BH_02H) \ 2385__PMC_EV(UCP, EVENT_0BH_04H) \ 2386__PMC_EV(UCP, EVENT_0BH_08H) \ 2387__PMC_EV(UCP, EVENT_0BH_10H) \ 2388__PMC_EV(UCP, EVENT_0BH_1FH) \ 2389__PMC_EV(UCP, EVENT_0CH_01H) \ 2390__PMC_EV(UCP, EVENT_0CH_02H) \ 2391__PMC_EV(UCP, EVENT_0CH_04H_E) \ 2392__PMC_EV(UCP, EVENT_0CH_04H_F) \ 2393__PMC_EV(UCP, EVENT_0CH_04H_M) \ 2394__PMC_EV(UCP, EVENT_0CH_04H_S) \ 2395__PMC_EV(UCP, EVENT_0CH_08H_E) \ 2396__PMC_EV(UCP, EVENT_0CH_08H_F) \ 2397__PMC_EV(UCP, EVENT_0CH_08H_M) \ 2398__PMC_EV(UCP, EVENT_0CH_08H_S) \ 2399__PMC_EV(UCP, EVENT_20H_01H) \ 2400__PMC_EV(UCP, EVENT_20H_02H) \ 2401__PMC_EV(UCP, EVENT_20H_04H) \ 2402__PMC_EV(UCP, EVENT_20H_08H) \ 2403__PMC_EV(UCP, EVENT_20H_10H) \ 2404__PMC_EV(UCP, EVENT_20H_20H) \ 2405__PMC_EV(UCP, EVENT_21H_01H) \ 2406__PMC_EV(UCP, EVENT_21H_02H) \ 2407__PMC_EV(UCP, EVENT_21H_04H) \ 2408__PMC_EV(UCP, EVENT_22H_01H) \ 2409__PMC_EV(UCP, EVENT_22H_02H) \ 2410__PMC_EV(UCP, EVENT_22H_04H) \ 2411__PMC_EV(UCP, EVENT_23H_01H) \ 2412__PMC_EV(UCP, EVENT_23H_02H) \ 2413__PMC_EV(UCP, EVENT_23H_04H) \ 2414__PMC_EV(UCP, EVENT_24H_02H) \ 2415__PMC_EV(UCP, EVENT_24H_04H) \ 2416__PMC_EV(UCP, EVENT_25H_01H) \ 2417__PMC_EV(UCP, EVENT_25H_02H) \ 2418__PMC_EV(UCP, EVENT_25H_04H) \ 2419__PMC_EV(UCP, EVENT_26H_01H) \ 2420__PMC_EV(UCP, EVENT_27H_01H) \ 2421__PMC_EV(UCP, EVENT_27H_02H) \ 2422__PMC_EV(UCP, EVENT_27H_04H) \ 2423__PMC_EV(UCP, EVENT_27H_08H) \ 2424__PMC_EV(UCP, EVENT_27H_10H) \ 2425__PMC_EV(UCP, EVENT_27H_20H) \ 2426__PMC_EV(UCP, EVENT_28H_01H) \ 2427__PMC_EV(UCP, EVENT_28H_02H) \ 2428__PMC_EV(UCP, EVENT_28H_04H) \ 2429__PMC_EV(UCP, EVENT_28H_08H) \ 2430__PMC_EV(UCP, EVENT_28H_10H) \ 2431__PMC_EV(UCP, EVENT_28H_20H) \ 2432__PMC_EV(UCP, EVENT_29H_01H) \ 2433__PMC_EV(UCP, EVENT_29H_02H) \ 2434__PMC_EV(UCP, EVENT_29H_04H) \ 2435__PMC_EV(UCP, EVENT_29H_08H) \ 2436__PMC_EV(UCP, EVENT_29H_10H) \ 2437__PMC_EV(UCP, EVENT_29H_20H) \ 2438__PMC_EV(UCP, EVENT_2AH_01H) \ 2439__PMC_EV(UCP, EVENT_2AH_02H) \ 2440__PMC_EV(UCP, EVENT_2AH_04H) \ 2441__PMC_EV(UCP, EVENT_2AH_07H) \ 2442__PMC_EV(UCP, EVENT_2BH_01H) \ 2443__PMC_EV(UCP, EVENT_2BH_02H) \ 2444__PMC_EV(UCP, EVENT_2BH_04H) \ 2445__PMC_EV(UCP, EVENT_2BH_07H) \ 2446__PMC_EV(UCP, EVENT_2CH_01H) \ 2447__PMC_EV(UCP, EVENT_2CH_02H) \ 2448__PMC_EV(UCP, EVENT_2CH_04H) \ 2449__PMC_EV(UCP, EVENT_2CH_07H) \ 2450__PMC_EV(UCP, EVENT_2DH_01H) \ 2451__PMC_EV(UCP, EVENT_2DH_02H) \ 2452__PMC_EV(UCP, EVENT_2DH_04H) \ 2453__PMC_EV(UCP, EVENT_2DH_07H) \ 2454__PMC_EV(UCP, EVENT_2EH_01H) \ 2455__PMC_EV(UCP, EVENT_2EH_02H) \ 2456__PMC_EV(UCP, EVENT_2EH_04H) \ 2457__PMC_EV(UCP, EVENT_2EH_07H) \ 2458__PMC_EV(UCP, EVENT_2FH_01H) \ 2459__PMC_EV(UCP, EVENT_2FH_02H) \ 2460__PMC_EV(UCP, EVENT_2FH_04H) \ 2461__PMC_EV(UCP, EVENT_2FH_07H) \ 2462__PMC_EV(UCP, EVENT_2FH_08H) \ 2463__PMC_EV(UCP, EVENT_2FH_10H) \ 2464__PMC_EV(UCP, EVENT_2FH_20H) \ 2465__PMC_EV(UCP, EVENT_2FH_38H) \ 2466__PMC_EV(UCP, EVENT_30H_01H) \ 2467__PMC_EV(UCP, EVENT_30H_02H) \ 2468__PMC_EV(UCP, EVENT_30H_04H) \ 2469__PMC_EV(UCP, EVENT_30H_07H) \ 2470__PMC_EV(UCP, EVENT_31H_01H) \ 2471__PMC_EV(UCP, EVENT_31H_02H) \ 2472__PMC_EV(UCP, EVENT_31H_04H) \ 2473__PMC_EV(UCP, EVENT_31H_07H) \ 2474__PMC_EV(UCP, EVENT_32H_01H) \ 2475__PMC_EV(UCP, EVENT_32H_02H) \ 2476__PMC_EV(UCP, EVENT_32H_04H) \ 2477__PMC_EV(UCP, EVENT_32H_07H) \ 2478__PMC_EV(UCP, EVENT_33H_01H) \ 2479__PMC_EV(UCP, EVENT_33H_02H) \ 2480__PMC_EV(UCP, EVENT_33H_04H) \ 2481__PMC_EV(UCP, EVENT_33H_07H) \ 2482__PMC_EV(UCP, EVENT_34H_01H) \ 2483__PMC_EV(UCP, EVENT_34H_02H) \ 2484__PMC_EV(UCP, EVENT_34H_04H) \ 2485__PMC_EV(UCP, EVENT_34H_08H) \ 2486__PMC_EV(UCP, EVENT_34H_10H) \ 2487__PMC_EV(UCP, EVENT_34H_20H) \ 2488__PMC_EV(UCP, EVENT_35H_01H) \ 2489__PMC_EV(UCP, EVENT_35H_02H) \ 2490__PMC_EV(UCP, EVENT_35H_04H) \ 2491__PMC_EV(UCP, EVENT_40H_01H) \ 2492__PMC_EV(UCP, EVENT_40H_02H) \ 2493__PMC_EV(UCP, EVENT_40H_04H) \ 2494__PMC_EV(UCP, EVENT_40H_08H) \ 2495__PMC_EV(UCP, EVENT_40H_10H) \ 2496__PMC_EV(UCP, EVENT_40H_20H) \ 2497__PMC_EV(UCP, EVENT_40H_07H) \ 2498__PMC_EV(UCP, EVENT_40H_38H) \ 2499__PMC_EV(UCP, EVENT_41H_01H) \ 2500__PMC_EV(UCP, EVENT_41H_02H) \ 2501__PMC_EV(UCP, EVENT_41H_04H) \ 2502__PMC_EV(UCP, EVENT_41H_08H) \ 2503__PMC_EV(UCP, EVENT_41H_10H) \ 2504__PMC_EV(UCP, EVENT_41H_20H) \ 2505__PMC_EV(UCP, EVENT_41H_07H) \ 2506__PMC_EV(UCP, EVENT_41H_38H) \ 2507__PMC_EV(UCP, EVENT_42H_01H) \ 2508__PMC_EV(UCP, EVENT_42H_02H) \ 2509__PMC_EV(UCP, EVENT_42H_04H) \ 2510__PMC_EV(UCP, EVENT_42H_08H) \ 2511__PMC_EV(UCP, EVENT_43H_01H) \ 2512__PMC_EV(UCP, EVENT_43H_02H) \ 2513__PMC_EV(UCP, EVENT_60H_01H) \ 2514__PMC_EV(UCP, EVENT_60H_02H) \ 2515__PMC_EV(UCP, EVENT_60H_04H) \ 2516__PMC_EV(UCP, EVENT_61H_01H) \ 2517__PMC_EV(UCP, EVENT_61H_02H) \ 2518__PMC_EV(UCP, EVENT_61H_04H) \ 2519__PMC_EV(UCP, EVENT_62H_01H) \ 2520__PMC_EV(UCP, EVENT_62H_02H) \ 2521__PMC_EV(UCP, EVENT_62H_04H) \ 2522__PMC_EV(UCP, EVENT_63H_01H) \ 2523__PMC_EV(UCP, EVENT_63H_02H) \ 2524__PMC_EV(UCP, EVENT_63H_04H) \ 2525__PMC_EV(UCP, EVENT_63H_08H) \ 2526__PMC_EV(UCP, EVENT_63H_10H) \ 2527__PMC_EV(UCP, EVENT_63H_20H) \ 2528__PMC_EV(UCP, EVENT_64H_01H) \ 2529__PMC_EV(UCP, EVENT_64H_02H) \ 2530__PMC_EV(UCP, EVENT_64H_04H) \ 2531__PMC_EV(UCP, EVENT_64H_08H) \ 2532__PMC_EV(UCP, EVENT_64H_10H) \ 2533__PMC_EV(UCP, EVENT_64H_20H) \ 2534__PMC_EV(UCP, EVENT_65H_01H) \ 2535__PMC_EV(UCP, EVENT_65H_02H) \ 2536__PMC_EV(UCP, EVENT_65H_04H) \ 2537__PMC_EV(UCP, EVENT_66H_01H) \ 2538__PMC_EV(UCP, EVENT_66H_02H) \ 2539__PMC_EV(UCP, EVENT_66H_04H) \ 2540__PMC_EV(UCP, EVENT_67H_01H) \ 2541__PMC_EV(UCP, EVENT_80H_01H) \ 2542__PMC_EV(UCP, EVENT_80H_02H) \ 2543__PMC_EV(UCP, EVENT_80H_04H) \ 2544__PMC_EV(UCP, EVENT_80H_08H) \ 2545__PMC_EV(UCP, EVENT_81H_01H) \ 2546__PMC_EV(UCP, EVENT_81H_02H) \ 2547__PMC_EV(UCP, EVENT_81H_04H) \ 2548__PMC_EV(UCP, EVENT_81H_08H) \ 2549__PMC_EV(UCP, EVENT_82H_01H) \ 2550__PMC_EV(UCP, EVENT_83H_01H) \ 2551__PMC_EV(UCP, EVENT_83H_02H) \ 2552__PMC_EV(UCP, EVENT_83H_04H) \ 2553__PMC_EV(UCP, EVENT_83H_08H) \ 2554__PMC_EV(UCP, EVENT_84H_01H) \ 2555__PMC_EV(UCP, EVENT_84H_02H) \ 2556__PMC_EV(UCP, EVENT_84H_04H) \ 2557__PMC_EV(UCP, EVENT_84H_08H) \ 2558__PMC_EV(UCP, EVENT_85H_02H) \ 2559__PMC_EV(UCP, EVENT_86H_01H) 2560 2561#define PMC_EV_UCP_FIRST PMC_EV_UCP_EVENT_00H_01H 2562#define PMC_EV_UCP_LAST PMC_EV_UCP_EVENT_86H_01H 2563 2564#define __PMC_EV_ALIAS_COREI7UC() \ 2565__PMC_EV_ALIAS("GQ_CYCLES_FULL.READ_TRACKER", UCP_EVENT_00H_01H) \ 2566__PMC_EV_ALIAS("GQ_CYCLES_FULL.WRITE_TRACKER", UCP_EVENT_00H_02H) \ 2567__PMC_EV_ALIAS("GQ_CYCLES_FULL.PEER_PROBE_TRACKER", UCP_EVENT_00H_04H) \ 2568__PMC_EV_ALIAS("GQ_CYCLES_NOT_EMPTY.READ_TRACKER", UCP_EVENT_01H_01H) \ 2569__PMC_EV_ALIAS("GQ_CYCLES_NOT_EMPTY.WRITE_TRACKER", UCP_EVENT_01H_02H) \ 2570__PMC_EV_ALIAS("GQ_CYCLES_NOT_EMPTY.PEER_PROBE_TRACKER", UCP_EVENT_01H_04H) \ 2571__PMC_EV_ALIAS("GQ_ALLOC.READ_TRACKER", UCP_EVENT_03H_01H) \ 2572__PMC_EV_ALIAS("GQ_ALLOC.RT_L3_MISS", UCP_EVENT_03H_02H) \ 2573__PMC_EV_ALIAS("GQ_ALLOC.RT_TO_L3_RESP", UCP_EVENT_03H_04H) \ 2574__PMC_EV_ALIAS("GQ_ALLOC.RT_TO_RTID_ACQUIRED", UCP_EVENT_03H_08H) \ 2575__PMC_EV_ALIAS("GQ_ALLOC.WT_TO_RTID_ACQUIRED", UCP_EVENT_03H_10H) \ 2576__PMC_EV_ALIAS("GQ_ALLOC.WRITE_TRACKER", UCP_EVENT_03H_20H) \ 2577__PMC_EV_ALIAS("GQ_ALLOC.PEER_PROBE_TRACKER", UCP_EVENT_03H_40H) \ 2578__PMC_EV_ALIAS("GQ_DATA.FROM_QPI", UCP_EVENT_04H_01H) \ 2579__PMC_EV_ALIAS("GQ_DATA.FROM_QMC", UCP_EVENT_04H_02H) \ 2580__PMC_EV_ALIAS("GQ_DATA.FROM_L3", UCP_EVENT_04H_04H) \ 2581__PMC_EV_ALIAS("GQ_DATA.FROM_CORES_02", UCP_EVENT_04H_08H) \ 2582__PMC_EV_ALIAS("GQ_DATA.FROM_CORES_13", UCP_EVENT_04H_10H) \ 2583__PMC_EV_ALIAS("GQ_DATA.TO_QPI_QMC", UCP_EVENT_05H_01H) \ 2584__PMC_EV_ALIAS("GQ_DATA.TO_L3", UCP_EVENT_05H_02H) \ 2585__PMC_EV_ALIAS("GQ_DATA.TO_CORES", UCP_EVENT_05H_04H) \ 2586__PMC_EV_ALIAS("SNP_RESP_TO_LOCAL_HOME.I_STATE", UCP_EVENT_06H_01H) \ 2587__PMC_EV_ALIAS("SNP_RESP_TO_LOCAL_HOME.S_STATE", UCP_EVENT_06H_02H) \ 2588__PMC_EV_ALIAS("SNP_RESP_TO_LOCAL_HOME.FWD_S_STATE", UCP_EVENT_06H_04H) \ 2589__PMC_EV_ALIAS("SNP_RESP_TO_LOCAL_HOME.FWD_I_STATE", UCP_EVENT_06H_08H) \ 2590__PMC_EV_ALIAS("SNP_RESP_TO_LOCAL_HOME.CONFLICT", UCP_EVENT_06H_10H) \ 2591__PMC_EV_ALIAS("SNP_RESP_TO_LOCAL_HOME.WB", UCP_EVENT_06H_20H) \ 2592__PMC_EV_ALIAS("SNP_RESP_TO_REMOTE_HOME.I_STATE", UCP_EVENT_07H_01H) \ 2593__PMC_EV_ALIAS("SNP_RESP_TO_REMOTE_HOME.S_STATE", UCP_EVENT_07H_02H) \ 2594__PMC_EV_ALIAS("SNP_RESP_TO_REMOTE_HOME.FWD_S_STATE", UCP_EVENT_07H_04H) \ 2595__PMC_EV_ALIAS("SNP_RESP_TO_REMOTE_HOME.FWD_I_STATE", UCP_EVENT_07H_08H) \ 2596__PMC_EV_ALIAS("SNP_RESP_TO_REMOTE_HOME.CONFLICT", UCP_EVENT_07H_10H) \ 2597__PMC_EV_ALIAS("SNP_RESP_TO_REMOTE_HOME.WB", UCP_EVENT_07H_20H) \ 2598__PMC_EV_ALIAS("SNP_RESP_TO_REMOTE_HOME.HITM", UCP_EVENT_07H_24H) \ 2599__PMC_EV_ALIAS("L3_HITS.READ", UCP_EVENT_08H_01H) \ 2600__PMC_EV_ALIAS("L3_HITS.WRITE", UCP_EVENT_08H_02H) \ 2601__PMC_EV_ALIAS("L3_HITS.PROBE", UCP_EVENT_08H_04H) \ 2602__PMC_EV_ALIAS("L3_HITS.ANY", UCP_EVENT_08H_03H) \ 2603__PMC_EV_ALIAS("L3_MISS.READ", UCP_EVENT_09H_01H) \ 2604__PMC_EV_ALIAS("L3_MISS.WRITE", UCP_EVENT_09H_02H) \ 2605__PMC_EV_ALIAS("L3_MISS.PROBE", UCP_EVENT_09H_04H) \ 2606__PMC_EV_ALIAS("L3_MISS.ANY", UCP_EVENT_09H_03H) \ 2607__PMC_EV_ALIAS("L3_LINES_IN.M_STATE", UCP_EVENT_0AH_01H) \ 2608__PMC_EV_ALIAS("L3_LINES_IN.E_STATE", UCP_EVENT_0AH_02H) \ 2609__PMC_EV_ALIAS("L3_LINES_IN.S_STATE", UCP_EVENT_0AH_04H) \ 2610__PMC_EV_ALIAS("L3_LINES_IN.F_STATE", UCP_EVENT_0AH_08H) \ 2611__PMC_EV_ALIAS("L3_LINES_IN.ANY", UCP_EVENT_0AH_0FH) \ 2612__PMC_EV_ALIAS("L3_LINES_OUT.M_STATE", UCP_EVENT_0BH_01H) \ 2613__PMC_EV_ALIAS("L3_LINES_OUT.E_STATE", UCP_EVENT_0BH_02H) \ 2614__PMC_EV_ALIAS("L3_LINES_OUT.S_STATE", UCP_EVENT_0BH_04H) \ 2615__PMC_EV_ALIAS("L3_LINES_OUT.I_STATE", UCP_EVENT_0BH_08H) \ 2616__PMC_EV_ALIAS("L3_LINES_OUT.F_STATE", UCP_EVENT_0BH_10H) \ 2617__PMC_EV_ALIAS("L3_LINES_OUT.ANY", UCP_EVENT_0BH_1FH) \ 2618__PMC_EV_ALIAS("QHL_REQUESTS.IOH_READS", UCP_EVENT_20H_01H) \ 2619__PMC_EV_ALIAS("QHL_REQUESTS.IOH_WRITES", UCP_EVENT_20H_02H) \ 2620__PMC_EV_ALIAS("QHL_REQUESTS.REMOTE_READS", UCP_EVENT_20H_04H) \ 2621__PMC_EV_ALIAS("QHL_REQUESTS.REMOTE_WRITES", UCP_EVENT_20H_08H) \ 2622__PMC_EV_ALIAS("QHL_REQUESTS.LOCAL_READS", UCP_EVENT_20H_10H) \ 2623__PMC_EV_ALIAS("QHL_REQUESTS.LOCAL_WRITES", UCP_EVENT_20H_20H) \ 2624__PMC_EV_ALIAS("QHL_CYCLES_FULL.IOH", UCP_EVENT_21H_01H) \ 2625__PMC_EV_ALIAS("QHL_CYCLES_FULL.REMOTE", UCP_EVENT_21H_02H) \ 2626__PMC_EV_ALIAS("QHL_CYCLES_FULL.LOCAL", UCP_EVENT_21H_04H) \ 2627__PMC_EV_ALIAS("QHL_CYCLES_NOT_EMPTY.IOH", UCP_EVENT_22H_01H) \ 2628__PMC_EV_ALIAS("QHL_CYCLES_NOT_EMPTY.REMOTE", UCP_EVENT_22H_02H) \ 2629__PMC_EV_ALIAS("QHL_CYCLES_NOT_EMPTY.LOCAL", UCP_EVENT_22H_04H) \ 2630__PMC_EV_ALIAS("QHL_OCCUPANCY.IOH", UCP_EVENT_23H_01H) \ 2631__PMC_EV_ALIAS("QHL_OCCUPANCY.REMOTE", UCP_EVENT_23H_02H) \ 2632__PMC_EV_ALIAS("QHL_OCCUPANCY.LOCAL", UCP_EVENT_23H_04H) \ 2633__PMC_EV_ALIAS("QHL_ADDRESS_CONFLICTS.2WAY", UCP_EVENT_24H_02H) \ 2634__PMC_EV_ALIAS("QHL_ADDRESS_CONFLICTS.3WAY", UCP_EVENT_24H_04H) \ 2635__PMC_EV_ALIAS("QHL_CONFLICT_CYCLES.IOH", UCP_EVENT_25H_01H) \ 2636__PMC_EV_ALIAS("QHL_CONFLICT_CYCLES.REMOTE", UCP_EVENT_25H_02H) \ 2637__PMC_EV_ALIAS("QHL_CONFLICT_CYCLES.LOCAL", UCP_EVENT_25H_04H) \ 2638__PMC_EV_ALIAS("QHL_TO_QMC_BYPASS", UCP_EVENT_26H_01H) \ 2639__PMC_EV_ALIAS("QMC_NORMAL_FULL.READ.CH0", UCP_EVENT_27H_01H) \ 2640__PMC_EV_ALIAS("QMC_NORMAL_FULL.READ.CH1", UCP_EVENT_27H_02H) \ 2641__PMC_EV_ALIAS("QMC_NORMAL_FULL.READ.CH2", UCP_EVENT_27H_04H) \ 2642__PMC_EV_ALIAS("QMC_NORMAL_FULL.WRITE.CH0", UCP_EVENT_27H_08H) \ 2643__PMC_EV_ALIAS("QMC_NORMAL_FULL.WRITE.CH1", UCP_EVENT_27H_10H) \ 2644__PMC_EV_ALIAS("QMC_NORMAL_FULL.WRITE.CH2", UCP_EVENT_27H_20H) \ 2645__PMC_EV_ALIAS("QMC_ISOC_FULL.READ.CH0", UCP_EVENT_28H_01H) \ 2646__PMC_EV_ALIAS("QMC_ISOC_FULL.READ.CH1", UCP_EVENT_28H_02H) \ 2647__PMC_EV_ALIAS("QMC_ISOC_FULL.READ.CH2", UCP_EVENT_28H_04H) \ 2648__PMC_EV_ALIAS("QMC_ISOC_FULL.WRITE.CH0", UCP_EVENT_28H_08H) \ 2649__PMC_EV_ALIAS("QMC_ISOC_FULL.WRITE.CH1", UCP_EVENT_28H_10H) \ 2650__PMC_EV_ALIAS("QMC_ISOC_FULL.WRITE.CH2", UCP_EVENT_28H_20H) \ 2651__PMC_EV_ALIAS("QMC_BUSY.READ.CH0", UCP_EVENT_29H_01H) \ 2652__PMC_EV_ALIAS("QMC_BUSY.READ.CH1", UCP_EVENT_29H_02H) \ 2653__PMC_EV_ALIAS("QMC_BUSY.READ.CH2", UCP_EVENT_29H_04H) \ 2654__PMC_EV_ALIAS("QMC_BUSY.WRITE.CH0", UCP_EVENT_29H_08H) \ 2655__PMC_EV_ALIAS("QMC_BUSY.WRITE.CH1", UCP_EVENT_29H_10H) \ 2656__PMC_EV_ALIAS("QMC_BUSY.WRITE.CH2", UCP_EVENT_29H_20H) \ 2657__PMC_EV_ALIAS("QMC_OCCUPANCY.CH0", UCP_EVENT_2AH_01H) \ 2658__PMC_EV_ALIAS("QMC_OCCUPANCY.CH1", UCP_EVENT_2AH_02H) \ 2659__PMC_EV_ALIAS("QMC_OCCUPANCY.CH2", UCP_EVENT_2AH_04H) \ 2660__PMC_EV_ALIAS("QMC_ISSOC_OCCUPANCY.CH0", UCP_EVENT_2BH_01H) \ 2661__PMC_EV_ALIAS("QMC_ISSOC_OCCUPANCY.CH1", UCP_EVENT_2BH_02H) \ 2662__PMC_EV_ALIAS("QMC_ISSOC_OCCUPANCY.CH2", UCP_EVENT_2BH_04H) \ 2663__PMC_EV_ALIAS("QMC_ISSOC_READS.ANY", UCP_EVENT_2BH_07H) \ 2664__PMC_EV_ALIAS("QMC_NORMAL_READS.CH0", UCP_EVENT_2CH_01H) \ 2665__PMC_EV_ALIAS("QMC_NORMAL_READS.CH1", UCP_EVENT_2CH_02H) \ 2666__PMC_EV_ALIAS("QMC_NORMAL_READS.CH2", UCP_EVENT_2CH_04H) \ 2667__PMC_EV_ALIAS("QMC_NORMAL_READS.ANY", UCP_EVENT_2CH_07H) \ 2668__PMC_EV_ALIAS("QMC_HIGH_PRIORITY_READS.CH0", UCP_EVENT_2DH_01H) \ 2669__PMC_EV_ALIAS("QMC_HIGH_PRIORITY_READS.CH1", UCP_EVENT_2DH_02H) \ 2670__PMC_EV_ALIAS("QMC_HIGH_PRIORITY_READS.CH2", UCP_EVENT_2DH_04H) \ 2671__PMC_EV_ALIAS("QMC_HIGH_PRIORITY_READS.ANY", UCP_EVENT_2DH_07H) \ 2672__PMC_EV_ALIAS("QMC_CRITICAL_PRIORITY_READS.CH0", UCP_EVENT_2EH_01H) \ 2673__PMC_EV_ALIAS("QMC_CRITICAL_PRIORITY_READS.CH1", UCP_EVENT_2EH_02H) \ 2674__PMC_EV_ALIAS("QMC_CRITICAL_PRIORITY_READS.CH2", UCP_EVENT_2EH_04H) \ 2675__PMC_EV_ALIAS("QMC_CRITICAL_PRIORITY_READS.ANY", UCP_EVENT_2EH_07H) \ 2676__PMC_EV_ALIAS("QMC_WRITES.FULL.CH0", UCP_EVENT_2FH_01H) \ 2677__PMC_EV_ALIAS("QMC_WRITES.FULL.CH1", UCP_EVENT_2FH_02H) \ 2678__PMC_EV_ALIAS("QMC_WRITES.FULL.CH2", UCP_EVENT_2FH_04H) \ 2679__PMC_EV_ALIAS("QMC_WRITES.FULL.ANY", UCP_EVENT_2FH_07H) \ 2680__PMC_EV_ALIAS("QMC_WRITES.PARTIAL.CH0", UCP_EVENT_2FH_08H) \ 2681__PMC_EV_ALIAS("QMC_WRITES.PARTIAL.CH1", UCP_EVENT_2FH_10H) \ 2682__PMC_EV_ALIAS("QMC_WRITES.PARTIAL.CH2", UCP_EVENT_2FH_20H) \ 2683__PMC_EV_ALIAS("QMC_WRITES.PARTIAL.ANY", UCP_EVENT_2FH_38H) \ 2684__PMC_EV_ALIAS("QMC_CANCEL.CH0", UCP_EVENT_30H_01H) \ 2685__PMC_EV_ALIAS("QMC_CANCEL.CH1", UCP_EVENT_30H_02H) \ 2686__PMC_EV_ALIAS("QMC_CANCEL.CH2", UCP_EVENT_30H_04H) \ 2687__PMC_EV_ALIAS("QMC_CANCEL.ANY", UCP_EVENT_30H_07H) \ 2688__PMC_EV_ALIAS("QMC_PRIORITY_UPDATES.CH0", UCP_EVENT_31H_01H) \ 2689__PMC_EV_ALIAS("QMC_PRIORITY_UPDATES.CH1", UCP_EVENT_31H_02H) \ 2690__PMC_EV_ALIAS("QMC_PRIORITY_UPDATES.CH2", UCP_EVENT_31H_04H) \ 2691__PMC_EV_ALIAS("QMC_PRIORITY_UPDATES.ANY", UCP_EVENT_31H_07H) \ 2692__PMC_EV_ALIAS("QHL_FRC_ACK_CNFLTS.LOCAL", UCP_EVENT_33H_04H) \ 2693__PMC_EV_ALIAS("QPI_TX_STALLED_SINGLE_FLIT.HOME.LINK_0", UCP_EVENT_40H_01H) \ 2694__PMC_EV_ALIAS("QPI_TX_STALLED_SINGLE_FLIT.SNOOP.LINK_0", UCP_EVENT_40H_02H) \ 2695__PMC_EV_ALIAS("QPI_TX_STALLED_SINGLE_FLIT.NDR.LINK_0", UCP_EVENT_40H_04H) \ 2696__PMC_EV_ALIAS("QPI_TX_STALLED_SINGLE_FLIT.HOME.LINK_1", UCP_EVENT_40H_08H) \ 2697__PMC_EV_ALIAS("QPI_TX_STALLED_SINGLE_FLIT.SNOOP.LINK_1", UCP_EVENT_40H_10H) \ 2698__PMC_EV_ALIAS("QPI_TX_STALLED_SINGLE_FLIT.NDR.LINK_1", UCP_EVENT_40H_20H) \ 2699__PMC_EV_ALIAS("QPI_TX_STALLED_SINGLE_FLIT.LINK_0", UCP_EVENT_40H_07H) \ 2700__PMC_EV_ALIAS("QPI_TX_STALLED_SINGLE_FLIT.LINK_1", UCP_EVENT_40H_38H) \ 2701__PMC_EV_ALIAS("QPI_TX_STALLED_MULTI_FLIT.DRS.LINK_0", UCP_EVENT_41H_01H) \ 2702__PMC_EV_ALIAS("QPI_TX_STALLED_MULTI_FLIT.NCB.LINK_0", UCP_EVENT_41H_02H) \ 2703__PMC_EV_ALIAS("QPI_TX_STALLED_MULTI_FLIT.NCS.LINK_0", UCP_EVENT_41H_04H) \ 2704__PMC_EV_ALIAS("QPI_TX_STALLED_MULTI_FLIT.DRS.LINK_1", UCP_EVENT_41H_08H) \ 2705__PMC_EV_ALIAS("QPI_TX_STALLED_MULTI_FLIT.NCB.LINK_1", UCP_EVENT_41H_10H) \ 2706__PMC_EV_ALIAS("QPI_TX_STALLED_MULTI_FLIT.NCS.LINK_1", UCP_EVENT_41H_20H) \ 2707__PMC_EV_ALIAS("QPI_TX_STALLED_MULTI_FLIT.LINK_0", UCP_EVENT_41H_07H) \ 2708__PMC_EV_ALIAS("QPI_TX_STALLED_MULTI_FLIT.LINK_1", UCP_EVENT_41H_38H) \ 2709__PMC_EV_ALIAS("QPI_TX_HEADER.BUSY.LINK_0", UCP_EVENT_42H_02H) \ 2710__PMC_EV_ALIAS("QPI_TX_HEADER.BUSY.LINK_1", UCP_EVENT_42H_08H) \ 2711__PMC_EV_ALIAS("QPI_RX_NO_PPT_CREDIT.STALLS.LINK_0", UCP_EVENT_43H_01H) \ 2712__PMC_EV_ALIAS("QPI_RX_NO_PPT_CREDIT.STALLS.LINK_1", UCP_EVENT_43H_02H) \ 2713__PMC_EV_ALIAS("DRAM_OPEN.CH0", UCP_EVENT_60H_01H) \ 2714__PMC_EV_ALIAS("DRAM_OPEN.CH1", UCP_EVENT_60H_02H) \ 2715__PMC_EV_ALIAS("DRAM_OPEN.CH2", UCP_EVENT_60H_04H) \ 2716__PMC_EV_ALIAS("DRAM_PAGE_CLOSE.CH0", UCP_EVENT_61H_01H) \ 2717__PMC_EV_ALIAS("DRAM_PAGE_CLOSE.CH1", UCP_EVENT_61H_02H) \ 2718__PMC_EV_ALIAS("DRAM_PAGE_CLOSE.CH2", UCP_EVENT_61H_04H) \ 2719__PMC_EV_ALIAS("DRAM_PAGE_MISS.CH0", UCP_EVENT_62H_01H) \ 2720__PMC_EV_ALIAS("DRAM_PAGE_MISS.CH1", UCP_EVENT_62H_02H) \ 2721__PMC_EV_ALIAS("DRAM_PAGE_MISS.CH2", UCP_EVENT_62H_04H) \ 2722__PMC_EV_ALIAS("DRAM_READ_CAS.CH0", UCP_EVENT_63H_01H) \ 2723__PMC_EV_ALIAS("DRAM_READ_CAS.AUTOPRE_CH0", UCP_EVENT_63H_02H) \ 2724__PMC_EV_ALIAS("DRAM_READ_CAS.CH1", UCP_EVENT_63H_04H) \ 2725__PMC_EV_ALIAS("DRAM_READ_CAS.AUTOPRE_CH1", UCP_EVENT_63H_08H) \ 2726__PMC_EV_ALIAS("DRAM_READ_CAS.CH2", UCP_EVENT_63H_10H) \ 2727__PMC_EV_ALIAS("DRAM_READ_CAS.AUTOPRE_CH2", UCP_EVENT_63H_20H) \ 2728__PMC_EV_ALIAS("DRAM_WRITE_CAS.CH0", UCP_EVENT_64H_01H) \ 2729__PMC_EV_ALIAS("DRAM_WRITE_CAS.AUTOPRE_CH0", UCP_EVENT_64H_02H) \ 2730__PMC_EV_ALIAS("DRAM_WRITE_CAS.CH1", UCP_EVENT_64H_04H) \ 2731__PMC_EV_ALIAS("DRAM_WRITE_CAS.AUTOPRE_CH1", UCP_EVENT_64H_08H) \ 2732__PMC_EV_ALIAS("DRAM_WRITE_CAS.CH2", UCP_EVENT_64H_10H) \ 2733__PMC_EV_ALIAS("DRAM_WRITE_CAS.AUTOPRE_CH2", UCP_EVENT_64H_20H) \ 2734__PMC_EV_ALIAS("DRAM_REFRESH.CH0", UCP_EVENT_65H_01H) \ 2735__PMC_EV_ALIAS("DRAM_REFRESH.CH1", UCP_EVENT_65H_02H) \ 2736__PMC_EV_ALIAS("DRAM_REFRESH.CH2", UCP_EVENT_65H_04H) \ 2737__PMC_EV_ALIAS("DRAM_PRE_ALL.CH0", UCP_EVENT_66H_01H) \ 2738__PMC_EV_ALIAS("DRAM_PRE_ALL.CH1", UCP_EVENT_66H_02H) \ 2739__PMC_EV_ALIAS("DRAM_PRE_ALL.CH2", UCP_EVENT_66H_04H) 2740 2741#define __PMC_EV_ALIAS_WESTMEREUC() \ 2742__PMC_EV_ALIAS("GQ_CYCLES_FULL.READ_TRACKER", UCP_EVENT_00H_01H) \ 2743__PMC_EV_ALIAS("GQ_CYCLES_FULL.WRITE_TRACKER", UCP_EVENT_00H_02H) \ 2744__PMC_EV_ALIAS("GQ_CYCLES_FULL.PEER_PROBE_TRACKER", UCP_EVENT_00H_04H) \ 2745__PMC_EV_ALIAS("GQ_CYCLES_NOT_EMPTY.READ_TRACKER", UCP_EVENT_01H_01H) \ 2746__PMC_EV_ALIAS("GQ_CYCLES_NOT_EMPTY.WRITE_TRACKER", UCP_EVENT_01H_02H) \ 2747__PMC_EV_ALIAS("GQ_CYCLES_NOT_EMPTY.PEER_PROBE_TRACKER", UCP_EVENT_01H_04H) \ 2748__PMC_EV_ALIAS("GQ_OCCUPANCY.READ_TRACKER", UCP_EVENT_02H_01H) \ 2749__PMC_EV_ALIAS("GQ_ALLOC.READ_TRACKER", UCP_EVENT_03H_01H) \ 2750__PMC_EV_ALIAS("GQ_ALLOC.RT_L3_MISS", UCP_EVENT_03H_02H) \ 2751__PMC_EV_ALIAS("GQ_ALLOC.RT_TO_L3_RESP", UCP_EVENT_03H_04H) \ 2752__PMC_EV_ALIAS("GQ_ALLOC.RT_TO_RTID_ACQUIRED", UCP_EVENT_03H_08H) \ 2753__PMC_EV_ALIAS("GQ_ALLOC.WT_TO_RTID_ACQUIRED", UCP_EVENT_03H_10H) \ 2754__PMC_EV_ALIAS("GQ_ALLOC.WRITE_TRACKER", UCP_EVENT_03H_20H) \ 2755__PMC_EV_ALIAS("GQ_ALLOC.PEER_PROBE_TRACKER", UCP_EVENT_03H_40H) \ 2756__PMC_EV_ALIAS("GQ_DATA.FROM_QPI", UCP_EVENT_04H_01H) \ 2757__PMC_EV_ALIAS("GQ_DATA.FROM_QMC", UCP_EVENT_04H_02H) \ 2758__PMC_EV_ALIAS("GQ_DATA.FROM_L3", UCP_EVENT_04H_04H) \ 2759__PMC_EV_ALIAS("GQ_DATA.FROM_CORES_02", UCP_EVENT_04H_08H) \ 2760__PMC_EV_ALIAS("GQ_DATA.FROM_CORES_13", UCP_EVENT_04H_10H) \ 2761__PMC_EV_ALIAS("GQ_DATA.TO_QPI_QMC", UCP_EVENT_05H_01H) \ 2762__PMC_EV_ALIAS("GQ_DATA.TO_L3", UCP_EVENT_05H_02H) \ 2763__PMC_EV_ALIAS("GQ_DATA.TO_CORES", UCP_EVENT_05H_04H) \ 2764__PMC_EV_ALIAS("SNP_RESP_TO_LOCAL_HOME.I_STATE", UCP_EVENT_06H_01H) \ 2765__PMC_EV_ALIAS("SNP_RESP_TO_LOCAL_HOME.S_STATE", UCP_EVENT_06H_02H) \ 2766__PMC_EV_ALIAS("SNP_RESP_TO_LOCAL_HOME.FWD_S_STATE", UCP_EVENT_06H_04H) \ 2767__PMC_EV_ALIAS("SNP_RESP_TO_LOCAL_HOME.FWD_I_STATE", UCP_EVENT_06H_08H) \ 2768__PMC_EV_ALIAS("SNP_RESP_TO_LOCAL_HOME.CONFLICT", UCP_EVENT_06H_10H) \ 2769__PMC_EV_ALIAS("SNP_RESP_TO_LOCAL_HOME.WB", UCP_EVENT_06H_20H) \ 2770__PMC_EV_ALIAS("SNP_RESP_TO_REMOTE_HOME.I_STATE", UCP_EVENT_07H_01H) \ 2771__PMC_EV_ALIAS("SNP_RESP_TO_REMOTE_HOME.S_STATE", UCP_EVENT_07H_02H) \ 2772__PMC_EV_ALIAS("SNP_RESP_TO_REMOTE_HOME.FWD_S_STATE", UCP_EVENT_07H_04H) \ 2773__PMC_EV_ALIAS("SNP_RESP_TO_REMOTE_HOME.FWD_I_STATE", UCP_EVENT_07H_08H) \ 2774__PMC_EV_ALIAS("SNP_RESP_TO_REMOTE_HOME.CONFLICT", UCP_EVENT_07H_10H) \ 2775__PMC_EV_ALIAS("SNP_RESP_TO_REMOTE_HOME.WB", UCP_EVENT_07H_20H) \ 2776__PMC_EV_ALIAS("SNP_RESP_TO_REMOTE_HOME.HITM", UCP_EVENT_07H_24H) \ 2777__PMC_EV_ALIAS("L3_HITS.READ", UCP_EVENT_08H_01H) \ 2778__PMC_EV_ALIAS("L3_HITS.WRITE", UCP_EVENT_08H_02H) \ 2779__PMC_EV_ALIAS("L3_HITS.PROBE", UCP_EVENT_08H_04H) \ 2780__PMC_EV_ALIAS("L3_HITS.ANY", UCP_EVENT_08H_03H) \ 2781__PMC_EV_ALIAS("L3_MISS.READ", UCP_EVENT_09H_01H) \ 2782__PMC_EV_ALIAS("L3_MISS.WRITE", UCP_EVENT_09H_02H) \ 2783__PMC_EV_ALIAS("L3_MISS.PROBE", UCP_EVENT_09H_04H) \ 2784__PMC_EV_ALIAS("L3_MISS.ANY", UCP_EVENT_09H_03H) \ 2785__PMC_EV_ALIAS("L3_LINES_IN.M_STATE", UCP_EVENT_0AH_01H) \ 2786__PMC_EV_ALIAS("L3_LINES_IN.E_STATE", UCP_EVENT_0AH_02H) \ 2787__PMC_EV_ALIAS("L3_LINES_IN.S_STATE", UCP_EVENT_0AH_04H) \ 2788__PMC_EV_ALIAS("L3_LINES_IN.F_STATE", UCP_EVENT_0AH_08H) \ 2789__PMC_EV_ALIAS("L3_LINES_IN.ANY", UCP_EVENT_0AH_0FH) \ 2790__PMC_EV_ALIAS("L3_LINES_OUT.M_STATE", UCP_EVENT_0BH_01H) \ 2791__PMC_EV_ALIAS("L3_LINES_OUT.E_STATE", UCP_EVENT_0BH_02H) \ 2792__PMC_EV_ALIAS("L3_LINES_OUT.S_STATE", UCP_EVENT_0BH_04H) \ 2793__PMC_EV_ALIAS("L3_LINES_OUT.I_STATE", UCP_EVENT_0BH_08H) \ 2794__PMC_EV_ALIAS("L3_LINES_OUT.F_STATE", UCP_EVENT_0BH_10H) \ 2795__PMC_EV_ALIAS("L3_LINES_OUT.ANY", UCP_EVENT_0BH_1FH) \ 2796__PMC_EV_ALIAS("GQ_SNOOP.GOTO_S", UCP_EVENT_0CH_01H) \ 2797__PMC_EV_ALIAS("GQ_SNOOP.GOTO_I", UCP_EVENT_0CH_02H) \ 2798__PMC_EV_ALIAS("GQ_SNOOP.GOTO_S_HIT_E", UCP_EVENT_0CH_04H_E) \ 2799__PMC_EV_ALIAS("GQ_SNOOP.GOTO_S_HIT_F", UCP_EVENT_0CH_04H_F) \ 2800__PMC_EV_ALIAS("GQ_SNOOP.GOTO_S_HIT_M", UCP_EVENT_0CH_04H_M) \ 2801__PMC_EV_ALIAS("GQ_SNOOP.GOTO_S_HIT_S", UCP_EVENT_0CH_04H_S) \ 2802__PMC_EV_ALIAS("GQ_SNOOP.GOTO_I_HIT_E", UCP_EVENT_0CH_08H_E) \ 2803__PMC_EV_ALIAS("GQ_SNOOP.GOTO_I_HIT_F", UCP_EVENT_0CH_08H_F) \ 2804__PMC_EV_ALIAS("GQ_SNOOP.GOTO_I_HIT_M", UCP_EVENT_0CH_08H_M) \ 2805__PMC_EV_ALIAS("GQ_SNOOP.GOTO_I_HIT_S", UCP_EVENT_0CH_08H_S) \ 2806__PMC_EV_ALIAS("QHL_REQUESTS.IOH_READS", UCP_EVENT_20H_01H) \ 2807__PMC_EV_ALIAS("QHL_REQUESTS.IOH_WRITES", UCP_EVENT_20H_02H) \ 2808__PMC_EV_ALIAS("QHL_REQUESTS.REMOTE_READS", UCP_EVENT_20H_04H) \ 2809__PMC_EV_ALIAS("QHL_REQUESTS.REMOTE_WRITES", UCP_EVENT_20H_08H) \ 2810__PMC_EV_ALIAS("QHL_REQUESTS.LOCAL_READS", UCP_EVENT_20H_10H) \ 2811__PMC_EV_ALIAS("QHL_REQUESTS.LOCAL_WRITES", UCP_EVENT_20H_20H) \ 2812__PMC_EV_ALIAS("QHL_CYCLES_FULL.IOH", UCP_EVENT_21H_01H) \ 2813__PMC_EV_ALIAS("QHL_CYCLES_FULL.REMOTE", UCP_EVENT_21H_02H) \ 2814__PMC_EV_ALIAS("QHL_CYCLES_FULL.LOCAL", UCP_EVENT_21H_04H) \ 2815__PMC_EV_ALIAS("QHL_CYCLES_NOT_EMPTY.IOH", UCP_EVENT_22H_01H) \ 2816__PMC_EV_ALIAS("QHL_CYCLES_NOT_EMPTY.REMOTE", UCP_EVENT_22H_02H) \ 2817__PMC_EV_ALIAS("QHL_CYCLES_NOT_EMPTY.LOCAL", UCP_EVENT_22H_04H) \ 2818__PMC_EV_ALIAS("QHL_OCCUPANCY.IOH", UCP_EVENT_23H_01H) \ 2819__PMC_EV_ALIAS("QHL_OCCUPANCY.REMOTE", UCP_EVENT_23H_02H) \ 2820__PMC_EV_ALIAS("QHL_OCCUPANCY.LOCAL", UCP_EVENT_23H_04H) \ 2821__PMC_EV_ALIAS("QHL_ADDRESS_CONFLICTS.2WAY", UCP_EVENT_24H_02H) \ 2822__PMC_EV_ALIAS("QHL_ADDRESS_CONFLICTS.3WAY", UCP_EVENT_24H_04H) \ 2823__PMC_EV_ALIAS("QHL_CONFLICT_CYCLES.IOH", UCP_EVENT_25H_01H) \ 2824__PMC_EV_ALIAS("QHL_CONFLICT_CYCLES.REMOTE", UCP_EVENT_25H_02H) \ 2825__PMC_EV_ALIAS("QHL_CONFLICT_CYCLES.LOCAL", UCP_EVENT_25H_04H) \ 2826__PMC_EV_ALIAS("QHL_TO_QMC_BYPASS", UCP_EVENT_26H_01H) \ 2827__PMC_EV_ALIAS("QMC_ISOC_FULL.READ.CH0", UCP_EVENT_28H_01H) \ 2828__PMC_EV_ALIAS("QMC_ISOC_FULL.READ.CH1", UCP_EVENT_28H_02H) \ 2829__PMC_EV_ALIAS("QMC_ISOC_FULL.READ.CH2", UCP_EVENT_28H_04H) \ 2830__PMC_EV_ALIAS("QMC_ISOC_FULL.WRITE.CH0", UCP_EVENT_28H_08H) \ 2831__PMC_EV_ALIAS("QMC_ISOC_FULL.WRITE.CH1", UCP_EVENT_28H_10H) \ 2832__PMC_EV_ALIAS("QMC_ISOC_FULL.WRITE.CH2", UCP_EVENT_28H_20H) \ 2833__PMC_EV_ALIAS("QMC_BUSY.READ.CH0", UCP_EVENT_29H_01H) \ 2834__PMC_EV_ALIAS("QMC_BUSY.READ.CH1", UCP_EVENT_29H_02H) \ 2835__PMC_EV_ALIAS("QMC_BUSY.READ.CH2", UCP_EVENT_29H_04H) \ 2836__PMC_EV_ALIAS("QMC_BUSY.WRITE.CH0", UCP_EVENT_29H_08H) \ 2837__PMC_EV_ALIAS("QMC_BUSY.WRITE.CH1", UCP_EVENT_29H_10H) \ 2838__PMC_EV_ALIAS("QMC_BUSY.WRITE.CH2", UCP_EVENT_29H_20H) \ 2839__PMC_EV_ALIAS("QMC_OCCUPANCY.CH0", UCP_EVENT_2AH_01H) \ 2840__PMC_EV_ALIAS("QMC_OCCUPANCY.CH1", UCP_EVENT_2AH_02H) \ 2841__PMC_EV_ALIAS("QMC_OCCUPANCY.CH2", UCP_EVENT_2AH_04H) \ 2842__PMC_EV_ALIAS("QMC_OCCUPANCY.ANY", UCP_EVENT_2AH_07H) \ 2843__PMC_EV_ALIAS("QMC_ISSOC_OCCUPANCY.CH0", UCP_EVENT_2BH_01H) \ 2844__PMC_EV_ALIAS("QMC_ISSOC_OCCUPANCY.CH1", UCP_EVENT_2BH_02H) \ 2845__PMC_EV_ALIAS("QMC_ISSOC_OCCUPANCY.CH2", UCP_EVENT_2BH_04H) \ 2846__PMC_EV_ALIAS("QMC_ISSOC_READS.ANY", UCP_EVENT_2BH_07H) \ 2847__PMC_EV_ALIAS("QMC_NORMAL_READS.CH0", UCP_EVENT_2CH_01H) \ 2848__PMC_EV_ALIAS("QMC_NORMAL_READS.CH1", UCP_EVENT_2CH_02H) \ 2849__PMC_EV_ALIAS("QMC_NORMAL_READS.CH2", UCP_EVENT_2CH_04H) \ 2850__PMC_EV_ALIAS("QMC_NORMAL_READS.ANY", UCP_EVENT_2CH_07H) \ 2851__PMC_EV_ALIAS("QMC_HIGH_PRIORITY_READS.CH0", UCP_EVENT_2DH_01H) \ 2852__PMC_EV_ALIAS("QMC_HIGH_PRIORITY_READS.CH1", UCP_EVENT_2DH_02H) \ 2853__PMC_EV_ALIAS("QMC_HIGH_PRIORITY_READS.CH2", UCP_EVENT_2DH_04H) \ 2854__PMC_EV_ALIAS("QMC_HIGH_PRIORITY_READS.ANY", UCP_EVENT_2DH_07H) \ 2855__PMC_EV_ALIAS("QMC_CRITICAL_PRIORITY_READS.CH0", UCP_EVENT_2EH_01H) \ 2856__PMC_EV_ALIAS("QMC_CRITICAL_PRIORITY_READS.CH1", UCP_EVENT_2EH_02H) \ 2857__PMC_EV_ALIAS("QMC_CRITICAL_PRIORITY_READS.CH2", UCP_EVENT_2EH_04H) \ 2858__PMC_EV_ALIAS("QMC_CRITICAL_PRIORITY_READS.ANY", UCP_EVENT_2EH_07H) \ 2859__PMC_EV_ALIAS("QMC_WRITES.FULL.CH0", UCP_EVENT_2FH_01H) \ 2860__PMC_EV_ALIAS("QMC_WRITES.FULL.CH1", UCP_EVENT_2FH_02H) \ 2861__PMC_EV_ALIAS("QMC_WRITES.FULL.CH2", UCP_EVENT_2FH_04H) \ 2862__PMC_EV_ALIAS("QMC_WRITES.FULL.ANY", UCP_EVENT_2FH_07H) \ 2863__PMC_EV_ALIAS("QMC_WRITES.PARTIAL.CH0", UCP_EVENT_2FH_08H) \ 2864__PMC_EV_ALIAS("QMC_WRITES.PARTIAL.CH1", UCP_EVENT_2FH_10H) \ 2865__PMC_EV_ALIAS("QMC_WRITES.PARTIAL.CH2", UCP_EVENT_2FH_20H) \ 2866__PMC_EV_ALIAS("QMC_WRITES.PARTIAL.ANY", UCP_EVENT_2FH_38H) \ 2867__PMC_EV_ALIAS("QMC_CANCEL.CH0", UCP_EVENT_30H_01H) \ 2868__PMC_EV_ALIAS("QMC_CANCEL.CH1", UCP_EVENT_30H_02H) \ 2869__PMC_EV_ALIAS("QMC_CANCEL.CH2", UCP_EVENT_30H_04H) \ 2870__PMC_EV_ALIAS("QMC_CANCEL.ANY", UCP_EVENT_30H_07H) \ 2871__PMC_EV_ALIAS("QMC_PRIORITY_UPDATES.CH0", UCP_EVENT_31H_01H) \ 2872__PMC_EV_ALIAS("QMC_PRIORITY_UPDATES.CH1", UCP_EVENT_31H_02H) \ 2873__PMC_EV_ALIAS("QMC_PRIORITY_UPDATES.CH2", UCP_EVENT_31H_04H) \ 2874__PMC_EV_ALIAS("QMC_PRIORITY_UPDATES.ANY", UCP_EVENT_31H_07H) \ 2875__PMC_EV_ALIAS("IMC_RETRY.CH0", UCP_EVENT_32H_01H) \ 2876__PMC_EV_ALIAS("IMC_RETRY.CH1", UCP_EVENT_32H_02H) \ 2877__PMC_EV_ALIAS("IMC_RETRY.CH2", UCP_EVENT_32H_04H) \ 2878__PMC_EV_ALIAS("IMC_RETRY.ANY", UCP_EVENT_32H_07H) \ 2879__PMC_EV_ALIAS("QHL_FRC_ACK_CNFLTS.IOH", UCP_EVENT_33H_01H) \ 2880__PMC_EV_ALIAS("QHL_FRC_ACK_CNFLTS.REMOTE", UCP_EVENT_33H_02H) \ 2881__PMC_EV_ALIAS("QHL_FRC_ACK_CNFLTS.LOCAL", UCP_EVENT_33H_04H) \ 2882__PMC_EV_ALIAS("QHL_FRC_ACK_CNFLTS.ANY", UCP_EVENT_33H_07H) \ 2883__PMC_EV_ALIAS("QHL_SLEEPS.IOH_ORDER", UCP_EVENT_34H_01H) \ 2884__PMC_EV_ALIAS("QHL_SLEEPS.REMOTE_ORDER", UCP_EVENT_34H_02H) \ 2885__PMC_EV_ALIAS("QHL_SLEEPS.LOCAL_ORDER", UCP_EVENT_34H_04H) \ 2886__PMC_EV_ALIAS("QHL_SLEEPS.IOH_CONFLICT", UCP_EVENT_34H_08H) \ 2887__PMC_EV_ALIAS("QHL_SLEEPS.REMOTE_CONFLICT", UCP_EVENT_34H_10H) \ 2888__PMC_EV_ALIAS("QHL_SLEEPS.LOCAL_CONFLICT", UCP_EVENT_34H_20H) \ 2889__PMC_EV_ALIAS("ADDR_OPCODE_MATCH.IOH", UCP_EVENT_35H_01H) \ 2890__PMC_EV_ALIAS("ADDR_OPCODE_MATCH.REMOTE", UCP_EVENT_35H_02H) \ 2891__PMC_EV_ALIAS("ADDR_OPCODE_MATCH.LOCAL", UCP_EVENT_35H_04H) \ 2892__PMC_EV_ALIAS("QPI_TX_STALLED_SINGLE_FLIT.HOME.LINK_0", UCP_EVENT_40H_01H) \ 2893__PMC_EV_ALIAS("QPI_TX_STALLED_SINGLE_FLIT.SNOOP.LINK_0", UCP_EVENT_40H_02H) \ 2894__PMC_EV_ALIAS("QPI_TX_STALLED_SINGLE_FLIT.NDR.LINK_0", UCP_EVENT_40H_04H) \ 2895__PMC_EV_ALIAS("QPI_TX_STALLED_SINGLE_FLIT.HOME.LINK_1", UCP_EVENT_40H_08H) \ 2896__PMC_EV_ALIAS("QPI_TX_STALLED_SINGLE_FLIT.SNOOP.LINK_1", UCP_EVENT_40H_10H) \ 2897__PMC_EV_ALIAS("QPI_TX_STALLED_SINGLE_FLIT.NDR.LINK_1", UCP_EVENT_40H_20H) \ 2898__PMC_EV_ALIAS("QPI_TX_STALLED_SINGLE_FLIT.LINK_0", UCP_EVENT_40H_07H) \ 2899__PMC_EV_ALIAS("QPI_TX_STALLED_SINGLE_FLIT.LINK_1", UCP_EVENT_40H_38H) \ 2900__PMC_EV_ALIAS("QPI_TX_STALLED_MULTI_FLIT.DRS.LINK_0", UCP_EVENT_41H_01H) \ 2901__PMC_EV_ALIAS("QPI_TX_STALLED_MULTI_FLIT.NCB.LINK_0", UCP_EVENT_41H_02H) \ 2902__PMC_EV_ALIAS("QPI_TX_STALLED_MULTI_FLIT.NCS.LINK_0", UCP_EVENT_41H_04H) \ 2903__PMC_EV_ALIAS("QPI_TX_STALLED_MULTI_FLIT.DRS.LINK_1", UCP_EVENT_41H_08H) \ 2904__PMC_EV_ALIAS("QPI_TX_STALLED_MULTI_FLIT.NCB.LINK_1", UCP_EVENT_41H_10H) \ 2905__PMC_EV_ALIAS("QPI_TX_STALLED_MULTI_FLIT.NCS.LINK_1", UCP_EVENT_41H_20H) \ 2906__PMC_EV_ALIAS("QPI_TX_STALLED_MULTI_FLIT.LINK_0", UCP_EVENT_41H_07H) \ 2907__PMC_EV_ALIAS("QPI_TX_STALLED_MULTI_FLIT.LINK_1", UCP_EVENT_41H_38H) \ 2908__PMC_EV_ALIAS("QPI_TX_HEADER.FULL.LINK_0", UCP_EVENT_42H_01H) \ 2909__PMC_EV_ALIAS("QPI_TX_HEADER.BUSY.LINK_0", UCP_EVENT_42H_02H) \ 2910__PMC_EV_ALIAS("QPI_TX_HEADER.FULL.LINK_1", UCP_EVENT_42H_04H) \ 2911__PMC_EV_ALIAS("QPI_TX_HEADER.BUSY.LINK_1", UCP_EVENT_42H_08H) \ 2912__PMC_EV_ALIAS("QPI_RX_NO_PPT_CREDIT.STALLS.LINK_0", UCP_EVENT_43H_01H) \ 2913__PMC_EV_ALIAS("QPI_RX_NO_PPT_CREDIT.STALLS.LINK_1", UCP_EVENT_43H_02H) \ 2914__PMC_EV_ALIAS("DRAM_OPEN.CH0", UCP_EVENT_60H_01H) \ 2915__PMC_EV_ALIAS("DRAM_OPEN.CH1", UCP_EVENT_60H_02H) \ 2916__PMC_EV_ALIAS("DRAM_OPEN.CH2", UCP_EVENT_60H_04H) \ 2917__PMC_EV_ALIAS("DRAM_PAGE_CLOSE.CH0", UCP_EVENT_61H_01H) \ 2918__PMC_EV_ALIAS("DRAM_PAGE_CLOSE.CH1", UCP_EVENT_61H_02H) \ 2919__PMC_EV_ALIAS("DRAM_PAGE_CLOSE.CH2", UCP_EVENT_61H_04H) \ 2920__PMC_EV_ALIAS("DRAM_PAGE_MISS.CH0", UCP_EVENT_62H_01H) \ 2921__PMC_EV_ALIAS("DRAM_PAGE_MISS.CH1", UCP_EVENT_62H_02H) \ 2922__PMC_EV_ALIAS("DRAM_PAGE_MISS.CH2", UCP_EVENT_62H_04H) \ 2923__PMC_EV_ALIAS("DRAM_READ_CAS.CH0", UCP_EVENT_63H_01H) \ 2924__PMC_EV_ALIAS("DRAM_READ_CAS.AUTOPRE_CH0", UCP_EVENT_63H_02H) \ 2925__PMC_EV_ALIAS("DRAM_READ_CAS.CH1", UCP_EVENT_63H_04H) \ 2926__PMC_EV_ALIAS("DRAM_READ_CAS.AUTOPRE_CH1", UCP_EVENT_63H_08H) \ 2927__PMC_EV_ALIAS("DRAM_READ_CAS.CH2", UCP_EVENT_63H_10H) \ 2928__PMC_EV_ALIAS("DRAM_READ_CAS.AUTOPRE_CH2", UCP_EVENT_63H_20H) \ 2929__PMC_EV_ALIAS("DRAM_WRITE_CAS.CH0", UCP_EVENT_64H_01H) \ 2930__PMC_EV_ALIAS("DRAM_WRITE_CAS.AUTOPRE_CH0", UCP_EVENT_64H_02H) \ 2931__PMC_EV_ALIAS("DRAM_WRITE_CAS.CH1", UCP_EVENT_64H_04H) \ 2932__PMC_EV_ALIAS("DRAM_WRITE_CAS.AUTOPRE_CH1", UCP_EVENT_64H_08H) \ 2933__PMC_EV_ALIAS("DRAM_WRITE_CAS.CH2", UCP_EVENT_64H_10H) \ 2934__PMC_EV_ALIAS("DRAM_WRITE_CAS.AUTOPRE_CH2", UCP_EVENT_64H_20H) \ 2935__PMC_EV_ALIAS("DRAM_REFRESH.CH0", UCP_EVENT_65H_01H) \ 2936__PMC_EV_ALIAS("DRAM_REFRESH.CH1", UCP_EVENT_65H_02H) \ 2937__PMC_EV_ALIAS("DRAM_REFRESH.CH2", UCP_EVENT_65H_04H) \ 2938__PMC_EV_ALIAS("DRAM_PRE_ALL.CH0", UCP_EVENT_66H_01H) \ 2939__PMC_EV_ALIAS("DRAM_PRE_ALL.CH1", UCP_EVENT_66H_02H) \ 2940__PMC_EV_ALIAS("DRAM_PRE_ALL.CH2", UCP_EVENT_66H_04H) \ 2941__PMC_EV_ALIAS("DRAM_THERMAL_THROTTLED", UCP_EVENT_67H_01H) \ 2942__PMC_EV_ALIAS("THERMAL_THROTTLING_TEMP.CORE_0", UCP_EVENT_80H_01H) \ 2943__PMC_EV_ALIAS("THERMAL_THROTTLING_TEMP.CORE_1", UCP_EVENT_80H_02H) \ 2944__PMC_EV_ALIAS("THERMAL_THROTTLING_TEMP.CORE_2", UCP_EVENT_80H_04H) \ 2945__PMC_EV_ALIAS("THERMAL_THROTTLING_TEMP.CORE_3", UCP_EVENT_80H_08H) \ 2946__PMC_EV_ALIAS("THERMAL_THROTTLED_TEMP.CORE_0", UCP_EVENT_81H_01H) \ 2947__PMC_EV_ALIAS("THERMAL_THROTTLED_TEMP.CORE_1", UCP_EVENT_81H_02H) \ 2948__PMC_EV_ALIAS("THERMAL_THROTTLED_TEMP.CORE_2", UCP_EVENT_81H_04H) \ 2949__PMC_EV_ALIAS("THERMAL_THROTTLED_TEMP.CORE_3", UCP_EVENT_81H_08H) \ 2950__PMC_EV_ALIAS("PROCHOT_ASSERTION", UCP_EVENT_82H_01H) \ 2951__PMC_EV_ALIAS("THERMAL_THROTTLING_PROCHOT.CORE_0", UCP_EVENT_83H_01H) \ 2952__PMC_EV_ALIAS("THERMAL_THROTTLING_PROCHOT.CORE_1", UCP_EVENT_83H_02H) \ 2953__PMC_EV_ALIAS("THERMAL_THROTTLING_PROCHOT.CORE_2", UCP_EVENT_83H_04H) \ 2954__PMC_EV_ALIAS("THERMAL_THROTTLING_PROCHOT.CORE_3", UCP_EVENT_83H_08H) \ 2955__PMC_EV_ALIAS("TURBO_MODE.CORE_0", UCP_EVENT_84H_01H) \ 2956__PMC_EV_ALIAS("TURBO_MODE.CORE_1", UCP_EVENT_84H_02H) \ 2957__PMC_EV_ALIAS("TURBO_MODE.CORE_2", UCP_EVENT_84H_04H) \ 2958__PMC_EV_ALIAS("TURBO_MODE.CORE_3", UCP_EVENT_84H_08H) \ 2959__PMC_EV_ALIAS("CYCLES_UNHALTED_L3_FLL_ENABLE", UCP_EVENT_85H_02H) \ 2960__PMC_EV_ALIAS("CYCLES_UNHALTED_L3_FLL_DISABLE", UCP_EVENT_86H_01H) 2961 2962/* 2963 * Intel XScale events from: 2964 * 2965 * Intel XScale Core Developer's Manual 2966 * January, 2004, #27347302 2967 * 2968 * 3rd Generation Intel XScale Microarchitecture 2969 * Developer's Manual 2970 * May 2007, #31628302 2971 * 2972 * First 14 events are for 1st and 2nd Generation Intel XScale cores. The 2973 * remaining are available only on 3rd Generation Intel XScale cores. 2974 */ 2975#define __PMC_EV_XSCALE() \ 2976 __PMC_EV(XSCALE, IC_FETCH) \ 2977 __PMC_EV(XSCALE, IC_MISS) \ 2978 __PMC_EV(XSCALE, DATA_DEPENDENCY_STALLED) \ 2979 __PMC_EV(XSCALE, ITLB_MISS) \ 2980 __PMC_EV(XSCALE, DTLB_MISS) \ 2981 __PMC_EV(XSCALE, BRANCH_RETIRED) \ 2982 __PMC_EV(XSCALE, BRANCH_MISPRED) \ 2983 __PMC_EV(XSCALE, INSTR_RETIRED) \ 2984 __PMC_EV(XSCALE, DC_FULL_CYCLE) \ 2985 __PMC_EV(XSCALE, DC_FULL_CONTIG) \ 2986 __PMC_EV(XSCALE, DC_ACCESS) \ 2987 __PMC_EV(XSCALE, DC_MISS) \ 2988 __PMC_EV(XSCALE, DC_WRITEBACK) \ 2989 __PMC_EV(XSCALE, PC_CHANGE) \ 2990 __PMC_EV(XSCALE, BRANCH_RETIRED_ALL) \ 2991 __PMC_EV(XSCALE, INSTR_CYCLE) \ 2992 __PMC_EV(XSCALE, CP_STALL) \ 2993 __PMC_EV(XSCALE, PC_CHANGE_ALL) \ 2994 __PMC_EV(XSCALE, PIPELINE_FLUSH) \ 2995 __PMC_EV(XSCALE, BACKEND_STALL) \ 2996 __PMC_EV(XSCALE, MULTIPLIER_USE) \ 2997 __PMC_EV(XSCALE, MULTIPLIER_STALLED) \ 2998 __PMC_EV(XSCALE, DATA_CACHE_STALLED) \ 2999 __PMC_EV(XSCALE, L2_CACHE_REQ) \ 3000 __PMC_EV(XSCALE, L2_CACHE_MISS) \ 3001 __PMC_EV(XSCALE, ADDRESS_BUS_TRANS) \ 3002 __PMC_EV(XSCALE, SELF_ADDRESS_BUS_TRANS) \ 3003 __PMC_EV(XSCALE, DATA_BUS_TRANS) 3004 3005#define PMC_EV_XSCALE_FIRST PMC_EV_XSCALE_IC_FETCH 3006#define PMC_EV_XSCALE_LAST PMC_EV_XSCALE_DATA_BUS_TRANS 3007 3008/* 3009 * MIPS Events from "Programming the MIPS32 24K Core Family", 3010 * Document Number: MD00355 Revision 04.63 December 19, 2008 3011 * These events are kept in the order found in Table 7.4. 3012 * For counters which are different between the left hand 3013 * column (0/2) and the right hand column (1/3) the left 3014 * hand is given first, e.g. BRANCH_COMPLETED and BRANCH_MISPRED 3015 * in the definition below. 3016 */ 3017 3018#define __PMC_EV_MIPS24K() \ 3019 __PMC_EV(MIPS24K, CYCLE) \ 3020 __PMC_EV(MIPS24K, INSTR_EXECUTED) \ 3021 __PMC_EV(MIPS24K, BRANCH_COMPLETED) \ 3022 __PMC_EV(MIPS24K, BRANCH_MISPRED) \ 3023 __PMC_EV(MIPS24K, RETURN) \ 3024 __PMC_EV(MIPS24K, RETURN_MISPRED) \ 3025 __PMC_EV(MIPS24K, RETURN_NOT_31) \ 3026 __PMC_EV(MIPS24K, RETURN_NOTPRED) \ 3027 __PMC_EV(MIPS24K, ITLB_ACCESS) \ 3028 __PMC_EV(MIPS24K, ITLB_MISS) \ 3029 __PMC_EV(MIPS24K, DTLB_ACCESS) \ 3030 __PMC_EV(MIPS24K, DTLB_MISS) \ 3031 __PMC_EV(MIPS24K, JTLB_IACCESS) \ 3032 __PMC_EV(MIPS24K, JTLB_IMISS) \ 3033 __PMC_EV(MIPS24K, JTLB_DACCESS) \ 3034 __PMC_EV(MIPS24K, JTLB_DMISS) \ 3035 __PMC_EV(MIPS24K, IC_FETCH) \ 3036 __PMC_EV(MIPS24K, IC_MISS) \ 3037 __PMC_EV(MIPS24K, DC_LOADSTORE) \ 3038 __PMC_EV(MIPS24K, DC_WRITEBACK) \ 3039 __PMC_EV(MIPS24K, DC_MISS) \ 3040 __PMC_EV(MIPS24K, STORE_MISS) \ 3041 __PMC_EV(MIPS24K, LOAD_MISS) \ 3042 __PMC_EV(MIPS24K, INTEGER_COMPLETED) \ 3043 __PMC_EV(MIPS24K, FP_COMPLETED) \ 3044 __PMC_EV(MIPS24K, LOAD_COMPLETED) \ 3045 __PMC_EV(MIPS24K, STORE_COMPLETED) \ 3046 __PMC_EV(MIPS24K, BARRIER_COMPLETED) \ 3047 __PMC_EV(MIPS24K, MIPS16_COMPLETED) \ 3048 __PMC_EV(MIPS24K, NOP_COMPLETED) \ 3049 __PMC_EV(MIPS24K, INTEGER_MULDIV_COMPLETED)\ 3050 __PMC_EV(MIPS24K, RF_STALL) \ 3051 __PMC_EV(MIPS24K, INSTR_REFETCH) \ 3052 __PMC_EV(MIPS24K, STORE_COND_COMPLETED) \ 3053 __PMC_EV(MIPS24K, STORE_COND_FAILED) \ 3054 __PMC_EV(MIPS24K, ICACHE_REQUESTS) \ 3055 __PMC_EV(MIPS24K, ICACHE_HIT) \ 3056 __PMC_EV(MIPS24K, L2_WRITEBACK) \ 3057 __PMC_EV(MIPS24K, L2_ACCESS) \ 3058 __PMC_EV(MIPS24K, L2_MISS) \ 3059 __PMC_EV(MIPS24K, L2_ERR_CORRECTED) \ 3060 __PMC_EV(MIPS24K, EXCEPTIONS) \ 3061 __PMC_EV(MIPS24K, RF_CYCLES_STALLED) \ 3062 __PMC_EV(MIPS24K, IFU_CYCLES_STALLED) \ 3063 __PMC_EV(MIPS24K, ALU_CYCLES_STALLED) \ 3064 __PMC_EV(MIPS24K, UNCACHED_LOAD) \ 3065 __PMC_EV(MIPS24K, UNCACHED_STORE) \ 3066 __PMC_EV(MIPS24K, CP2_REG_TO_REG_COMPLETED)\ 3067 __PMC_EV(MIPS24K, MFTC_COMPLETED) \ 3068 __PMC_EV(MIPS24K, IC_BLOCKED_CYCLES) \ 3069 __PMC_EV(MIPS24K, DC_BLOCKED_CYCLES) \ 3070 __PMC_EV(MIPS24K, L2_IMISS_STALL_CYCLES) \ 3071 __PMC_EV(MIPS24K, L2_DMISS_STALL_CYCLES) \ 3072 __PMC_EV(MIPS24K, DMISS_CYCLES) \ 3073 __PMC_EV(MIPS24K, L2_MISS_CYCLES) \ 3074 __PMC_EV(MIPS24K, UNCACHED_BLOCK_CYCLES) \ 3075 __PMC_EV(MIPS24K, MDU_STALL_CYCLES) \ 3076 __PMC_EV(MIPS24K, FPU_STALL_CYCLES) \ 3077 __PMC_EV(MIPS24K, CP2_STALL_CYCLES) \ 3078 __PMC_EV(MIPS24K, COREXTEND_STALL_CYCLES) \ 3079 __PMC_EV(MIPS24K, ISPRAM_STALL_CYCLES) \ 3080 __PMC_EV(MIPS24K, DSPRAM_STALL_CYCLES) \ 3081 __PMC_EV(MIPS24K, CACHE_STALL_CYCLES) \ 3082 __PMC_EV(MIPS24K, LOAD_TO_USE_STALLS) \ 3083 __PMC_EV(MIPS24K, BASE_MISPRED_STALLS) \ 3084 __PMC_EV(MIPS24K, CPO_READ_STALLS) \ 3085 __PMC_EV(MIPS24K, BRANCH_MISPRED_CYCLES) \ 3086 __PMC_EV(MIPS24K, IFETCH_BUFFER_FULL) \ 3087 __PMC_EV(MIPS24K, FETCH_BUFFER_ALLOCATED) \ 3088 __PMC_EV(MIPS24K, EJTAG_ITRIGGER) \ 3089 __PMC_EV(MIPS24K, EJTAG_DTRIGGER) \ 3090 __PMC_EV(MIPS24K, FSB_LT_QUARTER) \ 3091 __PMC_EV(MIPS24K, FSB_QUARTER_TO_HALF) \ 3092 __PMC_EV(MIPS24K, FSB_GT_HALF) \ 3093 __PMC_EV(MIPS24K, FSB_FULL_PIPELINE_STALLS)\ 3094 __PMC_EV(MIPS24K, LDQ_LT_QUARTER) \ 3095 __PMC_EV(MIPS24K, LDQ_QUARTER_TO_HALF) \ 3096 __PMC_EV(MIPS24K, LDQ_GT_HALF) \ 3097 __PMC_EV(MIPS24K, LDQ_FULL_PIPELINE_STALLS)\ 3098 __PMC_EV(MIPS24K, WBB_LT_QUARTER) \ 3099 __PMC_EV(MIPS24K, WBB_QUARTER_TO_HALF) \ 3100 __PMC_EV(MIPS24K, WBB_GT_HALF) \ 3101 __PMC_EV(MIPS24K, WBB_FULL_PIPELINE_STALLS) \ 3102 __PMC_EV(MIPS24K, REQUEST_LATENCY) \ 3103 __PMC_EV(MIPS24K, REQUEST_COUNT) 3104 3105#define PMC_EV_MIPS24K_FIRST PMC_EV_MIPS24K_CYCLE 3106#define PMC_EV_MIPS24K_LAST PMC_EV_MIPS24K_WBB_FULL_PIPELINE_STALLS 3107 3108#define __PMC_EV_PPC7450() \ 3109 __PMC_EV(PPC7450, CYCLE) \ 3110 __PMC_EV(PPC7450, INSTR_COMPLETED) \ 3111 __PMC_EV(PPC7450, TLB_BIT_TRANSITIONS) \ 3112 __PMC_EV(PPC7450, INSTR_DISPATCHED) \ 3113 __PMC_EV(PPC7450, PMON_EXCEPT) \ 3114 __PMC_EV(PPC7450, PMON_SIG) \ 3115 __PMC_EV(PPC7450, VPU_INSTR_COMPLETED) \ 3116 __PMC_EV(PPC7450, VFPU_INSTR_COMPLETED) \ 3117 __PMC_EV(PPC7450, VIU1_INSTR_COMPLETED) \ 3118 __PMC_EV(PPC7450, VIU2_INSTR_COMPLETED) \ 3119 __PMC_EV(PPC7450, MTVSCR_INSTR_COMPLETED) \ 3120 __PMC_EV(PPC7450, MTVRSAVE_INSTR_COMPLETED) \ 3121 __PMC_EV(PPC7450, VPU_INSTR_WAIT_CYCLES) \ 3122 __PMC_EV(PPC7450, VFPU_INSTR_WAIT_CYCLES) \ 3123 __PMC_EV(PPC7450, VIU1_INSTR_WAIT_CYCLES) \ 3124 __PMC_EV(PPC7450, VIU2_INSTR_WAIT_CYCLES) \ 3125 __PMC_EV(PPC7450, MFVSCR_SYNC_CYCLES) \ 3126 __PMC_EV(PPC7450, VSCR_SAT_SET) \ 3127 __PMC_EV(PPC7450, STORE_INSTR_COMPLETED) \ 3128 __PMC_EV(PPC7450, L1_INSTR_CACHE_MISSES) \ 3129 __PMC_EV(PPC7450, L1_DATA_SNOOPS) \ 3130 __PMC_EV(PPC7450, UNRESOLVED_BRANCHES) \ 3131 __PMC_EV(PPC7450, SPEC_BUFFER_CYCLES) \ 3132 __PMC_EV(PPC7450, BRANCH_UNIT_STALL_CYCLES) \ 3133 __PMC_EV(PPC7450, TRUE_BRANCH_TARGET_HITS) \ 3134 __PMC_EV(PPC7450, BRANCH_LINK_STAC_PREDICTED) \ 3135 __PMC_EV(PPC7450, GPR_ISSUE_QUEUE_DISPATCHES) \ 3136 __PMC_EV(PPC7450, CYCLES_THREE_INSTR_DISPATCHED) \ 3137 __PMC_EV(PPC7450, THRESHOLD_INSTR_QUEUE_ENTRIES_CYCLES) \ 3138 __PMC_EV(PPC7450, THRESHOLD_VEC_INSTR_QUEUE_ENTRIES_CYCLES) \ 3139 __PMC_EV(PPC7450, CYCLES_NO_COMPLETED_INSTRS) \ 3140 __PMC_EV(PPC7450, IU2_INSTR_COMPLETED) \ 3141 __PMC_EV(PPC7450, BRANCHES_COMPLETED) \ 3142 __PMC_EV(PPC7450, EIEIO_INSTR_COMPLETED) \ 3143 __PMC_EV(PPC7450, MTSPR_INSTR_COMPLETED) \ 3144 __PMC_EV(PPC7450, SC_INSTR_COMPLETED) \ 3145 __PMC_EV(PPC7450, LS_LM_COMPLETED) \ 3146 __PMC_EV(PPC7450, ITLB_HW_TABLE_SEARCH_CYCLES) \ 3147 __PMC_EV(PPC7450, DTLB_HW_SEARCH_CYCLES_OVER_THRESHOLD) \ 3148 __PMC_EV(PPC7450, L1_INSTR_CACHE_ACCESSES) \ 3149 __PMC_EV(PPC7450, INSTR_BKPT_MATCHES) \ 3150 __PMC_EV(PPC7450, L1_DATA_CACHE_LOAD_MISS_CYCLES_OVER_THRESHOLD) \ 3151 __PMC_EV(PPC7450, L1_DATA_SNOOP_HIT_ON_MODIFIED) \ 3152 __PMC_EV(PPC7450, LOAD_MISS_ALIAS) \ 3153 __PMC_EV(PPC7450, LOAD_MISS_ALIAS_ON_TOUCH) \ 3154 __PMC_EV(PPC7450, TOUCH_ALIAS) \ 3155 __PMC_EV(PPC7450, L1_DATA_SNOOP_HIT_CASTOUT_QUEUE) \ 3156 __PMC_EV(PPC7450, L1_DATA_SNOOP_HIT_CASTOUT) \ 3157 __PMC_EV(PPC7450, L1_DATA_SNOOP_HITS) \ 3158 __PMC_EV(PPC7450, WRITE_THROUGH_STORES) \ 3159 __PMC_EV(PPC7450, CACHE_INHIBITED_STORES) \ 3160 __PMC_EV(PPC7450, L1_DATA_LOAD_HIT) \ 3161 __PMC_EV(PPC7450, L1_DATA_TOUCH_HIT) \ 3162 __PMC_EV(PPC7450, L1_DATA_STORE_HIT) \ 3163 __PMC_EV(PPC7450, L1_DATA_TOTAL_HITS) \ 3164 __PMC_EV(PPC7450, DST_INSTR_DISPATCHED) \ 3165 __PMC_EV(PPC7450, REFRESHED_DSTS) \ 3166 __PMC_EV(PPC7450, SUCCESSFUL_DST_TABLE_SEARCHES) \ 3167 __PMC_EV(PPC7450, DSS_INSTR_COMPLETED) \ 3168 __PMC_EV(PPC7450, DST_STREAM_0_CACHE_LINE_FETCHES) \ 3169 __PMC_EV(PPC7450, VTQ_SUSPENDS_DUE_TO_CTX_CHANGE) \ 3170 __PMC_EV(PPC7450, VTQ_LINE_FETCH_HIT) \ 3171 __PMC_EV(PPC7450, VEC_LOAD_INSTR_COMPLETED) \ 3172 __PMC_EV(PPC7450, FP_STORE_INSTR_COMPLETED_IN_LSU) \ 3173 __PMC_EV(PPC7450, FPU_RENORMALIZATION) \ 3174 __PMC_EV(PPC7450, FPU_DENORMALIZATION) \ 3175 __PMC_EV(PPC7450, FP_STORE_CAUSES_STALL_IN_LSU) \ 3176 __PMC_EV(PPC7450, LD_ST_TRUE_ALIAS_STALL) \ 3177 __PMC_EV(PPC7450, LSU_INDEXED_ALIAS_STALL) \ 3178 __PMC_EV(PPC7450, LSU_ALIAS_VS_FSQ_WB0_WB1) \ 3179 __PMC_EV(PPC7450, LSU_ALIAS_VS_CSQ) \ 3180 __PMC_EV(PPC7450, LSU_LOAD_HIT_LINE_ALIAS_VS_CSQ0) \ 3181 __PMC_EV(PPC7450, LSU_LOAD_MISS_LINE_ALIAS_VS_CSQ0) \ 3182 __PMC_EV(PPC7450, LSU_TOUCH_LINE_ALIAS_VS_FSQ_WB0_WB1) \ 3183 __PMC_EV(PPC7450, LSU_TOUCH_ALIAS_VS_CSQ) \ 3184 __PMC_EV(PPC7450, LSU_LMQ_FULL_STALL) \ 3185 __PMC_EV(PPC7450, FP_LOAD_INSTR_COMPLETED_IN_LSU) \ 3186 __PMC_EV(PPC7450, FP_LOAD_SINGLE_INSTR_COMPLETED_IN_LSU) \ 3187 __PMC_EV(PPC7450, FP_LOAD_DOUBLE_COMPLETED_IN_LSU) \ 3188 __PMC_EV(PPC7450, LSU_RA_LATCH_STALL) \ 3189 __PMC_EV(PPC7450, LSU_LOAD_VS_STORE_QUEUE_ALIAS_STALL) \ 3190 __PMC_EV(PPC7450, LSU_LMQ_INDEX_ALIAS) \ 3191 __PMC_EV(PPC7450, LSU_STORE_QUEUE_INDEX_ALIAS) \ 3192 __PMC_EV(PPC7450, LSU_CSQ_FORWARDING) \ 3193 __PMC_EV(PPC7450, LSU_MISALIGNED_LOAD_FINISH) \ 3194 __PMC_EV(PPC7450, LSU_MISALIGN_STORE_COMPLETED) \ 3195 __PMC_EV(PPC7450, LSU_MISALIGN_STALL) \ 3196 __PMC_EV(PPC7450, FP_ONE_QUARTER_FPSCR_RENAMES_BUSY) \ 3197 __PMC_EV(PPC7450, FP_ONE_HALF_FPSCR_RENAMES_BUSY) \ 3198 __PMC_EV(PPC7450, FP_THREE_QUARTERS_FPSCR_RENAMES_BUSY) \ 3199 __PMC_EV(PPC7450, FP_ALL_FPSCR_RENAMES_BUSY) \ 3200 __PMC_EV(PPC7450, FP_DENORMALIZED_RESULT) \ 3201 __PMC_EV(PPC7450, L1_DATA_TOTAL_MISSES) \ 3202 __PMC_EV(PPC7450, DISPATCHES_TO_FPR_ISSUE_QUEUE) \ 3203 __PMC_EV(PPC7450, LSU_INSTR_COMPLETED) \ 3204 __PMC_EV(PPC7450, LOAD_INSTR_COMPLETED) \ 3205 __PMC_EV(PPC7450, SS_SM_INSTR_COMPLETED) \ 3206 __PMC_EV(PPC7450, TLBIE_INSTR_COMPLETED) \ 3207 __PMC_EV(PPC7450, LWARX_INSTR_COMPLETED) \ 3208 __PMC_EV(PPC7450, MFSPR_INSTR_COMPLETED) \ 3209 __PMC_EV(PPC7450, REFETCH_SERIALIZATION) \ 3210 __PMC_EV(PPC7450, COMPLETION_QUEUE_ENTRIES_OVER_THRESHOLD) \ 3211 __PMC_EV(PPC7450, CYCLES_ONE_INSTR_DISPATCHED) \ 3212 __PMC_EV(PPC7450, CYCLES_TWO_INSTR_COMPLETED) \ 3213 __PMC_EV(PPC7450, ITLB_NON_SPECULATIVE_MISSES) \ 3214 __PMC_EV(PPC7450, CYCLES_WAITING_FROM_L1_INSTR_CACHE_MISS) \ 3215 __PMC_EV(PPC7450, L1_DATA_LOAD_ACCESS_MISS) \ 3216 __PMC_EV(PPC7450, L1_DATA_TOUCH_MISS) \ 3217 __PMC_EV(PPC7450, L1_DATA_STORE_MISS) \ 3218 __PMC_EV(PPC7450, L1_DATA_TOUCH_MISS_CYCLES) \ 3219 __PMC_EV(PPC7450, L1_DATA_CYCLES_USED) \ 3220 __PMC_EV(PPC7450, DST_STREAM_1_CACHE_LINE_FETCHES) \ 3221 __PMC_EV(PPC7450, VTQ_STREAM_CANCELED_PREMATURELY) \ 3222 __PMC_EV(PPC7450, VTQ_RESUMES_DUE_TO_CTX_CHANGE) \ 3223 __PMC_EV(PPC7450, VTQ_LINE_FETCH_MISS) \ 3224 __PMC_EV(PPC7450, VTQ_LINE_FETCH) \ 3225 __PMC_EV(PPC7450, TLBIE_SNOOPS) \ 3226 __PMC_EV(PPC7450, L1_INSTR_CACHE_RELOADS) \ 3227 __PMC_EV(PPC7450, L1_DATA_CACHE_RELOADS) \ 3228 __PMC_EV(PPC7450, L1_DATA_CACHE_CASTOUTS_TO_L2) \ 3229 __PMC_EV(PPC7450, STORE_MERGE_GATHER) \ 3230 __PMC_EV(PPC7450, CACHEABLE_STORE_MERGE_TO_32_BYTES) \ 3231 __PMC_EV(PPC7450, DATA_BKPT_MATCHES) \ 3232 __PMC_EV(PPC7450, FALL_THROUGH_BRANCHES_PROCESSED) \ 3233 __PMC_EV(PPC7450, FIRST_SPECULATIVE_BRANCH_BUFFER_RESOLVED_CORRECTLY) \ 3234 __PMC_EV(PPC7450, SECOND_SPECULATION_BUFFER_ACTIVE) \ 3235 __PMC_EV(PPC7450, BPU_STALL_ON_LR_DEPENDENCY) \ 3236 __PMC_EV(PPC7450, BTIC_MISS) \ 3237 __PMC_EV(PPC7450, BRANCH_LINK_STACK_CORRECTLY_RESOLVED) \ 3238 __PMC_EV(PPC7450, FPR_ISSUE_STALLED) \ 3239 __PMC_EV(PPC7450, SWITCHES_BETWEEN_PRIV_USER) \ 3240 __PMC_EV(PPC7450, LSU_COMPLETES_FP_STORE_SINGLE) \ 3241 __PMC_EV(PPC7450, VR_ISSUE_QUEUE_DISPATCHES) \ 3242 __PMC_EV(PPC7450, VR_STALLS) \ 3243 __PMC_EV(PPC7450, GPR_RENAME_BUFFER_ENTRIES_OVER_THRESHOLD) \ 3244 __PMC_EV(PPC7450, FPR_ISSUE_QUEUE_ENTRIES) \ 3245 __PMC_EV(PPC7450, FPU_INSTR_COMPLETED) \ 3246 __PMC_EV(PPC7450, STWCX_INSTR_COMPLETED) \ 3247 __PMC_EV(PPC7450, LS_LM_INSTR_PIECES) \ 3248 __PMC_EV(PPC7450, ITLB_HW_SEARCH_CYCLES_OVER_THRESHOLD) \ 3249 __PMC_EV(PPC7450, DTLB_MISSES) \ 3250 __PMC_EV(PPC7450, CANCELLED_L1_INSTR_CACHE_MISSES) \ 3251 __PMC_EV(PPC7450, L1_DATA_CACHE_OP_HIT) \ 3252 __PMC_EV(PPC7450, L1_DATA_LOAD_MISS_CYCLES) \ 3253 __PMC_EV(PPC7450, L1_DATA_PUSHES) \ 3254 __PMC_EV(PPC7450, L1_DATA_TOTAL_MISS) \ 3255 __PMC_EV(PPC7450, VT2_FETCHES) \ 3256 __PMC_EV(PPC7450, TAKEN_BRANCHES_PROCESSED) \ 3257 __PMC_EV(PPC7450, BRANCH_FLUSHES) \ 3258 __PMC_EV(PPC7450, SECOND_SPECULATIVE_BRANCH_BUFFER_RESOLVED_CORRECTLY) \ 3259 __PMC_EV(PPC7450, THIRD_SPECULATION_BUFFER_ACTIVE) \ 3260 __PMC_EV(PPC7450, BRANCH_UNIT_STALL_ON_CTR_DEPENDENCY) \ 3261 __PMC_EV(PPC7450, FAST_BTIC_HIT) \ 3262 __PMC_EV(PPC7450, BRANCH_LINK_STACK_MISPREDICTED) \ 3263 __PMC_EV(PPC7450, CYCLES_THREE_INSTR_COMPLETED) \ 3264 __PMC_EV(PPC7450, CYCLES_NO_INSTR_DISPATCHED) \ 3265 __PMC_EV(PPC7450, GPR_ISSUE_QUEUE_ENTRIES_OVER_THRESHOLD) \ 3266 __PMC_EV(PPC7450, GPR_ISSUE_QUEUE_STALLED) \ 3267 __PMC_EV(PPC7450, IU1_INSTR_COMPLETED) \ 3268 __PMC_EV(PPC7450, DSSALL_INSTR_COMPLETED) \ 3269 __PMC_EV(PPC7450, TLBSYNC_INSTR_COMPLETED) \ 3270 __PMC_EV(PPC7450, SYNC_INSTR_COMPLETED) \ 3271 __PMC_EV(PPC7450, SS_SM_INSTR_PIECES) \ 3272 __PMC_EV(PPC7450, DTLB_HW_SEARCH_CYCLES) \ 3273 __PMC_EV(PPC7450, SNOOP_RETRIES) \ 3274 __PMC_EV(PPC7450, SUCCESSFUL_STWCX) \ 3275 __PMC_EV(PPC7450, DST_STREAM_3_CACHE_LINE_FETCHES) \ 3276 __PMC_EV(PPC7450, THIRD_SPECULATIVE_BRANCH_BUFFER_RESOLVED_CORRECTLY) \ 3277 __PMC_EV(PPC7450, MISPREDICTED_BRANCHES) \ 3278 __PMC_EV(PPC7450, FOLDED_BRANCHES) \ 3279 __PMC_EV(PPC7450, FP_STORE_DOUBLE_COMPLETES_IN_LSU) \ 3280 __PMC_EV(PPC7450, L2_CACHE_HITS) \ 3281 __PMC_EV(PPC7450, L3_CACHE_HITS) \ 3282 __PMC_EV(PPC7450, L2_INSTR_CACHE_MISSES) \ 3283 __PMC_EV(PPC7450, L3_INSTR_CACHE_MISSES) \ 3284 __PMC_EV(PPC7450, L2_DATA_CACHE_MISSES) \ 3285 __PMC_EV(PPC7450, L3_DATA_CACHE_MISSES) \ 3286 __PMC_EV(PPC7450, L2_LOAD_HITS) \ 3287 __PMC_EV(PPC7450, L2_STORE_HITS) \ 3288 __PMC_EV(PPC7450, L3_LOAD_HITS) \ 3289 __PMC_EV(PPC7450, L3_STORE_HITS) \ 3290 __PMC_EV(PPC7450, L2_TOUCH_HITS) \ 3291 __PMC_EV(PPC7450, L3_TOUCH_HITS) \ 3292 __PMC_EV(PPC7450, SNOOP_MODIFIED) \ 3293 __PMC_EV(PPC7450, SNOOP_VALID) \ 3294 __PMC_EV(PPC7450, INTERVENTION) \ 3295 __PMC_EV(PPC7450, L2_CACHE_MISSES) \ 3296 __PMC_EV(PPC7450, L3_CACHE_MISSES) \ 3297 __PMC_EV(PPC7450, L2_CACHE_CASTOUTS) \ 3298 __PMC_EV(PPC7450, L3_CACHE_CASTOUTS) \ 3299 __PMC_EV(PPC7450, L2SQ_FULL_CYCLES) \ 3300 __PMC_EV(PPC7450, L3SQ_FULL_CYCLES) \ 3301 __PMC_EV(PPC7450, RAQ_FULL_CYCLES) \ 3302 __PMC_EV(PPC7450, WAQ_FULL_CYCLES) \ 3303 __PMC_EV(PPC7450, L1_EXTERNAL_INTERVENTIONS) \ 3304 __PMC_EV(PPC7450, L2_EXTERNAL_INTERVENTIONS) \ 3305 __PMC_EV(PPC7450, L3_EXTERNAL_INTERVENTIONS) \ 3306 __PMC_EV(PPC7450, EXTERNAL_INTERVENTIONS) \ 3307 __PMC_EV(PPC7450, EXTERNAL_PUSHES) \ 3308 __PMC_EV(PPC7450, EXTERNAL_SNOOP_RETRY) \ 3309 __PMC_EV(PPC7450, DTQ_FULL_CYCLES) \ 3310 __PMC_EV(PPC7450, BUS_RETRY) \ 3311 __PMC_EV(PPC7450, L2_VALID_REQUEST) \ 3312 __PMC_EV(PPC7450, BORDQ_FULL) \ 3313 __PMC_EV(PPC7450, BUS_TAS_FOR_READS) \ 3314 __PMC_EV(PPC7450, BUS_TAS_FOR_WRITES) \ 3315 __PMC_EV(PPC7450, BUS_READS_NOT_RETRIED) \ 3316 __PMC_EV(PPC7450, BUS_WRITES_NOT_RETRIED) \ 3317 __PMC_EV(PPC7450, BUS_READS_WRITES_NOT_RETRIED) \ 3318 __PMC_EV(PPC7450, BUS_RETRY_DUE_TO_L1_RETRY) \ 3319 __PMC_EV(PPC7450, BUS_RETRY_DUE_TO_PREVIOUS_ADJACENT) \ 3320 __PMC_EV(PPC7450, BUS_RETRY_DUE_TO_COLLISION) \ 3321 __PMC_EV(PPC7450, BUS_RETRY_DUE_TO_INTERVENTION_ORDERING) \ 3322 __PMC_EV(PPC7450, SNOOP_REQUESTS) \ 3323 __PMC_EV(PPC7450, PREFETCH_ENGINE_REQUEST) \ 3324 __PMC_EV(PPC7450, PREFETCH_ENGINE_COLLISION_VS_LOAD) \ 3325 __PMC_EV(PPC7450, PREFETCH_ENGINE_COLLISION_VS_STORE) \ 3326 __PMC_EV(PPC7450, PREFETCH_ENGINE_COLLISION_VS_INSTR_FETCH) \ 3327 __PMC_EV(PPC7450, PREFETCH_ENGINE_COLLISION_VS_LOAD_STORE_INSTR_FETCH) \ 3328 __PMC_EV(PPC7450, PREFETCH_ENGINE_FULL) 3329 3330#define PMC_EV_PPC7450_FIRST PMC_EV_PPC7450_CYCLE 3331#define PMC_EV_PPC7450_LAST PMC_EV_PPC7450_PREFETCH_ENGINE_FULL 3332 3333/* 3334 * All known PMC events. 3335 * 3336 * PMC event numbers are allocated sparsely to allow new PMC events to 3337 * be added to a PMC class without breaking ABI compatibility. The 3338 * current allocation scheme is: 3339 * 3340 * START #EVENTS DESCRIPTION 3341 * 0 0x1000 Reserved 3342 * 0x1000 0x0001 TSC 3343 * 0x2000 0x0080 AMD K7 events 3344 * 0x2080 0x0100 AMD K8 events 3345 * 0x10000 0x0080 INTEL architectural fixed-function events 3346 * 0x10080 0x0F80 INTEL architectural programmable events 3347 * 0x11000 0x0080 INTEL Pentium 4 events 3348 * 0x11080 0x0080 INTEL Pentium MMX events 3349 * 0x11100 0x0100 INTEL Pentium Pro/P-II/P-III/Pentium-M events 3350 * 0x11200 0x00FF INTEL XScale events 3351 * 0x11300 0x00FF MIPS 24K events 3352 */ 3353#define __PMC_EVENTS() \ 3354 __PMC_EV_BLOCK(TSC, 0x01000) \ 3355 __PMC_EV_TSC() \ 3356 __PMC_EV_BLOCK(K7, 0x2000) \ 3357 __PMC_EV_K7() \ 3358 __PMC_EV_BLOCK(K8, 0x2080) \ 3359 __PMC_EV_K8() \ 3360 __PMC_EV_BLOCK(IAF, 0x10000) \ 3361 __PMC_EV_IAF() \ 3362 __PMC_EV_BLOCK(IAP, 0x10080) \ 3363 __PMC_EV_IAP() \ 3364 __PMC_EV_BLOCK(P4, 0x11000) \ 3365 __PMC_EV_P4() \ 3366 __PMC_EV_BLOCK(P5, 0x11080) \ 3367 __PMC_EV_P5() \ 3368 __PMC_EV_BLOCK(P6, 0x11100) \ 3369 __PMC_EV_P6() \ 3370 __PMC_EV_BLOCK(XSCALE, 0x11200) \ 3371 __PMC_EV_XSCALE() \ 3372 __PMC_EV_BLOCK(MIPS24K, 0x11300) \ 3373 __PMC_EV_MIPS24K() \ 3374 __PMC_EV_BLOCK(UCF, 0x12000) \ 3375 __PMC_EV_UCF() \ 3376 __PMC_EV_BLOCK(UCP, 0x12080) \ 3377 __PMC_EV_UCP() \ 3378 __PMC_EV_BLOCK(PPC7450, 0x13000) \ 3379 __PMC_EV_PPC7450() \ 3380 3381#define PMC_EVENT_FIRST PMC_EV_TSC_TSC 3382#define PMC_EVENT_LAST PMC_EV_UCP_LAST 3383 3384#endif /* _DEV_HWPMC_PMC_EVENTS_H_ */
|