summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorriastradh <riastradh@NetBSD.org>2023-04-30 08:46:33 +0000
committerriastradh <riastradh@NetBSD.org>2023-04-30 08:46:33 +0000
commit98d650950c7da08073d6b62e2ce2c444d5f8658e (patch)
treef51b9b3fb07e78add7eb86a32cf8d43cb9951bb6 /sys
parentb0caa569bf42a8020e4f3acdcf64d601c8526242 (diff)
sys/sdt.h: Omit spurious trailing semicolon in DTRACE_PROBE*.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/sdt.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/sys/sdt.h b/sys/sys/sdt.h
index 86732e92092..3d2308d89e4 100644
--- a/sys/sys/sdt.h
+++ b/sys/sys/sdt.h
@@ -1,4 +1,4 @@
-/* $NetBSD: sdt.h,v 1.21 2023/04/30 08:46:20 riastradh Exp $ */
+/* $NetBSD: sdt.h,v 1.22 2023/04/30 08:46:33 riastradh Exp $ */
/*-
* Copyright 2006-2008 John Birrell <jb@FreeBSD.org>
@@ -407,25 +407,25 @@
#define DTRACE_PROBE(name) \
DTRACE_PROBE_IMPL_START(name, 0, 0, 0, 0, 0); \
- DTRACE_PROBE_IMPL_END;
+ DTRACE_PROBE_IMPL_END
#define DTRACE_PROBE1(name, type0, arg0) \
DTRACE_PROBE_IMPL_START(name, arg0, 0, 0, 0, 0); \
SDT_PROBE_ARGTYPE(sdt, , , name, 0, #type0, NULL); \
- DTRACE_PROBE_IMPL_END;
+ DTRACE_PROBE_IMPL_END
#define DTRACE_PROBE2(name, type0, arg0, type1, arg1) \
DTRACE_PROBE_IMPL_START(name, arg0, arg1, 0, 0, 0); \
SDT_PROBE_ARGTYPE(sdt, , , name, 0, #type0, NULL); \
SDT_PROBE_ARGTYPE(sdt, , , name, 1, #type1, NULL); \
- DTRACE_PROBE_IMPL_END;
+ DTRACE_PROBE_IMPL_END
#define DTRACE_PROBE3(name, type0, arg0, type1, arg1, type2, arg2) \
DTRACE_PROBE_IMPL_START(name, arg0, arg1, arg2, 0, 0); \
SDT_PROBE_ARGTYPE(sdt, , , name, 0, #type0, NULL); \
SDT_PROBE_ARGTYPE(sdt, , , name, 1, #type1, NULL); \
SDT_PROBE_ARGTYPE(sdt, , , name, 2, #type2, NULL); \
- DTRACE_PROBE_IMPL_END;
+ DTRACE_PROBE_IMPL_END
#define DTRACE_PROBE4(name, type0, arg0, type1, arg1, type2, arg2, type3, \
arg3) \
@@ -434,7 +434,7 @@
SDT_PROBE_ARGTYPE(sdt, , , name, 1, #type1, NULL); \
SDT_PROBE_ARGTYPE(sdt, , , name, 2, #type2, NULL); \
SDT_PROBE_ARGTYPE(sdt, , , name, 3, #type3, NULL); \
- DTRACE_PROBE_IMPL_END;
+ DTRACE_PROBE_IMPL_END
#define DTRACE_PROBE5(name, type0, arg0, type1, arg1, type2, arg2, type3, \
arg3, type4, arg4) \
@@ -444,7 +444,7 @@
SDT_PROBE_ARGTYPE(sdt, , , name, 2, #type2, NULL); \
SDT_PROBE_ARGTYPE(sdt, , , name, 3, #type3, NULL); \
SDT_PROBE_ARGTYPE(sdt, , , name, 4, #type4, NULL); \
- DTRACE_PROBE_IMPL_END;
+ DTRACE_PROBE_IMPL_END
#endif /* KDTRACE_HOOKS */