diff options
author | 2023-12-11 13:20:08 -0700 | |
---|---|---|
committer | 2023-12-13 15:42:19 -0800 | |
commit | 7d19c00e9abc8ad3b3b72a1989331f45287e6bf5 (patch) | |
tree | 43d32ff70ef9ac3c32d6069727533e8221773375 /tools/lib/bpf/libbpf_internal.h | |
parent | libbpf: Add BPF_CORE_WRITE_BITFIELD() macro (diff) | |
download | wireguard-linux-7d19c00e9abc8ad3b3b72a1989331f45287e6bf5.tar.xz wireguard-linux-7d19c00e9abc8ad3b3b72a1989331f45287e6bf5.zip |
bpf: selftests: test_loader: Support __btf_path() annotation
This commit adds support for per-prog btf_custom_path. This is necessary
for testing CO-RE relocations on non-vmlinux types using test_loader
infrastructure.
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Xu <dxu@dxuuu.xyz>
Link: https://lore.kernel.org/r/660ea7f2fdbdd5103bc1af87c9fc931f05327926.1702325874.git.dxu@dxuuu.xyz
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/lib/bpf/libbpf_internal.h')
0 files changed, 0 insertions, 0 deletions