comparison agent/src/os/linux/libproc.h @ 17940:7f77d17d0f13

8042059: Various fixes to linux/sparc Reviewed-by: twisti, kvn
author mikael
date Tue, 29 Apr 2014 22:05:10 -0700
parents a9becfeecd1b
children a07a3a29df67
comparison
equal deleted inserted replaced
17939:0fb5b60ab4a2 17940:7f77d17d0f13
32 32
33 #if defined(arm) || defined(ppc) 33 #if defined(arm) || defined(ppc)
34 #include "libproc_md.h" 34 #include "libproc_md.h"
35 #endif 35 #endif
36 36
37 #if defined(sparc) || defined(sparcv9) 37 #include <linux/ptrace.h>
38 /*
39 If _LP64 is defined ptrace.h should be taken from /usr/include/asm-sparc64
40 otherwise it should be from /usr/include/asm-sparc
41 These two files define pt_regs structure differently
42 */
43 #ifdef _LP64
44 #include "asm-sparc64/ptrace.h"
45 #else
46 #include "asm-sparc/ptrace.h"
47 #endif
48
49 #endif //sparc or sparcv9
50 38
51 /************************************************************************************ 39 /************************************************************************************
52 40
53 0. This is very minimal subset of Solaris libproc just enough for current application. 41 0. This is very minimal subset of Solaris libproc just enough for current application.
54 Please note that the bulk of the functionality is from proc_service interface. This 42 Please note that the bulk of the functionality is from proc_service interface. This