diff options
| author | Andrii Nakryiko <[email protected]> | 2022-05-10 11:51:59 -0700 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2022-05-11 14:06:29 +0200 |
| commit | 5eefe17c7ae41bac4d2d281669e8357a10f4d5a4 (patch) | |
| tree | 776c3ef83ae05684faf8d6c1d50355f0a96bf4a2 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 93dafa92e1cf922bd06fa738bc4f85fdfb63a39f (diff) | |
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 <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions