From: Alexei Starovoitov Date: Wed, 1 Dec 2021 18:10:40 +0000 (-0800) Subject: selftests/bpf: Add CO-RE relocations to verifier scale test. X-Git-Tag: v6.1-rc5~2306^2~228^2~20^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=098dc5335a2083223c80d058ab4d23f6ce120b97;p=platform%2Fkernel%2Flinux-starfive.git selftests/bpf: Add CO-RE relocations to verifier scale test. Add 182 CO-RE relocations to verifier scale test. Signed-off-by: Alexei Starovoitov Signed-off-by: Andrii Nakryiko Link: https://lore.kernel.org/bpf/20211201181040.23337-18-alexei.starovoitov@gmail.com --- diff --git a/tools/testing/selftests/bpf/progs/test_verif_scale2.c b/tools/testing/selftests/bpf/progs/test_verif_scale2.c index f024154..f90ffca 100644 --- a/tools/testing/selftests/bpf/progs/test_verif_scale2.c +++ b/tools/testing/selftests/bpf/progs/test_verif_scale2.c @@ -1,11 +1,11 @@ // SPDX-License-Identifier: GPL-2.0 // Copyright (c) 2019 Facebook -#include +#include "vmlinux.h" #include #define ATTR __always_inline #include "test_jhash.h" -SEC("scale90_inline") +SEC("tc") int balancer_ingress(struct __sk_buff *ctx) { void *data_end = (void *)(long)ctx->data_end;