diff options
author | 2022-07-04 21:06:46 +0200 | |
---|---|---|
committer | 2022-07-22 21:36:14 -0400 | |
commit | 49a1a3cf7316e464e559850a965f3826b1562458 (patch) | |
tree | d567a41f12f8f43150e23f26a05ad3a30ca9d15b /tools/perf/scripts/python/stackcollapse.py | |
parent | csky/kprobe: reclaim insn_slot on kprobe unregistration (diff) | |
download | linux-dev-49a1a3cf7316e464e559850a965f3826b1562458.tar.xz linux-dev-49a1a3cf7316e464e559850a965f3826b1562458.zip |
csky: Use the bitmap API to allocate bitmaps
Use bitmap_zalloc()/bitmap_free() instead of hand-writing them.
It is less verbose and it improves the semantic.
While at it, turn a bitmap_clear() into an equivalent bitmap_zero(). It is
also less verbose.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Guo Ren <guoren@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions