cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

uncore-cache.json (10698B)


      1[
      2    {
      3        "BriefDescription": "Uncore cache clock ticks",
      4        "Counter": "0,1,2,3",
      5        "EventName": "UNC_C_CLOCKTICKS",
      6        "PerPkg": "1",
      7        "Unit": "CBO"
      8    },
      9    {
     10        "BriefDescription": "All LLC Misses (code+ data rd + data wr - including demand and prefetch)",
     11        "Counter": "0,1",
     12        "EventCode": "0x34",
     13        "EventName": "UNC_C_LLC_LOOKUP.ANY",
     14        "Filter": "filter_state=0x1",
     15        "PerPkg": "1",
     16        "ScaleUnit": "64Bytes",
     17        "UMask": "0x11",
     18        "Unit": "CBO"
     19    },
     20    {
     21        "BriefDescription": "M line evictions from LLC (writebacks to memory)",
     22        "Counter": "0,1",
     23        "EventCode": "0x37",
     24        "EventName": "UNC_C_LLC_VICTIMS.M_STATE",
     25        "PerPkg": "1",
     26        "ScaleUnit": "64Bytes",
     27        "UMask": "0x1",
     28        "Unit": "CBO"
     29    },
     30    {
     31        "BriefDescription": "LLC misses - demand and prefetch data reads - excludes LLC prefetches. Derived from unc_c_tor_inserts.miss_opcode.demand",
     32        "Counter": "0,1",
     33        "EventCode": "0x35",
     34        "EventName": "LLC_MISSES.DATA_READ",
     35        "Filter": "filter_opc=0x182",
     36        "PerPkg": "1",
     37        "ScaleUnit": "64Bytes",
     38        "UMask": "0x3",
     39        "Unit": "CBO"
     40    },
     41    {
     42        "BriefDescription": "LLC misses - Uncacheable reads. Derived from unc_c_tor_inserts.miss_opcode.uncacheable",
     43        "Counter": "0,1",
     44        "EventCode": "0x35",
     45        "EventName": "LLC_MISSES.UNCACHEABLE",
     46        "Filter": "filter_opc=0x187",
     47        "PerPkg": "1",
     48        "ScaleUnit": "64Bytes",
     49        "UMask": "0x3",
     50        "Unit": "CBO"
     51    },
     52    {
     53        "BriefDescription": "LLC prefetch misses for RFO. Derived from unc_c_tor_inserts.miss_opcode.rfo_prefetch",
     54        "Counter": "0,1",
     55        "EventCode": "0x35",
     56        "EventName": "LLC_MISSES.RFO_LLC_PREFETCH",
     57        "Filter": "filter_opc=0x190",
     58        "PerPkg": "1",
     59        "ScaleUnit": "64Bytes",
     60        "UMask": "0x3",
     61        "Unit": "CBO"
     62    },
     63    {
     64        "BriefDescription": "LLC prefetch misses for code reads. Derived from unc_c_tor_inserts.miss_opcode.code",
     65        "Counter": "0,1",
     66        "EventCode": "0x35",
     67        "EventName": "LLC_MISSES.CODE_LLC_PREFETCH",
     68        "Filter": "filter_opc=0x191",
     69        "PerPkg": "1",
     70        "ScaleUnit": "64Bytes",
     71        "UMask": "0x3",
     72        "Unit": "CBO"
     73    },
     74    {
     75        "BriefDescription": "LLC prefetch misses for data reads. Derived from unc_c_tor_inserts.miss_opcode.data_read",
     76        "Counter": "0,1",
     77        "EventCode": "0x35",
     78        "EventName": "LLC_MISSES.DATA_LLC_PREFETCH",
     79        "Filter": "filter_opc=0x192",
     80        "PerPkg": "1",
     81        "ScaleUnit": "64Bytes",
     82        "UMask": "0x3",
     83        "Unit": "CBO"
     84    },
     85    {
     86        "BriefDescription": "PCIe allocating writes that miss LLC - DDIO misses. Derived from unc_c_tor_inserts.miss_opcode.ddio_miss",
     87        "Counter": "0,1",
     88        "EventCode": "0x35",
     89        "EventName": "LLC_MISSES.PCIE_WRITE",
     90        "Filter": "filter_opc=0x19c",
     91        "PerPkg": "1",
     92        "ScaleUnit": "64Bytes",
     93        "UMask": "0x3",
     94        "Unit": "CBO"
     95    },
     96    {
     97        "BriefDescription": "LLC misses for PCIe read current. Derived from unc_c_tor_inserts.miss_opcode.pcie_read",
     98        "Counter": "0,1",
     99        "EventCode": "0x35",
    100        "EventName": "LLC_MISSES.PCIE_READ",
    101        "Filter": "filter_opc=0x19e",
    102        "PerPkg": "1",
    103        "ScaleUnit": "64Bytes",
    104        "UMask": "0x3",
    105        "Unit": "CBO"
    106    },
    107    {
    108        "BriefDescription": "LLC misses for ItoM writes (as part of fast string memcpy stores). Derived from unc_c_tor_inserts.miss_opcode.itom_write",
    109        "Counter": "0,1",
    110        "EventCode": "0x35",
    111        "EventName": "LLC_MISSES.ITOM_WRITE",
    112        "Filter": "filter_opc=0x1c8",
    113        "PerPkg": "1",
    114        "ScaleUnit": "64Bytes",
    115        "UMask": "0x3",
    116        "Unit": "CBO"
    117    },
    118    {
    119        "BriefDescription": "LLC misses for PCIe non-snoop reads. Derived from unc_c_tor_inserts.miss_opcode.pcie_read",
    120        "Counter": "0,1",
    121        "EventCode": "0x35",
    122        "EventName": "LLC_MISSES.PCIE_NON_SNOOP_READ",
    123        "Filter": "filter_opc=0x1e4",
    124        "PerPkg": "1",
    125        "ScaleUnit": "64Bytes",
    126        "UMask": "0x3",
    127        "Unit": "CBO"
    128    },
    129    {
    130        "BriefDescription": "LLC misses for PCIe non-snoop writes (full line). Derived from unc_c_tor_inserts.miss_opcode.pcie_write",
    131        "Counter": "0,1",
    132        "EventCode": "0x35",
    133        "EventName": "LLC_MISSES.PCIE_NON_SNOOP_WRITE",
    134        "Filter": "filter_opc=0x1e6",
    135        "PerPkg": "1",
    136        "ScaleUnit": "64Bytes",
    137        "UMask": "0x3",
    138        "Unit": "CBO"
    139    },
    140    {
    141        "BriefDescription": "Streaming stores (full cache line). Derived from unc_c_tor_inserts.opcode.streaming_full",
    142        "Counter": "0,1",
    143        "EventCode": "0x35",
    144        "EventName": "LLC_REFERENCES.STREAMING_FULL",
    145        "Filter": "filter_opc=0x18c",
    146        "PerPkg": "1",
    147        "ScaleUnit": "64Bytes",
    148        "UMask": "0x1",
    149        "Unit": "CBO"
    150    },
    151    {
    152        "BriefDescription": "Streaming stores (partial cache line). Derived from unc_c_tor_inserts.opcode.streaming_partial",
    153        "Counter": "0,1",
    154        "EventCode": "0x35",
    155        "EventName": "LLC_REFERENCES.STREAMING_PARTIAL",
    156        "Filter": "filter_opc=0x18d",
    157        "PerPkg": "1",
    158        "ScaleUnit": "64Bytes",
    159        "UMask": "0x1",
    160        "Unit": "CBO"
    161    },
    162    {
    163        "BriefDescription": "Partial PCIe reads. Derived from unc_c_tor_inserts.opcode.pcie_partial",
    164        "Counter": "0,1",
    165        "EventCode": "0x35",
    166        "EventName": "LLC_REFERENCES.PCIE_PARTIAL_READ",
    167        "Filter": "filter_opc=0x195",
    168        "PerPkg": "1",
    169        "ScaleUnit": "64Bytes",
    170        "UMask": "0x1",
    171        "Unit": "CBO"
    172    },
    173    {
    174        "BriefDescription": "PCIe allocating writes that hit in LLC (DDIO hits). Derived from unc_c_tor_inserts.opcode.ddio_hit",
    175        "Counter": "0,1",
    176        "EventCode": "0x35",
    177        "EventName": "LLC_REFERENCES.PCIE_WRITE",
    178        "Filter": "filter_opc=0x19c",
    179        "PerPkg": "1",
    180        "ScaleUnit": "64Bytes",
    181        "UMask": "0x1",
    182        "Unit": "CBO"
    183    },
    184    {
    185        "BriefDescription": "PCIe read current. Derived from unc_c_tor_inserts.opcode.pcie_read_current",
    186        "Counter": "0,1",
    187        "EventCode": "0x35",
    188        "EventName": "LLC_REFERENCES.PCIE_READ",
    189        "Filter": "filter_opc=0x19e",
    190        "PerPkg": "1",
    191        "ScaleUnit": "64Bytes",
    192        "UMask": "0x1",
    193        "Unit": "CBO"
    194    },
    195    {
    196        "BriefDescription": "ItoM write hits (as part of fast string memcpy stores). Derived from unc_c_tor_inserts.opcode.itom_write_hit",
    197        "Counter": "0,1",
    198        "EventCode": "0x35",
    199        "EventName": "LLC_REFERENCES.ITOM_WRITE",
    200        "Filter": "filter_opc=0x1c8",
    201        "PerPkg": "1",
    202        "ScaleUnit": "64Bytes",
    203        "UMask": "0x1",
    204        "Unit": "CBO"
    205    },
    206    {
    207        "BriefDescription": "PCIe non-snoop reads. Derived from unc_c_tor_inserts.opcode.pcie_read",
    208        "Counter": "0,1",
    209        "EventCode": "0x35",
    210        "EventName": "LLC_REFERENCES.PCIE_NS_READ",
    211        "Filter": "filter_opc=0x1e4",
    212        "PerPkg": "1",
    213        "ScaleUnit": "64Bytes",
    214        "UMask": "0x1",
    215        "Unit": "CBO"
    216    },
    217    {
    218        "BriefDescription": "PCIe non-snoop writes (partial). Derived from unc_c_tor_inserts.opcode.pcie_partial_write",
    219        "Counter": "0,1",
    220        "EventCode": "0x35",
    221        "EventName": "LLC_REFERENCES.PCIE_NS_PARTIAL_WRITE",
    222        "Filter": "filter_opc=0x1e5",
    223        "PerPkg": "1",
    224        "ScaleUnit": "64Bytes",
    225        "UMask": "0x1",
    226        "Unit": "CBO"
    227    },
    228    {
    229        "BriefDescription": "PCIe non-snoop writes (full line). Derived from unc_c_tor_inserts.opcode.pcie_full_write",
    230        "Counter": "0,1",
    231        "EventCode": "0x35",
    232        "EventName": "LLC_REFERENCES.PCIE_NS_WRITE",
    233        "Filter": "filter_opc=0x1e6",
    234        "PerPkg": "1",
    235        "ScaleUnit": "64Bytes",
    236        "UMask": "0x1",
    237        "Unit": "CBO"
    238    },
    239    {
    240        "BriefDescription": "Occupancy for all LLC misses that are addressed to local memory",
    241        "EventCode": "0x36",
    242        "EventName": "UNC_C_TOR_OCCUPANCY.MISS_LOCAL",
    243        "PerPkg": "1",
    244        "UMask": "0x2A",
    245        "Unit": "CBO"
    246    },
    247    {
    248        "BriefDescription": "Occupancy counter for LLC data reads (demand and L2 prefetch). Derived from unc_c_tor_occupancy.miss_opcode.llc_data_read",
    249        "EventCode": "0x36",
    250        "EventName": "UNC_C_TOR_OCCUPANCY.LLC_DATA_READ",
    251        "Filter": "filter_opc=0x182",
    252        "PerPkg": "1",
    253        "UMask": "0x3",
    254        "Unit": "CBO"
    255    },
    256    {
    257        "BriefDescription": "Occupancy for all LLC misses that are addressed to remote memory",
    258        "EventCode": "0x36",
    259        "EventName": "UNC_C_TOR_OCCUPANCY.MISS_REMOTE",
    260        "PerPkg": "1",
    261        "UMask": "0x8A",
    262        "Unit": "CBO"
    263    },
    264    {
    265        "BriefDescription": "Read requests to home agent",
    266        "Counter": "0,1,2,3",
    267        "EventCode": "0x1",
    268        "EventName": "UNC_H_REQUESTS.READS",
    269        "PerPkg": "1",
    270        "UMask": "0x3",
    271        "Unit": "HA"
    272    },
    273    {
    274        "BriefDescription": "Write requests to home agent",
    275        "Counter": "0,1,2,3",
    276        "EventCode": "0x1",
    277        "EventName": "UNC_H_REQUESTS.WRITES",
    278        "PerPkg": "1",
    279        "UMask": "0xC",
    280        "Unit": "HA"
    281    },
    282    {
    283        "BriefDescription": "M line forwarded from remote cache along with writeback to memory",
    284        "Counter": "0,1,2,3",
    285        "EventCode": "0x21",
    286        "EventName": "UNC_H_SNOOP_RESP.RSP_FWD_WB",
    287        "PerPkg": "1",
    288        "ScaleUnit": "64Bytes",
    289        "UMask": "0x20",
    290        "Unit": "HA"
    291    },
    292    {
    293        "BriefDescription": "M line forwarded from remote cache with no writeback to memory",
    294        "Counter": "0,1,2,3",
    295        "EventCode": "0x21",
    296        "EventName": "UNC_H_SNOOP_RESP.RSPIFWD",
    297        "PerPkg": "1",
    298        "ScaleUnit": "64Bytes",
    299        "UMask": "0x4",
    300        "Unit": "HA"
    301    },
    302    {
    303        "BriefDescription": "Shared line response from remote cache",
    304        "Counter": "0,1,2,3",
    305        "EventCode": "0x21",
    306        "EventName": "UNC_H_SNOOP_RESP.RSPS",
    307        "PerPkg": "1",
    308        "ScaleUnit": "64Bytes",
    309        "UMask": "0x2",
    310        "Unit": "HA"
    311    },
    312    {
    313        "BriefDescription": "Shared line forwarded from remote cache",
    314        "Counter": "0,1,2,3",
    315        "EventCode": "0x21",
    316        "EventName": "UNC_H_SNOOP_RESP.RSPSFWD",
    317        "PerPkg": "1",
    318        "ScaleUnit": "64Bytes",
    319        "UMask": "0x8",
    320        "Unit": "HA"
    321    }
    322]