From 429ff077e50d8f514b40b0bba2bc71887553fa6c Mon Sep 17 00:00:00 2001 From: Kris Van Hees Date: Fri, 13 Sep 2013 10:11:59 -0400 Subject: [PATCH] dtrace: General cleanup of debug info and fix syscall probe module name. Signed-off-by: Kris Van Hees --- dtrace/fasttrap_dev.c | 2 +- dtrace/systrace_dev.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dtrace/fasttrap_dev.c b/dtrace/fasttrap_dev.c index 91a7427a8b0c..00335cb37d40 100644 --- a/dtrace/fasttrap_dev.c +++ b/dtrace/fasttrap_dev.c @@ -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) diff --git a/dtrace/systrace_dev.c b/dtrace/systrace_dev.c index c05cee321090..addeb8ef43b2 100644 --- a/dtrace/systrace_dev.c +++ b/dtrace/systrace_dev.c @@ -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))); -- 2.50.1