From 11fa67184a3a26830223158345b1e7764bd33710 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Sun, 17 May 2015 04:32:45 +0200 Subject: [PATCH] trace: add support for ARM architecture Signed-off-by: Daniel Golle --- trace/trace.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/trace/trace.c b/trace/trace.c index d70957d..5941f90 100644 --- a/trace/trace.c +++ b/trace/trace.c @@ -42,6 +42,8 @@ # define EF_REG2 8 # endif #define reg_syscall_nr (EF_REG2 / 4) +#elif defined(__arm__) +#define reg_syscall_nr _offsetof(struct user, regs.uregs[7]) #else #error tracing is not supported on this architecture #endif -- 2.30.2