Skip to content

Commit 5405807

Browse files
Martin KaFai Lauborkmann
authored andcommitted
selftests/bpf: Adjust test_access_variable_array after a kernel function name change
After commit 4c3e509 ("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
1 parent 2322113 commit 5405807

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/testing/selftests/bpf/progs/test_access_variable_array.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
unsigned long span = 0;
99

10-
SEC("fentry/load_balance")
10+
SEC("fentry/sched_balance_rq")
1111
int BPF_PROG(fentry_fentry, int this_cpu, struct rq *this_rq,
1212
struct sched_domain *sd)
1313
{

0 commit comments

Comments
 (0)