summaryrefslogtreecommitdiff
path: root/kernel/bpf/stackmap.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2021-01-12 10:55:19 +0300
committerAlexei Starovoitov <ast@kernel.org>2021-01-13 04:24:30 +0300
commit284d2587ea8a96f97ca519a3de683ff226e9e2b3 (patch)
tree4561089bac28f2ff31247f077824eccf570cfbe2 /kernel/bpf/stackmap.c
parent541c3bad8dc51b253ba8686d0cd7628e6b9b5f4c (diff)
downloadlinux-284d2587ea8a96f97ca519a3de683ff226e9e2b3.tar.xz
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 <andrii@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Yonghong Song <yhs@fb.com> Acked-by: Hao Luo <haoluo@google.com> Link: https://lore.kernel.org/bpf/20210112075520.4103414-7-andrii@kernel.org
Diffstat (limited to 'kernel/bpf/stackmap.c')
0 files changed, 0 insertions, 0 deletions