mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-08-22 00:42:01 +02:00

Add counter information necessary for optimizing event grouping the
perf tool.
The most recent RFC patch set using this information:
https://lore.kernel.org/lkml/20240412210756.309828-1-weilin.wang@intel.com/
The information was added in:
475892a969
and later patches.
Co-authored-by: Weilin Wang <weilin.wang@intel.com>
Co-authored-by: Caleb Biggers <caleb.biggers@intel.com>
Signed-off-by: Ian Rogers <irogers@google.com>
Reviewed-by: Kan Liang <kan.liang@linux.intel.com>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240620181752.3945845-31-irogers@google.com
70 lines
3.2 KiB
JSON
70 lines
3.2 KiB
JSON
[
|
|
{
|
|
"BriefDescription": "Loads missed DTLB",
|
|
"Counter": "0,1",
|
|
"EventCode": "0x04",
|
|
"EventName": "MEM_UOPS_RETIRED.DTLB_MISS_LOADS",
|
|
"PEBS": "1",
|
|
"PublicDescription": "This event counts the number of load ops retired that had DTLB miss.",
|
|
"SampleAfterValue": "200003",
|
|
"UMask": "0x8"
|
|
},
|
|
{
|
|
"BriefDescription": "Total cycles for all the page walks. (I-side and D-side)",
|
|
"Counter": "0,1",
|
|
"EventCode": "0x05",
|
|
"EventName": "PAGE_WALKS.CYCLES",
|
|
"PublicDescription": "This event counts every cycle when a data (D) page walk or instruction (I) page walk is in progress. Since a pagewalk implies a TLB miss, the approximate cost of a TLB miss can be determined from this event.",
|
|
"SampleAfterValue": "200003",
|
|
"UMask": "0x3"
|
|
},
|
|
{
|
|
"BriefDescription": "Duration of D-side page-walks in core cycles",
|
|
"Counter": "0,1",
|
|
"EventCode": "0x05",
|
|
"EventName": "PAGE_WALKS.D_SIDE_CYCLES",
|
|
"PublicDescription": "This event counts every cycle when a D-side (walks due to a load) page walk is in progress. Page walk duration divided by number of page walks is the average duration of page-walks.",
|
|
"SampleAfterValue": "200003",
|
|
"UMask": "0x1"
|
|
},
|
|
{
|
|
"BriefDescription": "D-side page-walks",
|
|
"Counter": "0,1",
|
|
"EdgeDetect": "1",
|
|
"EventCode": "0x05",
|
|
"EventName": "PAGE_WALKS.D_SIDE_WALKS",
|
|
"PublicDescription": "This event counts when a data (D) page walk is completed or started. Since a page walk implies a TLB miss, the number of TLB misses can be counted by counting the number of pagewalks.",
|
|
"SampleAfterValue": "100003",
|
|
"UMask": "0x1"
|
|
},
|
|
{
|
|
"BriefDescription": "Duration of I-side page-walks in core cycles",
|
|
"Counter": "0,1",
|
|
"EventCode": "0x05",
|
|
"EventName": "PAGE_WALKS.I_SIDE_CYCLES",
|
|
"PublicDescription": "This event counts every cycle when a I-side (walks due to an instruction fetch) page walk is in progress. Page walk duration divided by number of page walks is the average duration of page-walks.",
|
|
"SampleAfterValue": "200003",
|
|
"UMask": "0x2"
|
|
},
|
|
{
|
|
"BriefDescription": "I-side page-walks",
|
|
"Counter": "0,1",
|
|
"EdgeDetect": "1",
|
|
"EventCode": "0x05",
|
|
"EventName": "PAGE_WALKS.I_SIDE_WALKS",
|
|
"PublicDescription": "This event counts when an instruction (I) page walk is completed or started. Since a page walk implies a TLB miss, the number of TLB misses can be counted by counting the number of pagewalks.",
|
|
"SampleAfterValue": "100003",
|
|
"UMask": "0x2"
|
|
},
|
|
{
|
|
"BriefDescription": "Total page walks that are completed (I-side and D-side)",
|
|
"Counter": "0,1",
|
|
"EdgeDetect": "1",
|
|
"EventCode": "0x05",
|
|
"EventName": "PAGE_WALKS.WALKS",
|
|
"PublicDescription": "This event counts when a data (D) page walk or an instruction (I) page walk is completed or started. Since a page walk implies a TLB miss, the number of TLB misses can be counted by counting the number of pagewalks.",
|
|
"SampleAfterValue": "100003",
|
|
"UMask": "0x3"
|
|
}
|
|
]
|