diff options
author | Alexei Starovoitov <ast@kernel.org> | 2023-03-21 23:38:53 +0300 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2023-03-22 19:31:05 +0300 |
commit | 708cdc5706a4701be9e5f81cb2e2b60b57f34c42 (patch) | |
tree | d3f86c39ddf52a908a6e4c5f72a1eded79b2e910 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 1057d299459657b85e593a4b6294a000f920672a (diff) | |
download | linux-708cdc5706a4701be9e5f81cb2e2b60b57f34c42.tar.xz |
libbpf: Support kfunc detection in light skeleton.
Teach gen_loader to find {btf_id, btf_obj_fd} of kernel variables and kfuncs
and populate corresponding ld_imm64 and bpf_call insns.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20230321203854.3035-4-alexei.starovoitov@gmail.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions