Commit bc8712f
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.com1 parent 5730dac commit bc8712f
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7439 | 7439 | | |
7440 | 7440 | | |
7441 | 7441 | | |
| 7442 | + | |
| 7443 | + | |
7442 | 7444 | | |
7443 | 7445 | | |
7444 | 7446 | | |
| |||
0 commit comments