diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2010-08-22 11:18:57 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2010-08-22 11:18:57 +0000 |
commit | ea11ba678823dbe5705fff2f6b2dbd5434fdea02 (patch) | |
tree | 6ac97777920c38ee27a1167a56b6790fef911dd1 /sys/kern/kern_timeout.c | |
parent | 46e8bd7ded82faf30289ba940bca95b4cba0d065 (diff) | |
download | FreeBSD-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_timeout.c')
-rw-r--r-- | sys/kern/kern_timeout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_timeout.c b/sys/kern/kern_timeout.c index 78b0949..32d5691 100644 --- a/sys/kern/kern_timeout.c +++ b/sys/kern/kern_timeout.c @@ -57,10 +57,10 @@ __FBSDID("$FreeBSD$"); #include <sys/smp.h> SDT_PROVIDER_DEFINE(callout_execute); -SDT_PROBE_DEFINE(callout_execute, kernel, , callout_start); +SDT_PROBE_DEFINE(callout_execute, kernel, , callout_start, callout-start); SDT_PROBE_ARGTYPE(callout_execute, kernel, , callout_start, 0, "struct callout *"); -SDT_PROBE_DEFINE(callout_execute, kernel, , callout_end); +SDT_PROBE_DEFINE(callout_execute, kernel, , callout_end, callout-end); SDT_PROBE_ARGTYPE(callout_execute, kernel, , callout_end, 0, "struct callout *"); |