Skip to contentSkip to conversation

bpf/selftests: fix uprobe_multi usage

PATCH Applied Alexis Lothoré (eBPF Foundation) 2 participants 2 messages Apr 21 – Apr 22

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bpf/selftests: fix uprobe_multi usage

uprobe_multi usage message not in sync with the list of subtests it actually supports.

Add the missing subtests in the help message.

---
 tools/testing/selftests/bpf/uprobe_multi.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
tools/testing/selftests/bpf/uprobe_multi.c +3 -1
index 3e58a86b8e25..0af330b6c364 100644
@@ -144,6 +144,8 @@ int main(int argc, char **argv)
 		return trigger_uprobe(true /* page-in build ID */);
 
 error:
-	fprintf(stderr, "usage: %s <bench|usdt>\n", argv[0]);
+	fprintf(stderr,
+		"usage: %s <bench|usdt|uprobe-paged-out|uprobe-paged-in>\n",
+		argv[0]);
 	return -1;
 }

---
base-commit: 05103382104b8ffc701f7b2c79379a0361ecad30
change-id: 20260421-uprobe_multi_usage-459b970450bf

Best regards,

Signature · 1 line
Alexis Lothoré (eBPF Foundation) <[email protected]>
#1 lore raw
This patch was applied to bpf/bpf-next.git (master) by Kumar Kartikeya Dwivedi <[email protected]>:

Hello:

This patch was applied to bpf/bpf-next.git (master) by Kumar Kartikeya Dwivedi <[email protected]>:

Quoted 8 lines · On Tue, 21 Apr 2026 16:33:29 +0200 you wrote:

uprobe_multi usage message not in sync with the list of subtests it actually supports.

Add the missing subtests in the help message.

[...]

Here is the summary with links:
- [bpf-next] bpf/selftests: fix uprobe_multi usage

    https://git.kernel.org/bpf/bpf-next/c/7f843c0584f4

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html