]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
Fix name of lwp-create and lwp-exit probes in SDT argument mappings.
authorKris Van Hees <kris.van.hees@oracle.com>
Tue, 18 Sep 2012 22:33:36 +0000 (18:33 -0400)
committerKris Van Hees <kris.van.hees@oracle.com>
Wed, 19 Sep 2012 06:52:26 +0000 (02:52 -0400)
The argument mapping for SDT probes incorrectly listed lwp_create instead of
lwp-create, and lwp_exit instead of lwp-exit.  Also, lwp-exit was listed to
have a single int argument whereas it is not supposed to have any arguments.

Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
dtrace/sdt_dev.c

index a876626ceb45feda3fad27d1a7e7491e532b2bea..f5f3d52cbe0b6fa07c373b2f92ecccd3b7c5a508 100644 (file)
@@ -67,9 +67,8 @@ static sdt_argdesc_t  sdt_args[] = {
        { "proc", "fault", 0, 0, "int", },
        { "proc", "fault", 1, 1, "siginfo_t", },
 #endif
-       { "proc", "lwp_create", 0, 0, "struct task_struct *", "lwpsinfo_t *" },
-       { "proc", "lwp_create", 1, 0, "struct task_struct *", "psinfo_t *" },
-       { "proc", "lwp_exit", 0, 0, "int", },
+       { "proc", "lwp-create", 0, 0, "struct task_struct *", "lwpsinfo_t *" },
+       { "proc", "lwp-create", 1, 0, "struct task_struct *", "psinfo_t *" },
        { "proc", "signal-clear", 0, 0, "int", },
        { "proc", "signal-discard", 0, 0, "struct task_struct *", "lwpsinfo_t *" },
        { "proc", "signal-discard", 1, 0, "struct task_struct *", "psinfo_t *" },