aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/tracing_struct.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2024-10-24 05:15:09 +0000
committerAlexei Starovoitov <[email protected]>2024-10-24 05:15:09 +0000
commit39b8ab1519687054769bc07feb97821fc40f56e2 (patch)
treedd013a3ee41c6e27cdbe5e415c247a37a359c94b /tools/testing/selftests/bpf/prog_tests/tracing_struct.c
parentMerge branch 'fix-wmaybe-uninitialized-warnings-errors' (diff)
parentselftests/bpf: validate generic bpf_object and subskel APIs work together (diff)
downloadkernel-39b8ab1519687054769bc07feb97821fc40f56e2.tar.gz
kernel-39b8ab1519687054769bc07feb97821fc40f56e2.zip
Merge branch 'fix-libbpf-s-bpf_object-and-bpf-subskel-interoperability'
Andrii Nakryiko says: ==================== Fix libbpf's bpf_object and BPF subskel interoperability Fix libbpf's global data map mmap()'ing logic to make BPF objects loaded through generic bpf_object__load() API interoperable with BPF subskeleton instantiated from such BPF object. The issue is in re-mmap()'ing of global data maps after BPF object is loaded into kernel, which is currently done in BPF skeleton-specific code, and should instead be done in generic and common bpf_object_load() logic. See patch #2 for the fix, patch #3 for the selftests. Patch #1 is preliminary fix for existing spin_lock selftests which currently works by accident. ==================== Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tracing_struct.c')
0 files changed, 0 insertions, 0 deletions