diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2020-12-03 12:46:24 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-12-03 17:38:20 -0800 |
commit | 0f7515ca7cddadabe04e28e20a257b1bbb6cb98a (patch) | |
tree | 2f7f002a20defc7831e2987feefe0f9016088e85 /tools/bpf | |
parent | a19f93cfafdf85851c69bc9f677aa4f40c53610f (diff) |
libbpf: Refactor CO-RE relocs to not assume a single BTF object
Refactor CO-RE relocation candidate search to not expect a single BTF, rather
return all candidate types with their corresponding BTF objects. This will
allow to extend CO-RE relocations to accommodate kernel module BTFs.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/bpf/20201203204634.1325171-5-andrii@kernel.org
Diffstat (limited to 'tools/bpf')
0 files changed, 0 insertions, 0 deletions