diff options
author | 2022-05-10 11:51:59 -0700 | |
---|---|---|
committer | 2022-05-11 14:06:29 +0200 | |
commit | 5eefe17c7ae41bac4d2d281669e8357a10f4d5a4 (patch) | |
tree | 776c3ef83ae05684faf8d6c1d50355f0a96bf4a2 /tools/perf/scripts/python/stackcollapse.py | |
parent | Merge branch 'Attach a cookie to a tracing program.' (diff) | |
download | linux-dev-5eefe17c7ae41bac4d2d281669e8357a10f4d5a4.tar.xz linux-dev-5eefe17c7ae41bac4d2d281669e8357a10f4d5a4.zip |
libbpf: Clean up ringbuf size adjustment implementation
Drop unused iteration variable, move overflow prevention check into the
for loop.
Fixes: 0087a681fa8c ("libbpf: Automatically fix up BPF_MAP_TYPE_RINGBUF size, if necessary")
Reported-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20220510185159.754299-1-andrii@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions