aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/sdt.h
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2017-02-08 19:25:58 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2017-02-08 19:25:58 +0000
commit3b6f6c27603042ef3a4b7ebaecf52a160390194e (patch)
tree7d196c1041cf4aaa7aa8be619a1288ddd4d58329 /sys/sys/sdt.h
parent6db947347cbd52ae50a94b1f11fb8758dfd3afa4 (diff)
downloadsrc-3b6f6c27603042ef3a4b7ebaecf52a160390194e.tar.gz
src-3b6f6c27603042ef3a4b7ebaecf52a160390194e.zip
Implement LOCKSTAT_OOL_PROFILE_ENABLED
For use in uninlined locking primitives to decide whether lockstat or profiling needs to be taken care of.
Notes
Notes: svn path=/head/; revision=313453
Diffstat (limited to 'sys/sys/sdt.h')
-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 42598837fd72..c680ea85718a 100644
--- a/sys/sys/sdt.h
+++ b/sys/sys/sdt.h
@@ -86,6 +86,7 @@
#define SDT_PROVIDER_DECLARE(prov)
#define SDT_PROBE_DEFINE(prov, mod, func, name)
#define SDT_PROBE_DECLARE(prov, mod, func, name)
+#define SDT_PROBE_ENABLED(prov, mod, func, name) 0
#define SDT_PROBE(prov, mod, func, name, arg0, arg1, arg2, arg3, arg4)
#define SDT_PROBE_ARGTYPE(prov, mod, func, name, num, type, xtype)