On Tue, Nov 23, 2021 at 10:02 PM Alexei Starovoitov <alexei.starovoitov@xxxxxxxxx> wrote: > > From: Alexei Starovoitov <ast@xxxxxxxxxx> > > 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@xxxxxxxxxx> > --- Acked-by: Andrii Nakryiko <andrii@xxxxxxxxxx> > 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 > [...]