diff options
| author | James Morse <james.morse@arm.com> | 2026-03-13 14:46:07 +0000 |
|---|---|---|
| committer | James Morse <james.morse@arm.com> | 2026-03-27 15:31:50 +0000 |
| commit | fb56b29932ca276df268806ad52ed80f40f99a6e (patch) | |
| tree | 2b77a72941d6af39eab873ce1cc45ef4164c1da1 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 2a3c79c61539779a09928893518c8286d7774b54 (diff) | |
arm_mpam: resctrl: Add resctrl_arch_rmid_read()
resctrl uses resctrl_arch_rmid_read() to read counters. CDP emulation means
the counter may need reading in three different ways.
The helpers behind the resctrl_arch_ functions will be re-used for the ABMC
equivalent functions.
Add the rounding helper for checking monitor values while we're here.
Tested-by: Gavin Shan <gshan@redhat.com>
Tested-by: Shaopeng Tan <tan.shaopeng@jp.fujitsu.com>
Tested-by: Peter Newman <peternewman@google.com>
Tested-by: Zeng Heng <zengheng4@huawei.com>
Tested-by: Jesse Chick <jessechick@os.amperecomputing.com>
Reviewed-by: Shaopeng Tan <tan.shaopeng@jp.fujitsu.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Co-developed-by: Ben Horgan <ben.horgan@arm.com>
Signed-off-by: Ben Horgan <ben.horgan@arm.com>
Signed-off-by: James Morse <james.morse@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
