diff options
author | markj <markj@FreeBSD.org> | 2013-08-15 04:08:55 +0000 |
---|---|---|
committer | markj <markj@FreeBSD.org> | 2013-08-15 04:08:55 +0000 |
commit | 6c24c9fb32bf0787f43d84a01b56eba2dcb38305 (patch) | |
tree | f0c62cee77e48dd1372d34190c890a8878f89867 /sys/kern/kern_timeout.c | |
parent | 6c901ce0a876d561e03779bdf6269ed9a7e4c5c6 (diff) | |
download | FreeBSD-src-6c24c9fb32bf0787f43d84a01b56eba2dcb38305.zip FreeBSD-src-6c24c9fb32bf0787f43d84a01b56eba2dcb38305.tar.gz |
Specify SDT probe argument types in the probe definition itself rather than
using SDT_PROBE_ARGTYPE(). This will make it easy to extend the SDT(9) API
to allow probes with dynamically-translated types.
There is no functional change.
MFC after: 2 weeks
Diffstat (limited to 'sys/kern/kern_timeout.c')
-rw-r--r-- | sys/kern/kern_timeout.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/kern/kern_timeout.c b/sys/kern/kern_timeout.c index f2e27d4..e3580fc 100644 --- a/sys/kern/kern_timeout.c +++ b/sys/kern/kern_timeout.c @@ -69,11 +69,9 @@ DPCPU_DECLARE(sbintime_t, hardclocktime); #endif SDT_PROVIDER_DEFINE(callout_execute); -SDT_PROBE_DEFINE(callout_execute, kernel, , callout_start, callout-start); -SDT_PROBE_ARGTYPE(callout_execute, kernel, , callout_start, 0, +SDT_PROBE_DEFINE1(callout_execute, kernel, , callout_start, callout-start, "struct callout *"); -SDT_PROBE_DEFINE(callout_execute, kernel, , callout_end, callout-end); -SDT_PROBE_ARGTYPE(callout_execute, kernel, , callout_end, 0, +SDT_PROBE_DEFINE1(callout_execute, kernel, , callout_end, callout-end, "struct callout *"); #ifdef CALLOUT_PROFILING |