--- old/src/jdk.hotspot.agent/linux/native/libsaproc/libproc.h 2019-12-15 10:42:18.040929600 +0900 +++ new/src/jdk.hotspot.agent/linux/native/libsaproc/libproc.h 2019-12-15 10:42:17.367125100 +0900 @@ -54,6 +54,7 @@ #endif struct ps_prochandle; +struct lib_info; #ifdef __cplusplus extern "C" { @@ -99,6 +100,9 @@ // 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);