summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_fork.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_fork.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_fork.c')
-rw-r--r--sys/kern/kern_fork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c
index 03d8cbc..29aa121 100644
--- a/sys/kern/kern_fork.c
+++ b/sys/kern/kern_fork.c
@@ -84,7 +84,7 @@ dtrace_fork_func_t dtrace_fasttrap_fork;
#endif
SDT_PROVIDER_DECLARE(proc);
-SDT_PROBE_DEFINE(proc, kernel, , create);
+SDT_PROBE_DEFINE(proc, kernel, , create, create);
SDT_PROBE_ARGTYPE(proc, kernel, , create, 0, "struct proc *");
SDT_PROBE_ARGTYPE(proc, kernel, , create, 1, "struct proc *");
SDT_PROBE_ARGTYPE(proc, kernel, , create, 2, "int");
OpenPOWER on IntegriCloud