!70 BPF: Add CO-RE support for openEuler-22.09 v3
Merge Pull Request from: @zhengzengkai This set introduces CO-RE support in the kernel. There are several reasons to add such support: 1. It's a step toward signed BPF programs. 2. It allows golang like languages that struggle to adopt libbpf to take advantage of CO-RE powers. 3. Currently the field accessed by 'ldx [R1 + 10]' insn is recognized by the verifier purely based on +10 offset. If R1 points to a union the verifier picks one of the fields at this offset. With CO-RE the kernel can disambiguate the field access. Link:https://gitee.com/openeuler/kernel/pulls/70 Reviewed-by: Xie XiuQi <xiexiuqi@huawei.com> Signed-off-by: Xu Kuohai <xukuohai@huawei.com> Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
Showing
include/linux/bpfptr.h
0 → 100644
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
tools/lib/bpf/bpf_gen_internal.h
0 → 100644
此差异已折叠。
此差异已折叠。
此差异已折叠。
tools/lib/bpf/gen_loader.c
0 → 100644
此差异已折叠。
tools/lib/bpf/libbpf_legacy.h
0 → 100644
此差异已折叠。
tools/lib/bpf/libbpf_version.h
0 → 100644
此差异已折叠。
tools/lib/bpf/linker.c
0 → 100644
此差异已折叠。
tools/lib/bpf/relo_core.c
0 → 100644
此差异已折叠。
tools/lib/bpf/relo_core.h
0 → 100644
此差异已折叠。
tools/lib/bpf/skel_internal.h
0 → 100644
此差异已折叠。
tools/lib/bpf/strset.c
0 → 100644
此差异已折叠。
tools/lib/bpf/strset.h
0 → 100644
此差异已折叠。
此差异已折叠。
此差异已折叠。
tools/perf/util/bpf_counter.c
0 → 100644
此差异已折叠。
tools/perf/util/bpf_counter.h
0 → 100644
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
想要评论请 注册 或 登录