Module Name: src
Committed By: riastradh
Date: Fri Aug 24 16:37:19 UTC 2018
Modified Files:
src/sys/sys: sdt.h
Log Message:
<sys/queue.h> for TAILQ_*. Parenthesize macro arguments.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 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.8 src/sys/sys/sdt.h:1.9
--- src/sys/sys/sdt.h:1.8 Fri Aug 24 03:25:01 2018
+++ src/sys/sys/sdt.h Fri Aug 24 16:37:19 2018
@@ -78,6 +78,7 @@
#else /* _KERNEL */
#include <sys/cdefs.h>
+#include <sys/queue.h>
#ifdef _KERNEL_OPT
#include "opt_dtrace.h"
@@ -170,8 +171,8 @@
#define SDT_PROBE(prov, mod, func, name, arg0, arg1, arg2, arg3, arg4) do { \
if (sdt_##prov##_##mod##_##func##_##name->id) \
(*sdt_probe_func)(sdt_##prov##_##mod##_##func##_##name->id, \
- (uintptr_t) arg0, (uintptr_t) arg1, (uintptr_t) arg2, \
- (uintptr_t) arg3, (uintptr_t) arg4); \
+ (uintptr_t) (arg0), (uintptr_t) (arg1), (uintptr_t) (arg2), \
+ (uintptr_t) (arg3), (uintptr_t) (arg4)); \
} while (0)
#define SDT_PROBE_ARGTYPE(prov, mod, func, name, num, type, xtype) \