From: compudj Date: Tue, 31 Oct 2006 20:49:06 +0000 (+0000) Subject: update usertrace X-Git-Tag: v0.12.20~1266 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7922f60fb7f4992f26ef2226ffa27efbdb5617a2;p=lttv.git update usertrace git-svn-id: http://ltt.polymtl.ca/svn@2223 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt-usertrace/ltt/ltt-usertrace.h b/ltt-usertrace/ltt/ltt-usertrace.h index 7ee2d4b9..57db86ce 100644 --- a/ltt-usertrace/ltt/ltt-usertrace.h +++ b/ltt-usertrace/ltt/ltt-usertrace.h @@ -37,6 +37,8 @@ extern "C" { #include #elif defined(__i386__) #include +#elif defined(__arm__) +#include #else #error "Unsupported architecture" #endif @@ -73,9 +75,13 @@ extern "C" { #define NR_syscalls 303 #endif +#ifdef __arm__ +#define __NR_ltt_trace_generic 322 +#define __NR_ltt_register_generic 323 +#undef NR_syscalls +#define NR_syscalls 324 +#endif - -//FIXME : setup for ARM //FIXME : setup for MIPS #ifndef _LIBC