Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/cddl/osnet/sys/sys osnet: Stop disabling dtrace pro...



details:   https://anonhg.NetBSD.org/src/rev/d17058939c29
branches:  trunk
changeset: 368721:d17058939c29
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Jul 30 13:03:05 2022 +0000

description:
osnet: Stop disabling dtrace probes.

diffstat:

 external/cddl/osnet/sys/sys/sdt.h |  23 +----------------------
 1 files changed, 1 insertions(+), 22 deletions(-)

diffs (37 lines):

diff -r f159afe613c2 -r d17058939c29 external/cddl/osnet/sys/sys/sdt.h
--- a/external/cddl/osnet/sys/sys/sdt.h Sat Jul 30 12:59:31 2022 +0000
+++ b/external/cddl/osnet/sys/sys/sdt.h Sat Jul 30 13:03:05 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sdt.h,v 1.8 2018/05/28 21:05:10 chs Exp $      */
+/*     $NetBSD: sdt.h,v 1.9 2022/07/30 13:03:05 riastradh Exp $        */
 
 /*-
  * Copyright (c) 2007 Pawel Jakub Dawidek <pjd%FreeBSD.org@localhost>
@@ -33,27 +33,6 @@
 
 #include_next <sys/sdt.h>
 #include <sys/dtrace.h>
- 
-#undef DTRACE_PROBE
-#undef DTRACE_PROBE1
-#undef DTRACE_PROBE2
-#undef DTRACE_PROBE3
-#undef DTRACE_PROBE4
-#undef DTRACE_PROBE5
-#undef DTRACE_PROBE6
-#undef DTRACE_PROBE7
-
-#define        DTRACE_PROBE(name)
-#define        DTRACE_PROBE1(name, type1, arg1)
-#define        DTRACE_PROBE2(name, type1, arg1, type2, arg2)
-#define        DTRACE_PROBE3(name, type1, arg1, type2, arg2, type3, arg3)
-#define        DTRACE_PROBE4(name, type1, arg1, type2, arg2, type3, arg3, type4, arg4) 
-#define        DTRACE_PROBE5(name, type1, arg1, type2, arg2, type3, arg3, \
-       type4, arg4, type5, arg5)
-#define        DTRACE_PROBE6(name, type1, arg1, type2, arg2, type3, arg3, \
-       type4, arg4, type5, arg5, type6, arg6)
-#define        DTRACE_PROBE7(name, type1, arg1, type2, arg2, type3, arg3, \
-       type4, arg4, type5, arg5, type6, arg6, type7, arg7)
 
 #ifdef KDTRACE_HOOKS
 SDT_PROBE_DECLARE(sdt, , , set__error);



Home | Main Index | Thread Index | Old Index