aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYury Norov <[email protected]>2022-05-08 07:49:50 -0700
committerYury Norov <[email protected]>2022-06-03 06:52:57 -0700
commit8f51558e8015c1994aee2d8747a60cdcb47aeecd (patch)
treebea9cee50734f3d116c3d2e874a63aacfeba4392 /tools/perf/scripts/python
parent5f8dac3fc7bae246cc666d0df1ba37fc077efc3d (diff)
risc-v: replace bitmap_weight with bitmap_empty in riscv_fill_hwcap()
bitmap_empty() is better than bitmap_weight() because it may return earlier, and improves on readability. CC: Albert Ou <[email protected]> CC: Anup Patel <[email protected]> CC: Atish Patra <[email protected]> CC: Jisheng Zhang <[email protected]> CC: Palmer Dabbelt <[email protected]> CC: Paul Walmsley <[email protected]> CC: Tsukasa OI <[email protected]> CC: [email protected] CC: [email protected] Signed-off-by: Yury Norov <[email protected]> Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions