Mercurial > hg > graal-jvmci-8
comparison agent/src/os/linux/libproc.h @ 23480:252404a1e9e2
Merge
author | dcubed |
---|---|
date | Fri, 18 Dec 2015 10:58:25 -0800 |
parents | 48eec0ba6526 d06b64fc150f |
children | b5f3a471e646 |
comparison
equal
deleted
inserted
replaced
23479:48eec0ba6526 | 23480:252404a1e9e2 |
---|---|
81 #define false 0 | 81 #define false 0 |
82 | 82 |
83 struct ps_prochandle; | 83 struct ps_prochandle; |
84 | 84 |
85 // attach to a process | 85 // attach to a process |
86 struct ps_prochandle* Pgrab(pid_t pid); | 86 struct ps_prochandle* Pgrab(pid_t pid, char* err_buf, size_t err_buf_len); |
87 | 87 |
88 // attach to a core dump | 88 // attach to a core dump |
89 struct ps_prochandle* Pgrab_core(const char* execfile, const char* corefile); | 89 struct ps_prochandle* Pgrab_core(const char* execfile, const char* corefile); |
90 | 90 |
91 // release a process or core | 91 // release a process or core |