<sys/queue.h> for TAILQ_*. Parenthesize macro arguments.
This commit is contained in:
parent
50d4d47f30
commit
de83ca4c98
|
@ -78,6 +78,7 @@
|
||||||
#else /* _KERNEL */
|
#else /* _KERNEL */
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
|
#include <sys/queue.h>
|
||||||
|
|
||||||
#ifdef _KERNEL_OPT
|
#ifdef _KERNEL_OPT
|
||||||
#include "opt_dtrace.h"
|
#include "opt_dtrace.h"
|
||||||
|
@ -170,8 +171,8 @@
|
||||||
#define SDT_PROBE(prov, mod, func, name, arg0, arg1, arg2, arg3, arg4) do { \
|
#define SDT_PROBE(prov, mod, func, name, arg0, arg1, arg2, arg3, arg4) do { \
|
||||||
if (sdt_##prov##_##mod##_##func##_##name->id) \
|
if (sdt_##prov##_##mod##_##func##_##name->id) \
|
||||||
(*sdt_probe_func)(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) (arg0), (uintptr_t) (arg1), (uintptr_t) (arg2), \
|
||||||
(uintptr_t) arg3, (uintptr_t) arg4); \
|
(uintptr_t) (arg3), (uintptr_t) (arg4)); \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
#define SDT_PROBE_ARGTYPE(prov, mod, func, name, num, type, xtype) \
|
#define SDT_PROBE_ARGTYPE(prov, mod, func, name, num, type, xtype) \
|
||||||
|
|
Loading…
Reference in New Issue