< prev index next >

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

Print this page

        

*** 52,61 **** --- 52,62 ---- #define true 1 #define false 0 #endif struct ps_prochandle; + struct lib_info; #ifdef __cplusplus extern "C" { #endif
*** 97,106 **** --- 98,110 ---- uintptr_t get_lib_base(struct ps_prochandle* ph, int index); // returns true if given library is found in lib list bool find_lib(struct ps_prochandle* ph, const char *lib_name); + // returns lib which contains pc + struct lib_info *find_lib_by_address(struct ps_prochandle* ph, uintptr_t pc); + // symbol lookup uintptr_t lookup_symbol(struct ps_prochandle* ph, const char* object_name, const char* sym_name); // address->nearest symbol lookup. return NULL for no symbol
< prev index next >