< prev index next >

src/jdk.hotspot.agent/linux/native/libsaproc/libproc.h

Print this page

        

*** 87,109 **** #define false 0 struct ps_prochandle; // attach to a process ! struct ps_prochandle* Pgrab(pid_t pid, char* err_buf, size_t err_buf_len); // attach to a core dump ! struct ps_prochandle* Pgrab_core(const char* execfile, const char* corefile); // release a process or core ! void Prelease(struct ps_prochandle* ph); // functions not directly available in Solaris libproc // initialize libproc (call this only once per app) // pass true to make library verbose ! bool init_libproc(bool verbose); // get number of threads int get_num_threads(struct ps_prochandle* ph); // get lwp_id of n'th thread --- 87,113 ---- #define false 0 struct ps_prochandle; // attach to a process ! JNIEXPORT struct ps_prochandle* JNICALL ! Pgrab(pid_t pid, char* err_buf, size_t err_buf_len); // attach to a core dump ! JNIEXPORT struct ps_prochandle* JNICALL ! Pgrab_core(const char* execfile, const char* corefile); // release a process or core ! JNIEXPORT void JNICALL ! Prelease(struct ps_prochandle* ph); // functions not directly available in Solaris libproc // initialize libproc (call this only once per app) // pass true to make library verbose ! JNIEXPORT bool JNICALL ! init_libproc(bool verbose); // get number of threads int get_num_threads(struct ps_prochandle* ph); // get lwp_id of n'th thread
< prev index next >