diff options
author | Amery Hung <ameryhung@gmail.com> | 2025-09-25 10:00:12 -0700 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2025-09-25 14:29:46 -0700 |
commit | bc8712f2b5250825968e6b0c3d2709a4b9d5d570 (patch) | |
tree | f53b52c3c847c7d32c5d34762323c63b7846cfb8 /tools/testing/selftests/bpf/prog_tests/stacktrace_map.c | |
parent | 5730dacb3f172858ca47b8b1aeab083b5713f24b (diff) |
bpf: Emit struct bpf_xdp_sock type in vmlinux BTF
Similar to other BPF UAPI struct, force emit BTF of struct bpf_xdp_sock
so that it is defined in vmlinux.h.
In a later patch, a selftest will use vmlinux.h to get the definition of
struct bpf_xdp_sock instead of bpf.h.
Signed-off-by: Amery Hung <ameryhung@gmail.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20250925170013.1752561-1-ameryhung@gmail.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/stacktrace_map.c')
0 files changed, 0 insertions, 0 deletions