mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 23:46:45 +00: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-22-irogers@google.com
66 lines
2.6 KiB
JSON
66 lines
2.6 KiB
JSON
[
|
|
{
|
|
"BriefDescription": "Counts the number of load micro-ops retired that cause a DTLB miss (Precise Event)",
|
|
"Counter": "0,1",
|
|
"Data_LA": "1",
|
|
"EventCode": "0x04",
|
|
"EventName": "MEM_UOPS_RETIRED.DTLB_MISS_LOADS",
|
|
"PEBS": "1",
|
|
"SampleAfterValue": "200003",
|
|
"UMask": "0x8"
|
|
},
|
|
{
|
|
"BriefDescription": "Counts the total number of core cycles for all the page walks. The cycles for page walks started in speculative path will also be included.",
|
|
"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.",
|
|
"SampleAfterValue": "200003",
|
|
"UMask": "0x3"
|
|
},
|
|
{
|
|
"BriefDescription": "Counts the total number of core cycles for all the D-side page walks. The cycles for page walks started in speculative path will also be included.",
|
|
"Counter": "0,1",
|
|
"EventCode": "0x05",
|
|
"EventName": "PAGE_WALKS.D_SIDE_CYCLES",
|
|
"SampleAfterValue": "200003",
|
|
"UMask": "0x1"
|
|
},
|
|
{
|
|
"BriefDescription": "Counts the total D-side page walks that are completed or started. The page walks started in the speculative path will also be counted",
|
|
"Counter": "0,1",
|
|
"EdgeDetect": "1",
|
|
"EventCode": "0x05",
|
|
"EventName": "PAGE_WALKS.D_SIDE_WALKS",
|
|
"SampleAfterValue": "100003",
|
|
"UMask": "0x1"
|
|
},
|
|
{
|
|
"BriefDescription": "Counts the total number of core cycles for all the I-side page walks. The cycles for page walks started in speculative path will also be included.",
|
|
"Counter": "0,1",
|
|
"EventCode": "0x05",
|
|
"EventName": "PAGE_WALKS.I_SIDE_CYCLES",
|
|
"PublicDescription": "This event counts every cycle when an I-side (walks due to an instruction fetch) page walk is in progress.",
|
|
"SampleAfterValue": "200003",
|
|
"UMask": "0x2"
|
|
},
|
|
{
|
|
"BriefDescription": "Counts the total I-side page walks that are completed.",
|
|
"Counter": "0,1",
|
|
"EdgeDetect": "1",
|
|
"EventCode": "0x05",
|
|
"EventName": "PAGE_WALKS.I_SIDE_WALKS",
|
|
"SampleAfterValue": "100003",
|
|
"UMask": "0x2"
|
|
},
|
|
{
|
|
"BriefDescription": "Counts the total page walks that are completed (I-side and D-side)",
|
|
"Counter": "0,1",
|
|
"EdgeDetect": "1",
|
|
"EventCode": "0x05",
|
|
"EventName": "PAGE_WALKS.WALKS",
|
|
"SampleAfterValue": "100003",
|
|
"UMask": "0x3"
|
|
}
|
|
]
|