tools/perf/pmu-events/arch/x86/ivytown/uncore-cache.json

Source file repositories/reference/linux-study-clean/tools/perf/pmu-events/arch/x86/ivytown/uncore-cache.json

File Facts

System
Linux kernel
Corpus path
tools/perf/pmu-events/arch/x86/ivytown/uncore-cache.json
Extension
.json
Size
220788 bytes
Lines
3447
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

[
    {
        "BriefDescription": "Uncore Clocks",
        "Counter": "0,1,2,3",
        "EventName": "UNC_C_CLOCKTICKS",
        "PerPkg": "1",
        "Unit": "CBOX"
    },
    {
        "BriefDescription": "Counter 0 Occupancy",
        "Counter": "1,2,3",
        "EventCode": "0x1f",
        "EventName": "UNC_C_COUNTER0_OCCUPANCY",
        "PerPkg": "1",
        "PublicDescription": "Since occupancy counts can only be captured in the Cbo's 0 counter, this event allows a user to capture occupancy related information by filtering the Cb0 occupancy count captured in Counter 0.   The filtering available is found in the control register - threshold, invert and edge detect.   E.g. setting threshold to 1 can effectively monitor how many cycles the monitored queue has an entry.",
        "Unit": "CBOX"
    },
    {
        "BriefDescription": "Cache Lookups; Any Request",
        "Counter": "0,1",
        "EventCode": "0x34",
        "EventName": "UNC_C_LLC_LOOKUP.ANY",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2.  This has numerous filters available.  Note the non-standard filtering equation.  This event will count requests that lookup the cache multiple times with multiple increments.  One must ALWAYS set filter mask bit 0 and select a state or states to match.  Otherwise, the event will count nothing.   CBoGlCtrl[22:17] bits correspond to [M'FMESI] state.; Filters for any transaction originating from the IPQ or IRQ.  This does not include lookups originating from the ISMQ.",
        "UMask": "0x11",
        "Unit": "CBOX"
    },
    {
        "BriefDescription": "Cache Lookups; Data Read Request",
        "Counter": "0,1",
        "EventCode": "0x34",
        "EventName": "UNC_C_LLC_LOOKUP.DATA_READ",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2.  This has numerous filters available.  Note the non-standard filtering equation.  This event will count requests that lookup the cache multiple times with multiple increments.  One must ALWAYS set filter mask bit 0 and select a state or states to match.  Otherwise, the event will count nothing.   CBoGlCtrl[22:17] bits correspond to [M'FMESI] state.; Read transactions",
        "UMask": "0x3",
        "Unit": "CBOX"
    },
    {
        "BriefDescription": "Cache Lookups; Lookups that Match NID",
        "Counter": "0,1",
        "EventCode": "0x34",
        "EventName": "UNC_C_LLC_LOOKUP.NID",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2.  This has numerous filters available.  Note the non-standard filtering equation.  This event will count requests that lookup the cache multiple times with multiple increments.  One must ALWAYS set filter mask bit 0 and select a state or states to match.  Otherwise, the event will count nothing.   CBoGlCtrl[22:17] bits correspond to [M'FMESI] state.; Qualify one of the other subevents by the Target NID.  The NID is programmed in Cn_MSR_PMON_BOX_FILTER.nid.   In conjunction with STATE = I, it is possible to monitor misses to specific NIDs in the system.",
        "UMask": "0x41",
        "Unit": "CBOX"
    },
    {
        "BriefDescription": "Cache Lookups; External Snoop Request",
        "Counter": "0,1",
        "EventCode": "0x34",
        "EventName": "UNC_C_LLC_LOOKUP.REMOTE_SNOOP",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2.  This has numerous filters available.  Note the non-standard filtering equation.  This event will count requests that lookup the cache multiple times with multiple increments.  One must ALWAYS set filter mask bit 0 and select a state or states to match.  Otherwise, the event will count nothing.   CBoGlCtrl[22:17] bits correspond to [M'FMESI] state.; Filters for only snoop requests coming from the remote socket(s) through the IPQ.",
        "UMask": "0x9",
        "Unit": "CBOX"
    },
    {
        "BriefDescription": "Cache Lookups; Write Requests",
        "Counter": "0,1",
        "EventCode": "0x34",
        "EventName": "UNC_C_LLC_LOOKUP.WRITE",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2.  This has numerous filters available.  Note the non-standard filtering equation.  This event will count requests that lookup the cache multiple times with multiple increments.  One must ALWAYS set filter mask bit 0 and select a state or states to match.  Otherwise, the event will count nothing.   CBoGlCtrl[22:17] bits correspond to [M'FMESI] state.; Writeback transactions from L2 to the LLC  This includes all write transactions -- both Cacheable and UC.",
        "UMask": "0x5",
        "Unit": "CBOX"
    },
    {
        "BriefDescription": "Lines Victimized; Lines in E state",
        "Counter": "0,1",

Annotation

Implementation Notes