]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
dtrace: General cleanup of debug info and fix syscall probe module name.
authorKris Van Hees <kris.van.hees@oracle.com>
Fri, 13 Sep 2013 14:11:59 +0000 (10:11 -0400)
committerKris Van Hees <kris.van.hees@oracle.com>
Tue, 17 Sep 2013 11:25:58 +0000 (07:25 -0400)
Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
dtrace/fasttrap_dev.c
dtrace/systrace_dev.c

index 91a7427a8b0c99cb621b6a9517c793e26774b5de..00335cb37d40428d92de78d63a293ecbe3b81900 100644 (file)
@@ -219,7 +219,7 @@ static void fasttrap_disable_callbacks(void)
 }
 
 /*
- * his function ensures that no threads are actively using the memory
+ * This function ensures that no threads are actively using the memory
  * associated with probes that were formerly live.
  */
 static void fasttrap_mod_barrier(uint64_t gen)
index c05cee321090b39e5cb26a3d0e28279067f0d7be..addeb8ef43b2cad1629746d989c155141e3903fc 100644 (file)
@@ -75,10 +75,10 @@ void systrace_provide(void *arg, const dtrace_probedesc_t *desc)
                if (dtrace_probe_lookup(syscall_id, NULL, nm, "entry") != 0)
                        continue;
 
-               dtrace_probe_create(syscall_id, NULL, nm, "entry",
+               dtrace_probe_create(syscall_id, dtrace_kmod->name, nm, "entry",
                                    SYSTRACE_ARTIFICIAL_FRAMES,
                                    (void *)((uintptr_t)SYSTRACE_ENTRY(i)));
-               dtrace_probe_create(syscall_id, NULL, nm, "return",
+               dtrace_probe_create(syscall_id, dtrace_kmod->name, nm, "return",
                                    SYSTRACE_ARTIFICIAL_FRAMES,
                                    (void *)((uintptr_t)SYSTRACE_RETURN(i)));