summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/progs/test_verif_scale1.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2022-09-09 12:30:51 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2022-09-16 22:39:36 +0200
commitcf060c2c399fa457569123bb9806b455ff53e64c (patch)
tree6ff9c3aa3430fc85a8ba6331583596bdc7b3ce9f /tools/testing/selftests/bpf/progs/test_verif_scale1.c
parentceea991a019c57a1fb0edd12a5f836a0fa431aee (diff)
downloadlinux-cf060c2c399fa457569123bb9806b455ff53e64c.tar.gz
linux-cf060c2c399fa457569123bb9806b455ff53e64c.tar.bz2
linux-cf060c2c399fa457569123bb9806b455ff53e64c.zip
selftests/bpf: Fix test_verif_scale{1,3} SEC() annotations
Use proper SEC("tc") for test_verif_scale{1,3} programs. It's not a problem for selftests right now because we manually set type programmatically, but not having correct SEC() definitions makes it harded to generically load BPF object files. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20220909193053.577111-2-andrii@kernel.org
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_verif_scale1.c')
-rw-r--r--tools/testing/selftests/bpf/progs/test_verif_scale1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/progs/test_verif_scale1.c b/tools/testing/selftests/bpf/progs/test_verif_scale1.c
index d38153dab3dd..ac6135d9374c 100644
--- a/tools/testing/selftests/bpf/progs/test_verif_scale1.c
+++ b/tools/testing/selftests/bpf/progs/test_verif_scale1.c
@@ -5,7 +5,7 @@
#define ATTR __attribute__((noinline))
#include "test_jhash.h"
-SEC("scale90_noinline")
+SEC("tc")
int balancer_ingress(struct __sk_buff *ctx)
{
void *data_end = (void *)(long)ctx->data_end;