< prev index next >

agent/src/os/linux/libproc.h

Print this page

        

@@ -34,10 +34,14 @@
 #include "libproc_md.h"
 #endif
 
 #include <sys/ptrace.h>
 
+#if defined(aarch64)
+#include "asm/ptrace.h"
+#endif
+
 /************************************************************************************
 
 0. This is very minimal subset of Solaris libproc just enough for current application.
 Please note that the bulk of the functionality is from proc_service interface. This
 adds Pgrab__ and some missing stuff. We hide the difference b/w live process and core

@@ -70,10 +74,13 @@
 
 #if defined(sparc) || defined(sparcv9) || defined(ppc64)
 #include <asm/ptrace.h>
 #define user_regs_struct  pt_regs
 #endif
+#if defined(aarch64)
+#define user_regs_struct user_pt_regs
+#endif
 
 // This C bool type must be int for compatibility with Linux calls and
 // it would be a mistake to equivalence it to C++ bool on many platforms
 
 typedef int bool;
< prev index next >