sys/sdt.h: Nix needless SDT_VAR_DECL.
Previously introduced as a provisional build fix, its need has been obviated by making SDT_PROBE* do __USE on the arguments in builds without KDTRACE_HOOKS.
This commit is contained in:
parent
281a66cd35
commit
c6e9851d18
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: sdt.h,v 1.20 2023/04/30 08:46:03 riastradh Exp $ */
|
||||
/* $NetBSD: sdt.h,v 1.21 2023/04/30 08:46:20 riastradh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright 2006-2008 John Birrell <jb@FreeBSD.org>
|
||||
|
@ -173,8 +173,6 @@
|
|||
arg1, xarg1, arg2, xarg2, arg3, xarg3, arg4, xarg4, arg5, xarg5, arg6, \
|
||||
xarg6)
|
||||
|
||||
#define SDT_VAR_DECL(decl) __nothing
|
||||
|
||||
#define DTRACE_PROBE(name) \
|
||||
__nothing
|
||||
#define DTRACE_PROBE1(name, type0, arg0) \
|
||||
|
@ -400,8 +398,6 @@
|
|||
(uintptr_t)(arg6)); \
|
||||
} while (0)
|
||||
|
||||
#define SDT_VAR_DECL(decl) decl ;
|
||||
|
||||
#define DTRACE_PROBE_IMPL_START(name, arg0, arg1, arg2, arg3, arg4) do \
|
||||
{ \
|
||||
static SDT_PROBE_DEFINE(sdt, , , name); \
|
||||
|
|
Loading…
Reference in New Issue