diff options
author | mjg <mjg@FreeBSD.org> | 2017-03-16 07:20:32 +0000 |
---|---|---|
committer | mjg <mjg@FreeBSD.org> | 2017-03-16 07:20:32 +0000 |
commit | 3f6f07c3cdebcbac82de4c6004c77ccd00354f69 (patch) | |
tree | 7cf15da134a16b3269f98b3ab24cdbfa5db2257a /sys/sys/sdt.h | |
parent | 5534c758d7385b53e8ab32e2c4936420b23179aa (diff) | |
download | FreeBSD-src-3f6f07c3cdebcbac82de4c6004c77ccd00354f69.zip FreeBSD-src-3f6f07c3cdebcbac82de4c6004c77ccd00354f69.tar.gz |
MFC r313453:
Implement LOCKSTAT_OOL_PROFILE_ENABLED
For use in uninlined locking primitives to decide whether lockstat
or profiling needs to be taken care of.
Diffstat (limited to 'sys/sys/sdt.h')
-rw-r--r-- | sys/sys/sdt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/sdt.h b/sys/sys/sdt.h index 4259883..c680ea8 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) |