Thread (28 messages) 28 messages, 2 authors, 2021-11-30

Re: [PATCH v4 bpf-next 14/16] selftests/bpf: Additional test for CO-RE in the kernel.

From: Andrii Nakryiko <hidden>
Date: 2021-11-30 01:14:00

On Tue, Nov 23, 2021 at 10:02 PM Alexei Starovoitov
[off-list ref] wrote:
From: Alexei Starovoitov <ast@kernel.org>

Additional test where randmap() function is appended to three different bpf
programs. That action checks struct bpf_core_relo replication logic and offset
adjustment.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
---
Acked-by: Andrii Nakryiko <andrii@kernel.org>
 tools/testing/selftests/bpf/Makefile          |  2 +-
 .../selftests/bpf/prog_tests/core_kern.c      | 14 +++
 tools/testing/selftests/bpf/progs/core_kern.c | 87 +++++++++++++++++++
 3 files changed, 102 insertions(+), 1 deletion(-)
 create mode 100644 tools/testing/selftests/bpf/prog_tests/core_kern.c
 create mode 100644 tools/testing/selftests/bpf/progs/core_kern.c
[...]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help