#include <stddef.h>
#include <asm/ptrace.h>
+#include <linux/compat.h>
+#include <linux/fcntl.h>
+#include <linux/in.h>
+#include <linux/in6.h>
+#include <linux/mman.h>
#include <lttng/events.h>
#include <lttng/kernel-version.h>
struct trace_syscall_entry {
void *event_func;
const struct lttng_kernel_event_desc *desc;
- const struct lttng_kernel_event_field **fields;
+ const struct lttng_kernel_event_field * const *fields;
unsigned int nrargs;
};