]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
selftests/bpf: Fix uprobe_multi usage message
authorAlexis Lothoré (eBPF Foundation) <alexis.lothore@bootlin.com>
Tue, 21 Apr 2026 14:33:29 +0000 (16:33 +0200)
committerKumar Kartikeya Dwivedi <memxor@gmail.com>
Wed, 22 Apr 2026 21:21:10 +0000 (23:21 +0200)
uprobe_multi usage message not in sync with the list of subtests it
actually supports.

Add the missing subtests in the help message.

Signed-off-by: Alexis Lothoré (eBPF Foundation) <alexis.lothore@bootlin.com>
Link: https://lore.kernel.org/bpf/20260421-uprobe_multi_usage-v1-1-4c51675955e6@bootlin.com
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
tools/testing/selftests/bpf/uprobe_multi.c

index 3e58a86b8e25410d862340fdb1933f45923db5fc..0af330b6c36468d898a08c8a1c81e3b24763c007 100644 (file)
@@ -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;
 }