hotspot/agent/src/os/linux/libproc.h
changeset 15475 73896d91270c
parent 13529 dc25e69fd16d
child 22807 1cf02ef734e2
child 22234 da823d78ad65
equal deleted inserted replaced
15474:62425bb6b9e3 15475:73896d91270c
    77 5. for core file, we parse ELF files and read data from them. For processes we  use
    77 5. for core file, we parse ELF files and read data from them. For processes we  use
    78 combination of ptrace and /proc calls.
    78 combination of ptrace and /proc calls.
    79 
    79 
    80 *************************************************************************************/
    80 *************************************************************************************/
    81 
    81 
    82 #ifdef ia64
       
    83 struct user_regs_struct {
       
    84 /* copied from user.h which doesn't define this in a struct */
       
    85 
       
    86 #define IA64_REG_COUNT (EF_SIZE/8+32)   /* integer and fp regs */
       
    87 unsigned long   regs[IA64_REG_COUNT];     /* integer and fp regs */
       
    88 };
       
    89 #endif
       
    90 
    82 
    91 #if defined(sparc)  || defined(sparcv9)
    83 #if defined(sparc)  || defined(sparcv9)
    92 #define user_regs_struct  pt_regs
    84 #define user_regs_struct  pt_regs
    93 #endif
    85 #endif
    94 
    86