hotspot/agent/src/os/linux/libproc.h
changeset 35049 5a30aa672689
parent 31394 7711fbc2c184
child 35073 3b3c2fb85d58
equal deleted inserted replaced
35046:a5ade0cccbd4 35049:5a30aa672689
    84 #define false 0
    84 #define false 0
    85 
    85 
    86 struct ps_prochandle;
    86 struct ps_prochandle;
    87 
    87 
    88 // attach to a process
    88 // attach to a process
    89 struct ps_prochandle* Pgrab(pid_t pid);
    89 struct ps_prochandle* Pgrab(pid_t pid, char* err_buf, size_t err_buf_len);
    90 
    90 
    91 // attach to a core dump
    91 // attach to a core dump
    92 struct ps_prochandle* Pgrab_core(const char* execfile, const char* corefile);
    92 struct ps_prochandle* Pgrab_core(const char* execfile, const char* corefile);
    93 
    93 
    94 // release a process or core
    94 // release a process or core