1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267
|
/*
* Copyright (c) 2014 Google Inc. All rights reserved
* Contributed by Stephane Eranian <eranian@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
* of the Software, and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
* INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
* PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
* OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* This file is part of libpfm, a performance monitoring support library for
* applications on Linux.
*
* This file has been automatically generated.
*
* PMU: ivbep_unc_irp (Intel IvyBridge-EP IRP uncore)
*/
static const intel_x86_umask_t ivbep_unc_i_address_match[]={
{ .uname = "STALL_COUNT",
.udesc = "Number of time when it is not possible to merge two conflicting requests, a stall event occurs",
.ucode = 0x100,
},
{ .uname = "MERGE_COUNT",
.udesc = "Number of times when two requests to the same address from the same source are received back to back, it is possible to merge them",
.ucode = 0x200,
},
};
static const intel_x86_umask_t ivbep_unc_i_cache_ack_pending_occupancy[]={
{ .uname = "ANY",
.udesc = "Any source",
.ucode = 0x100,
.uflags = INTEL_X86_NCOMBO | INTEL_X86_DFL,
},
{ .uname = "SOURCE",
.udesc = "Track all requests from any source port",
.ucode = 0x200,
},
};
static const intel_x86_umask_t ivbep_unc_i_tickles[]={
{ .uname = "LOST_OWNERSHIP",
.udesc = "Number of request that lost ownership as a result of a tickle",
.ucode = 0x100,
},
{ .uname = "TOP_OF_QUEUE",
.udesc = "Number of cases when a tickle was received but the request was at the head of the queue in the switch. In this case data is returned rather than releasing ownership",
.ucode = 0x200,
},
};
static const intel_x86_umask_t ivbep_unc_i_transactions[]={
{ .uname = "READS",
.udesc = "Number of read requests (not including read prefetches)",
.ucode = 0x100,
},
{ .uname = "WRITES",
.udesc = "Number of write requests. Each write should have a prefetch, so there is no need to explicitly track these requests",
.ucode = 0x200,
},
{ .uname = "RD_PREFETCHES",
.udesc = "Number of read prefetches",
.ucode = 0x400,
},
};
static const intel_x86_entry_t intel_ivbep_unc_i_pe[]={
{ .name = "UNC_I_CLOCKTICKS",
.desc = "Number of uclks in domain",
.code = 0x0,
.cntmsk = 0x3,
.modmsk = SNBEP_UNC_IRP_ATTRS,
},
{ .name = "UNC_I_ADDRESS_MATCH",
.desc = "Address match conflict count",
.code = 0x17,
.cntmsk = 0x3,
.ngrp = 1,
.modmsk = SNBEP_UNC_IRP_ATTRS,
.numasks = LIBPFM_ARRAY_SIZE(ivbep_unc_i_address_match),
.umasks = ivbep_unc_i_address_match
},
{ .name = "UNC_I_CACHE_ACK_PENDING_OCCUPANCY",
.desc = "Write ACK pending occupancy",
.code = 0x14,
.cntmsk = 0x3,
.ngrp = 1,
.modmsk = SNBEP_UNC_IRP_ATTRS,
.numasks = LIBPFM_ARRAY_SIZE(ivbep_unc_i_cache_ack_pending_occupancy),
.umasks = ivbep_unc_i_cache_ack_pending_occupancy
},
{ .name = "UNC_I_CACHE_OWN_OCCUPANCY",
.desc = "Outstanding write ownership occupancy",
.code = 0x13,
.cntmsk = 0x3,
.ngrp = 1,
.modmsk = SNBEP_UNC_IRP_ATTRS,
.numasks = LIBPFM_ARRAY_SIZE(ivbep_unc_i_cache_ack_pending_occupancy),
.umasks = ivbep_unc_i_cache_ack_pending_occupancy /* shared */
},
{ .name = "UNC_I_CACHE_READ_OCCUPANCY",
.desc = "Outstanding read occupancy",
.code = 0x10,
.cntmsk = 0x3,
.ngrp = 1,
.modmsk = SNBEP_UNC_IRP_ATTRS,
.numasks = LIBPFM_ARRAY_SIZE(ivbep_unc_i_cache_ack_pending_occupancy),
.umasks = ivbep_unc_i_cache_ack_pending_occupancy /* shared */
},
{ .name = "UNC_I_CACHE_TOTAL_OCCUPANCY",
.desc = "Total write cache occupancy",
.code = 0x12,
.cntmsk = 0x3,
.ngrp = 1,
.modmsk = SNBEP_UNC_IRP_ATTRS,
.numasks = LIBPFM_ARRAY_SIZE(ivbep_unc_i_cache_ack_pending_occupancy),
.umasks = ivbep_unc_i_cache_ack_pending_occupancy /* shared */
},
{ .name = "UNC_I_CACHE_WRITE_OCCUPANCY",
.desc = "Outstanding write occupancy",
.code = 0x11,
.cntmsk = 0x3,
.ngrp = 1,
.modmsk = SNBEP_UNC_IRP_ATTRS,
.numasks = LIBPFM_ARRAY_SIZE(ivbep_unc_i_cache_ack_pending_occupancy),
.umasks = ivbep_unc_i_cache_ack_pending_occupancy /* shared */
},
{ .name = "UNC_I_RXR_AK_CYCLES_FULL",
.desc = "TBD",
.code = 0xb,
.cntmsk = 0x3,
.modmsk = SNBEP_UNC_IRP_ATTRS,
},
{ .name = "UNC_I_RXR_AK_INSERTS",
.desc = "Egress cycles full",
.code = 0xa,
.cntmsk = 0x3,
.modmsk = SNBEP_UNC_IRP_ATTRS,
},
{ .name = "UNC_I_RXR_AK_OCCUPANCY",
.desc = "TBD",
.code = 0x0c,
.cntmsk = 0x3,
.modmsk = SNBEP_UNC_IRP_ATTRS,
},
{ .name = "UNC_I_RXR_BL_DRS_CYCLES_FULL",
.desc = "TBD",
.code = 0x4,
.cntmsk = 0x3,
.modmsk = SNBEP_UNC_IRP_ATTRS,
},
{ .name = "UNC_I_RXR_BL_DRS_INSERTS",
.desc = "BL Ingress occupancy DRS",
.code = 0x1,
.cntmsk = 0x3,
.modmsk = SNBEP_UNC_IRP_ATTRS,
},
{ .name = "UNC_I_RXR_BL_DRS_OCCUPANCY",
.desc = "TBD",
.code = 0x7,
.cntmsk = 0x3,
.modmsk = SNBEP_UNC_IRP_ATTRS,
},
{ .name = "UNC_I_RXR_BL_NCB_CYCLES_FULL",
.desc = "TBD",
.code = 0x5,
.cntmsk = 0x3,
.modmsk = SNBEP_UNC_IRP_ATTRS,
},
{ .name = "UNC_I_RXR_BL_NCB_INSERTS",
.desc = "BL Ingress occupancy NCB",
.code = 0x2,
.cntmsk = 0x3,
.modmsk = SNBEP_UNC_IRP_ATTRS,
},
{ .name = "UNC_I_RXR_BL_NCB_OCCUPANCY",
.desc = "TBD",
.code = 0x8,
.cntmsk = 0x3,
.modmsk = SNBEP_UNC_IRP_ATTRS,
},
{ .name = "UNC_I_RXR_BL_NCS_CYCLES_FULL",
.desc = "TBD",
.code = 0x6,
.cntmsk = 0x3,
.modmsk = SNBEP_UNC_IRP_ATTRS,
},
{ .name = "UNC_I_RXR_BL_NCS_INSERTS",
.desc = "BL Ingress Occupancy NCS",
.code = 0x3,
.cntmsk = 0x3,
.modmsk = SNBEP_UNC_IRP_ATTRS,
},
{ .name = "UNC_I_RXR_BL_NCS_OCCUPANCY",
.desc = "TBD",
.code = 0x9,
.cntmsk = 0x3,
.modmsk = SNBEP_UNC_IRP_ATTRS,
},
{ .name = "UNC_I_TICKLES",
.desc = "Tickle count",
.code = 0x16,
.cntmsk = 0x3,
.ngrp = 1,
.modmsk = SNBEP_UNC_IRP_ATTRS,
.numasks = LIBPFM_ARRAY_SIZE(ivbep_unc_i_tickles),
.umasks = ivbep_unc_i_tickles
},
{ .name = "UNC_I_TRANSACTIONS",
.desc = "Inbound transaction count",
.code = 0x15,
.cntmsk = 0x3,
.ngrp = 1,
.modmsk = SNBEP_UNC_IRP_ATTRS,
.numasks = LIBPFM_ARRAY_SIZE(ivbep_unc_i_transactions),
.umasks = ivbep_unc_i_transactions
},
{ .name = "UNC_I_TXR_AD_STALL_CREDIT_CYCLES",
.desc = "No AD Egress credit stalls",
.code = 0x18,
.cntmsk = 0x3,
.modmsk = SNBEP_UNC_IRP_ATTRS,
},
{ .name = "UNC_I_TXR_BL_STALL_CREDIT_CYCLES",
.desc = "No BL Egress credit stalls",
.code = 0x19,
.cntmsk = 0x3,
.modmsk = SNBEP_UNC_IRP_ATTRS,
},
{ .name = "UNC_I_TXR_DATA_INSERTS_NCB",
.desc = "Outbound read requests",
.code = 0xe,
.cntmsk = 0x3,
.modmsk = SNBEP_UNC_IRP_ATTRS,
},
{ .name = "UNC_I_TXR_DATA_INSERTS_NCS",
.desc = "Outbound read requests",
.code = 0xf,
.cntmsk = 0x3,
.modmsk = SNBEP_UNC_IRP_ATTRS,
},
{ .name = "UNC_I_TXR_REQUEST_OCCUPANCY",
.desc = "Outbound request queue occupancy",
.code = 0xd,
.cntmsk = 0x3,
.modmsk = SNBEP_UNC_IRP_ATTRS,
},
{ .name = "UNC_I_WRITE_ORDERING_STALL_CYCLES",
.desc = "Write ordering stalls",
.code = 0x1a,
.cntmsk = 0x3,
.modmsk = SNBEP_UNC_IRP_ATTRS,
},
};
|