From: Kris Van Hees Date: Tue, 18 Sep 2012 22:33:36 +0000 (-0400) Subject: Fix name of lwp-create and lwp-exit probes in SDT argument mappings. X-Git-Tag: v4.1.12-111.0.20170907_2225~3^2~3^2~179 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=43069f33582abb4f7538c0fcb4a00c21fc0d5668;p=users%2Fjedix%2Flinux-maple.git Fix name of lwp-create and lwp-exit probes in SDT argument mappings. 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 --- diff --git a/dtrace/sdt_dev.c b/dtrace/sdt_dev.c index a876626ceb45f..f5f3d52cbe0b6 100644 --- a/dtrace/sdt_dev.c +++ b/dtrace/sdt_dev.c @@ -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 *" },