Module Name: src Committed By: riastradh Date: Sun Apr 30 08:46:33 UTC 2023
Modified Files: src/sys/sys: sdt.h Log Message: sys/sdt.h: Omit spurious trailing semicolon in DTRACE_PROBE*. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/sys/sdt.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/sys/sdt.h diff -u src/sys/sys/sdt.h:1.21 src/sys/sys/sdt.h:1.22 --- src/sys/sys/sdt.h:1.21 Sun Apr 30 08:46:20 2023 +++ src/sys/sys/sdt.h Sun Apr 30 08:46:33 2023 @@ -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 <j...@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 */