diff options
author | Ravi Bangoria <ravi.bangoria@amd.com> | 2025-02-05 06:05:41 +0000 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2025-02-17 15:20:05 +0100 |
commit | d20610c19b4a22bc69085b7eb7a02741d51de30e (patch) | |
tree | 4ac633ee871942b84260d7cb351e457dfbd6bc05 /scripts/lib/kdoc/kdoc_parser.py | |
parent | 1623ced247f7cb1b48a27cca6b0f17fe5ab5942b (diff) |
perf/amd/ibs: Add support for OP Load Latency Filtering
IBS Op PMU on Zen5 uarch added new Load Latency filtering capability. It's
advertised by CPUID_Fn8000001B_EAX bit 12. When enabled, IBS HW will raise
interrupt only for sample that had an IbsDcMissLat value greater than N
cycles, where N is a programmable value defined as multiples of 128 (i.e.
128, 256, 384 etc.) from 128-2048 cycles. Similar to L3MissOnly, IBS HW
internally drops the sample and restarts if the sample does not meet the
filtering criteria.
Add support for LdLat filtering in IBS Op PMU. Since hardware supports
threshold in multiple of 128, add a software filter on top to support
latency threshold with the granularity of 1 cycle between [128-2048].
Example usage:
# perf record -a -e ibs_op/ldlat=128/ -- sleep 5
Signed-off-by: Ravi Bangoria <ravi.bangoria@amd.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20250205060547.1337-2-ravi.bangoria@amd.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions