#ifndef LTTNG_SYSCALLS_H
#define LTTNG_SYSCALLS_H
-#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 mmap_arg_struct;
struct file_handle;
struct user_msghdr;
+struct __kernel_old_itimerval;
+struct open_how;
+struct mount_attr;
+struct futex_waitv;
/*
* Forward declaration for kernels >= 5.6
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;
};