selftests/bpf: Adjust test_access_variable_array after a kernel function name change
Subsystems (3)
Martin KaFai Lau
reviewerPATCH 1/1 selftests/bpf: Adjust test_access_variable_array after a kernel function name change
From: Martin KaFai Lau <[email protected]>
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.
--- tools/testing/selftests/bpf/progs/test_access_variable_array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/bpf/progs/test_access_variable_array.c +1 -1
@@ -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) {
Signature · 1 line
2.43.0
This patch was applied to bpf/bpf.git (master) by Daniel Borkmann <[email protected]>:
Hello:
This patch was applied to bpf/bpf.git (master)
by Daniel Borkmann <[email protected]>:
Quoted 9 lines · On Thu, 16 May 2024 10:01:40 -0700 you wrote:
From: Martin KaFai Lau <[email protected]>
After commit
4c3e509ea9f2("sched/balancing: Renameload_balance()=>sched_balance_rq()"), theload_balancekernel function is renamed tosched_balance_rq.This patch adjusts the fentry program in
test_access_variable_array.cto reflect this kernel function name change.[...]
Here is the summary with links:
- [bpf] selftests/bpf: Adjust test_access_variable_array after a kernel function name change
https://git.kernel.org/bpf/bpf/c/5405807edd41
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html