aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2017-10-22 20:14:48 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2017-10-22 20:14:48 +0000
commit4f7663af9f6d3611b1e66be1abe0fcf264b4fbf8 (patch)
tree983345281a3ca2c948c48ba90989995d8ed77fbe
parent1f04a45950ad1bf0dd52f8067d3b76afa3be8355 (diff)
downloadsrc-4f7663af9f6d3611b1e66be1abe0fcf264b4fbf8.tar.gz
src-4f7663af9f6d3611b1e66be1abe0fcf264b4fbf8.zip
sdt: whack unused SDT_PROBE_ENABLED
Notes
Notes: svn path=/head/; revision=324867
-rw-r--r--sys/sys/sdt.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/sys/sdt.h b/sys/sys/sdt.h
index c680ea85718a..25423d764e3c 100644
--- a/sys/sys/sdt.h
+++ b/sys/sys/sdt.h
@@ -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)
@@ -161,9 +160,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)) \
(*sdt_probe_func)(sdt_##prov##_##mod##_##func##_##name->id, \