aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/bpf_gen_internal.h
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <[email protected]>2021-10-28 06:34:54 +0000
committerAlexei Starovoitov <[email protected]>2021-10-28 23:30:06 +0000
commitd6aef08a872b9e23eecc92d0e92393473b13c497 (patch)
treee0a592a65fa04ea132da6c21be6517498544f650 /tools/lib/bpf/bpf_gen_internal.h
parentMerge branch 'Implement bloom filter map' (diff)
downloadkernel-d6aef08a872b9e23eecc92d0e92393473b13c497.tar.gz
kernel-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 <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Song Liu <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/bpf_gen_internal.h')
0 files changed, 0 insertions, 0 deletions