#include <ltt/kernelutils-x86_64.h>
#elif defined(__i386__)
#include <ltt/kernelutils-i386.h>
+#elif defined(__arm__)
+#include <ltt/kernelutils-arm.h>
#else
#error "Unsupported architecture"
#endif
#endif
#ifdef i386
-#define __NR_ltt_trace_generic 317
-#define __NR_ltt_register_generic 318
+#define __NR_ltt_trace_generic 320
+#define __NR_ltt_register_generic 321
#undef NR_syscalls
-#define NR_syscalls 319
+#define NR_syscalls 322
#endif
#ifdef __x86_64__
-#define __NR_ltt_trace_generic 279
-#define __NR_ltt_register_generic 280
+#define __NR_ltt_trace_generic 281
+#define __NR_ltt_register_generic 281
#undef NR_syscalls
-#define NR_syscalls 281
+#define NR_syscalls 282
#endif
#ifdef __powerpc__
-#define __NR_ltt_trace_generic 301
-#define __NR_ltt_register_generic 302
+#define __NR_ltt_trace_generic 302
+#define __NR_ltt_register_generic 303
#undef NR_syscalls
-#define NR_syscalls 303
+#define NR_syscalls 304
#endif
#ifdef __powerpc64__
-#define __NR_ltt_trace_generic 301
-#define __NR_ltt_register_generic 302
+#define __NR_ltt_trace_generic 302
+#define __NR_ltt_register_generic 303
#undef NR_syscalls
-#define NR_syscalls 303
+#define NR_syscalls 304
#endif
+#ifdef __arm__
+#define __NR_ltt_trace_generic 347
+#define __NR_ltt_register_generic 348
+#undef NR_syscalls
+#define NR_syscalls 349
+#endif
-
-//FIXME : setup for ARM
//FIXME : setup for MIPS
#ifndef _LIBC