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-15-irogers@google.com
40 lines
1.4 KiB
JSON
40 lines
1.4 KiB
JSON
[
|
|
{
|
|
"BriefDescription": "Unhalted core cycles when the thread is in ring 0",
|
|
"Counter": "0,1,2,3",
|
|
"EventCode": "0x5C",
|
|
"EventName": "CPL_CYCLES.RING0",
|
|
"PublicDescription": "Unhalted core cycles when the thread is in ring 0.",
|
|
"SampleAfterValue": "2000003",
|
|
"UMask": "0x1"
|
|
},
|
|
{
|
|
"BriefDescription": "Number of intervals between processor halts while thread is in ring 0.",
|
|
"Counter": "0,1,2,3",
|
|
"CounterMask": "1",
|
|
"EdgeDetect": "1",
|
|
"EventCode": "0x5C",
|
|
"EventName": "CPL_CYCLES.RING0_TRANS",
|
|
"SampleAfterValue": "100003",
|
|
"UMask": "0x1"
|
|
},
|
|
{
|
|
"BriefDescription": "Unhalted core cycles when thread is in rings 1, 2, or 3",
|
|
"Counter": "0,1,2,3",
|
|
"EventCode": "0x5C",
|
|
"EventName": "CPL_CYCLES.RING123",
|
|
"PublicDescription": "Unhalted core cycles when the thread is not in ring 0.",
|
|
"SampleAfterValue": "2000003",
|
|
"UMask": "0x2"
|
|
},
|
|
{
|
|
"BriefDescription": "Cycles when L1 and L2 are locked due to UC or split lock",
|
|
"Counter": "0,1,2,3",
|
|
"EventCode": "0x63",
|
|
"EventName": "LOCK_CYCLES.SPLIT_LOCK_UC_LOCK_DURATION",
|
|
"PublicDescription": "Cycles in which the L1D and L2 are locked, due to a UC lock or split lock.",
|
|
"SampleAfterValue": "2000003",
|
|
"UMask": "0x1"
|
|
}
|
|
]
|