sdt: whack unused SDT_PROBE_ENABLED
This commit is contained in:
parent
1f04a45950
commit
4f7663af9f
@ -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, \
|
||||
|
Loading…
Reference in New Issue
Block a user