svn commit: r342262 - head/sys/sys
Mateusz Guzik
mjg at FreeBSD.org
Wed Dec 19 23:19:06 UTC 2018
Author: mjg
Date: Wed Dec 19 23:19:05 2018
New Revision: 342262
URL: https://svnweb.freebsd.org/changeset/base/342262
Log:
Provide SDT_PROBES_ENABLED for kernels without KDTRACE.
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/sys/sdt.h
Modified: head/sys/sys/sdt.h
==============================================================================
--- head/sys/sys/sdt.h Wed Dec 19 23:15:49 2018 (r342261)
+++ head/sys/sys/sdt.h Wed Dec 19 23:19:05 2018 (r342262)
@@ -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)
More information about the svn-src-head
mailing list