Skip to contentSkip to conversation

selftests/bpf: Adjust test_access_variable_array after a kernel function name change

PATCH Applied Martin KaFai Lau 2 participants 2 messages May 16, 2024

Subsystems (3)
lore
Share & tools
lore

Martin KaFai Lau

author reviewer
#0 lore raw

PATCH 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
index 808c49b79889..326b7d1f496a 100644
@@ -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
#1 lore raw
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: 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.

[...]

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