svn commit: r324867 - head/sys/sys
Mateusz Guzik
mjg at FreeBSD.org
Sun Oct 22 20:14:49 UTC 2017
Author: mjg
Date: Sun Oct 22 20:14:48 2017
New Revision: 324867
URL: https://svnweb.freebsd.org/changeset/base/324867
Log:
sdt: whack unused SDT_PROBE_ENABLED
Modified:
head/sys/sys/sdt.h
Modified: head/sys/sys/sdt.h
==============================================================================
--- head/sys/sys/sdt.h Sun Oct 22 20:01:07 2017 (r324866)
+++ head/sys/sys/sdt.h Sun Oct 22 20:14:48 2017 (r324867)
@@ -86,7 +86,6 @@
#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)
@@ -160,9 +159,6 @@ SET_DECLARE(sdt_argtypes_set, struct sdt_argtype);
#define SDT_PROBE_DECLARE(prov, mod, func, name) \
extern struct sdt_probe sdt_##prov##_##mod##_##func##_##name[1]
-
-#define SDT_PROBE_ENABLED(prov, mod, func, name) \
- __predict_false((sdt_##prov##_##mod##_##func##_##name->id))
#define SDT_PROBE(prov, mod, func, name, arg0, arg1, arg2, arg3, arg4) do { \
if (__predict_false(sdt_##prov##_##mod##_##func##_##name->id)) \
More information about the svn-src-all
mailing list