diff options
author | Atish Patra <[email protected]> | 2024-04-20 08:17:24 -0700 |
---|---|---|
committer | Anup Patel <[email protected]> | 2024-04-22 11:13:58 +0530 |
commit | b994cdfcdf7b9681d3986538d0aa37835cc0a285 (patch) | |
tree | 824e192c5909f00b89dc88c7cac465a58e8c1582 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b737fc24a12ceb6c393d9d68def6a6608fdf11cc (diff) |
drivers/perf: riscv: Fix counter mask iteration for RV32
For RV32, used_hw_ctrs can have more than 1 word if the firmware chooses
to interleave firmware/hardware counters indicies. Even though it's a
unlikely scenario, handle that case by iterating over all the words
instead of just using the first word.
Reviewed-by: Andrew Jones <[email protected]>
Acked-by: Palmer Dabbelt <[email protected]>
Signed-off-by: Atish Patra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions