fix: 'struct timex' removed upstream (v5.6)
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 24 Feb 2020 16:30:22 +0000 (11:30 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 24 Feb 2020 19:00:54 +0000 (14:00 -0500)
The 'timex' struct was remove in v5.6 and replaced by 2 variants, one
that is y2038 compliant and a compat version for 32bit archs.

Add this temporary fix while we update our syscalls tracepoint headers,
the type of this struct has limited importance since it's only used to
record the adress in the trace.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Change-Id: I085b22f282db57985f1c3d341e7c0866cb20e3c9

lttng-syscalls.c

index 7a2d02a9ef1ff6c8d4e41ea39c62918c3c2a77e7..6d232d53831b889b758e4195a9898406516c1b6a 100644 (file)
@@ -73,6 +73,11 @@ struct mmap_arg_struct;
 struct file_handle;
 struct user_msghdr;
 
+/*
+ * Forward declaration for kernels >= 5.6
+ */
+struct timex;
+
 #ifdef IA32_NR_syscalls
 #define NR_compat_syscalls IA32_NR_syscalls
 #else
This page took 0.026475 seconds and 4 git commands to generate.