diff options
author | Rui Paulo <rpaulo@FreeBSD.org> | 2010-08-22 11:18:57 +0000 |
---|---|---|
committer | Rui Paulo <rpaulo@FreeBSD.org> | 2010-08-22 11:18:57 +0000 |
commit | 79856499bd6f3f11cd2bd6b140d36a1183cd49ad (patch) | |
tree | 6ac97777920c38ee27a1167a56b6790fef911dd1 /sys/kern/kern_exec.c | |
parent | 5b5779d0007bb7bd91b42d7853551b9433bc0a02 (diff) | |
download | src-79856499bd6f3f11cd2bd6b140d36a1183cd49ad.tar.gz src-79856499bd6f3f11cd2bd6b140d36a1183cd49ad.zip |
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]
Notes
Notes:
svn path=/head/; revision=211616
Diffstat (limited to 'sys/kern/kern_exec.c')
-rw-r--r-- | sys/kern/kern_exec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index c4bdb91c7e4f..2e7e08a56f5c 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -91,11 +91,11 @@ dtrace_execexit_func_t dtrace_fasttrap_exec; #endif SDT_PROVIDER_DECLARE(proc); -SDT_PROBE_DEFINE(proc, kernel, , exec); +SDT_PROBE_DEFINE(proc, kernel, , exec, exec); SDT_PROBE_ARGTYPE(proc, kernel, , exec, 0, "char *"); -SDT_PROBE_DEFINE(proc, kernel, , exec_failure); +SDT_PROBE_DEFINE(proc, kernel, , exec_failure, exec-failure); SDT_PROBE_ARGTYPE(proc, kernel, , exec_failure, 0, "int"); -SDT_PROBE_DEFINE(proc, kernel, , exec_success); +SDT_PROBE_DEFINE(proc, kernel, , exec_success, exec-success); SDT_PROBE_ARGTYPE(proc, kernel, , exec_success, 0, "char *"); MALLOC_DEFINE(M_PARGS, "proc-args", "Process arguments"); |