aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/kprobe_multi_test.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2022-11-17 15:46:06 -0800
committerAndrii Nakryiko <[email protected]>2022-11-17 15:50:09 -0800
commit6f04180ca64b6cd5e404951bd042a1852f0598f1 (patch)
treefa2ca7e67b027b642c4ed7cfb7872ab9b9106a29 /tools/testing/selftests/bpf/prog_tests/kprobe_multi_test.c
parent47df8a2f78bc34ff170d147d05b121f84e252b85 (diff)
parent05c1558bfcb63b95a9f530767c04c7db091560f2 (diff)
Merge branch 'libbpf: Fixes for ring buffer'
Hou Tao says: ==================== From: Hou Tao <[email protected]> Hi, The patch set tries to fix the problems found when testing ringbuf by using 4KB and 2GB size. Patch 1 fixes the probe of ring buffer map on host with 64KB page (e.g., an ARM64 host). Patch 2 & 3 fix the overflow of length when mmaping 2GB kernel ringbuf or user ringbuf on libbpf. Patch 4 just reject the reservation with invalid size. Please see individual patch for details. And comments are always welcome. Change Log: v2: * patch 1: use page size instead of adjust_ringbuf_sz(4096) as main_entries (suggested by Stanislav) * patch 2 & 3: use "mmap_sz" instead of "ro_size/wr_size" as name of mmap length (From Andrii) v1: https://lore.kernel.org/bpf/[email protected] ==================== Signed-off-by: Andrii Nakryiko <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/kprobe_multi_test.c')
0 files changed, 0 insertions, 0 deletions