aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/sdt.h
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2013-07-06 20:21:35 +0000
committerMark Johnston <markj@FreeBSD.org>2013-07-06 20:21:35 +0000
commitd63fca7a07ff46d45a730cb112df9552213fdd12 (patch)
tree94aa0c5259f9eddcb9ae2cddc780ef8c29da15f6 /sys/sys/sdt.h
parentb85e1f7d05ac7889868f2364474e02b6a024af25 (diff)
downloadsrc-d63fca7a07ff46d45a730cb112df9552213fdd12.tar.gz
src-d63fca7a07ff46d45a730cb112df9552213fdd12.zip
Add SDT_PROBE_DEFINE0 for consistency with SDT_PROBE0.
MFC after: 1 week
Notes
Notes: svn path=/head/; revision=252894
Diffstat (limited to 'sys/sys/sdt.h')
-rw-r--r--sys/sys/sdt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/sdt.h b/sys/sys/sdt.h
index 21edd53ecc84..1ea7abfee47a 100644
--- a/sys/sys/sdt.h
+++ b/sys/sys/sdt.h
@@ -210,6 +210,9 @@ struct sdt_provider {
SI_SUB_KDTRACE, SI_ORDER_SECOND + 2, sdt_argtype_deregister, \
sdt_##prov##_##mod##_##func##_##name##num )
+#define SDT_PROBE_DEFINE0(prov, mod, func, name, sname) \
+ SDT_PROBE_DEFINE(prov, mod, func, name, sname)
+
#define SDT_PROBE_DEFINE1(prov, mod, func, name, sname, arg0) \
SDT_PROBE_DEFINE(prov, mod, func, name, sname); \
SDT_PROBE_ARGTYPE(prov, mod, func, name, 0, arg0)