aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2018-12-19 23:19:05 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2018-12-19 23:19:05 +0000
commit832cb4ca2b1a52f176b0fa8186d62748ca5671c3 (patch)
tree6b056a2339656d66bf1641ebb04fa3322b531b18 /sys
parent0741ca101cc01b74a7fddba56235cdb4ce8910b6 (diff)
downloadsrc-832cb4ca2b1a52f176b0fa8186d62748ca5671c3.tar.gz
src-832cb4ca2b1a52f176b0fa8186d62748ca5671c3.zip
Provide SDT_PROBES_ENABLED for kernels without KDTRACE.
Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=342262
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/sdt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/sdt.h b/sys/sys/sdt.h
index 1d27b1977604..fb5c3d671604 100644
--- a/sys/sys/sdt.h
+++ b/sys/sys/sdt.h
@@ -90,6 +90,7 @@ extern volatile bool sdt_probes_enabled;
#define SDT_PROVIDER_DECLARE(prov)
#define SDT_PROBE_DEFINE(prov, mod, func, name)
#define SDT_PROBE_DECLARE(prov, mod, func, name)
+#define SDT_PROBES_ENABLED() 0
#define SDT_PROBE(prov, mod, func, name, arg0, arg1, arg2, arg3, arg4)
#define SDT_PROBE_ARGTYPE(prov, mod, func, name, num, type, xtype)