summaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <memxor@gmail.com>2021-10-28 08:34:54 +0200
committerAlexei Starovoitov <ast@kernel.org>2021-10-29 01:30:06 +0200
commitd6aef08a872b9e23eecc92d0e92393473b13c497 (patch)
treee0a592a65fa04ea132da6c21be6517498544f650 /tools/lib/bpf
parentMerge branch 'Implement bloom filter map' (diff)
downloadlinux-d6aef08a872b9e23eecc92d0e92393473b13c497.tar.xz
linux-d6aef08a872b9e23eecc92d0e92393473b13c497.zip
bpf: Add bpf_kallsyms_lookup_name helper
This helper allows us to get the address of a kernel symbol from inside a BPF_PROG_TYPE_SYSCALL prog (used by gen_loader), so that we can relocate typeless ksym vars. Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Song Liu <songliubraving@fb.com> Link: https://lore.kernel.org/bpf/20211028063501.2239335-2-memxor@gmail.com
Diffstat (limited to 'tools/lib/bpf')
0 files changed, 0 insertions, 0 deletions