summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_exit.c
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2010-08-22 11:18:57 +0000
committerrpaulo <rpaulo@FreeBSD.org>2010-08-22 11:18:57 +0000
commitea11ba678823dbe5705fff2f6b2dbd5434fdea02 (patch)
tree6ac97777920c38ee27a1167a56b6790fef911dd1 /sys/kern/kern_exit.c
parent46e8bd7ded82faf30289ba940bca95b4cba0d065 (diff)
downloadFreeBSD-src-ea11ba678823dbe5705fff2f6b2dbd5434fdea02.zip
FreeBSD-src-ea11ba678823dbe5705fff2f6b2dbd5434fdea02.tar.gz
Add an extra comment to the SDT probes definition. This allows us to get
use '-' in probe names, matching the probe names in Solaris.[1] Add userland SDT probes definitions to sys/sdt.h. Sponsored by: The FreeBSD Foundation Discussed with: rwaston [1]
Diffstat (limited to 'sys/kern/kern_exit.c')
-rw-r--r--sys/kern/kern_exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c
index a781f8b..8358f75 100644
--- a/sys/kern/kern_exit.c
+++ b/sys/kern/kern_exit.c
@@ -90,7 +90,7 @@ dtrace_execexit_func_t dtrace_fasttrap_exit;
#endif
SDT_PROVIDER_DECLARE(proc);
-SDT_PROBE_DEFINE(proc, kernel, , exit);
+SDT_PROBE_DEFINE(proc, kernel, , exit, exit);
SDT_PROBE_ARGTYPE(proc, kernel, , exit, 0, "int");
/* Required to be non-static for SysVR4 emulator */
OpenPOWER on IntegriCloud