Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys sys/sdt.h: Nix needless SDT_VAR_DECL.
details: https://anonhg.NetBSD.org/src/rev/46a6f8a9d624
branches: trunk
changeset: 374529:46a6f8a9d624
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Apr 30 08:46:20 2023 +0000
description:
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.
diffstat:
sys/sys/sdt.h | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diffs (27 lines):
diff -r a3168ce44752 -r 46a6f8a9d624 sys/sys/sdt.h
--- a/sys/sys/sdt.h Sun Apr 30 08:46:11 2023 +0000
+++ b/sys/sys/sdt.h Sun Apr 30 08:46:20 2023 +0000
@@ -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@localhost>
@@ -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); \
Home |
Main Index |
Thread Index |
Old Index