selftests/bpf: Adjust test_access_variable_array after a kernel function name change
authorMartin KaFai Lau <martin.lau@kernel.org>
Thu, 16 May 2024 17:01:40 +0000 (10:01 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 16 May 2024 23:48:16 +0000 (01:48 +0200)
After commit 4c3e509ea9f2 ("sched/balancing: Rename load_balance() => sched_balance_rq()"),
the load_balance kernel function is renamed to sched_balance_rq.

This patch adjusts the fentry program in test_access_variable_array.c
to reflect this kernel function name change.

Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20240516170140.2689430-1-martin.lau@linux.dev
tools/testing/selftests/bpf/progs/test_access_variable_array.c

index 808c49b79889023d4e2ad36ec2a031be70726eb1..326b7d1f496ab159a4b652c84fd5005250905979 100644 (file)
@@ -7,7 +7,7 @@
 
 unsigned long span = 0;
 
-SEC("fentry/load_balance")
+SEC("fentry/sched_balance_rq")
 int BPF_PROG(fentry_fentry, int this_cpu, struct rq *this_rq,
                struct sched_domain *sd)
 {