aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/bpf_helpers.h
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2021-01-12 07:55:19 +0000
committerAlexei Starovoitov <[email protected]>2021-01-13 01:24:30 +0000
commit284d2587ea8a96f97ca519a3de683ff226e9e2b3 (patch)
tree4561089bac28f2ff31247f077824eccf570cfbe2 /tools/lib/bpf/bpf_helpers.h
parentbpf: Support BPF ksym variables in kernel modules (diff)
downloadkernel-284d2587ea8a96f97ca519a3de683ff226e9e2b3.tar.gz
kernel-284d2587ea8a96f97ca519a3de683ff226e9e2b3.zip
libbpf: Support kernel module ksym externs
Add support for searching for ksym externs not just in vmlinux BTF, but across all module BTFs, similarly to how it's done for CO-RE relocations. Kernels that expose module BTFs through sysfs are assumed to support new ldimm64 instruction extension with BTF FD provided in insn[1].imm field, so no extra feature detection is performed. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Yonghong Song <[email protected]> Acked-by: Hao Luo <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/bpf_helpers.h')
0 files changed, 0 insertions, 0 deletions