The current master branch of lttng-modules doesn't seem to compile for
arm-32 builds.
The patch below repairs the build for arm (and still builds on a x86)
(tested on Ubuntu 12.04 LTS x86 + imx6 solo)
Signed-off-by: Martin Leisener <martin@leisener.de>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
ctf_integer_hex(int, fd, fd)
ctf_integer_hex(loff_t, offset, offset)
ctf_integer_hex(loff_t, nbytes, nbytes)
- ctf_integer_hex(unsigned int, flags), flags)
+ ctf_integer_hex(unsigned int, flags, flags)
)
)
#include <linux/anon_inodes.h>
#include "wrapper/file.h"
#include <linux/jhash.h>
+#include <linux/uaccess.h>
#include "wrapper/uuid.h"
#include "wrapper/vmalloc.h" /* for wrapper_vmalloc_sync_all() */