libbpf: Split CO-RE logic into relo_core.c.

Move CO-RE logic into separate file.
The internal interface between libbpf and CO-RE is through
bpf_core_apply_relo_insn() function and few structs defined in relo_core.h.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210721000822.40958-5-alexei.starovoitov@gmail.com
This commit is contained in:
Alexei Starovoitov authored and Andrii Nakryiko committed 2021-08-04 18:27:12 -07:00
1 parent 2fe57e40ac
commit d41e821ccf
4 files changed
+1318 -1296

No files matched your search

+1295
View File
File diff suppressed because it is too large. Load diff