diff options
author | Marco Elver <[email protected]> | 2022-08-29 14:47:17 +0200 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2022-08-30 10:56:24 +0200 |
commit | 16db2839a5a59c242df77308cf57342ce0c3768e (patch) | |
tree | a48378cfa04fdf7ae5ed6a9d2e101d2f346f3440 /tools/perf/scripts/python/powerpc-hcalls.py | |
parent | 0912037fec1136d4e4796a3481f4a4ee09a2c325 (diff) |
perf/hw_breakpoint: Introduce bp_slots_histogram
Factor out the existing `atomic_t count[N]` into its own struct called
'bp_slots_histogram', to generalize and make its intent clearer in
preparation of reusing elsewhere. The basic idea of bucketing "total
uses of N slots" resembles a histogram, so calling it such seems most
intuitive.
No functional change.
Signed-off-by: Marco Elver <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Dmitry Vyukov <[email protected]>
Acked-by: Ian Rogers <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions