96 #define CALL_DLSYM(X) \ 97 dl_ ## X = (dl_ ## X ## _t)dlsym(libpapi, #X) 103 libpapi = dlopen(HPC_LIBPAPI_SO, RTLD_LAZY);
147 if ((error = dlerror()) !=
NULL) {
148 fprintf(stderr,
"%s\n", error);
dl_PAPI_is_initialized_t dl_PAPI_is_initialized
static void handle_any_dlerror()
dl_PAPI_get_hardware_info_t dl_PAPI_get_hardware_info
dl_PAPI_get_opt_t dl_PAPI_get_opt
dl_PAPI_library_init_t dl_PAPI_library_init
int(* dl_PAPI_query_event_t)(int)
int(* dl_PAPI_get_event_info_t)(int, PAPI_event_info_t *)
int(* dl_PAPI_get_opt_t)(int, PAPI_option_t *)
dl_PAPI_enum_event_t dl_PAPI_enum_event
dl_PAPI_query_event_t dl_PAPI_query_event
int(* dl_PAPI_enum_event_t)(int *, int)
int(* dl_PAPI_library_init_t)(int)
int(* dl_PAPI_is_initialized_t)(void)
const PAPI_hw_info_t *(* dl_PAPI_get_hardware_info_t)(void)
dl_PAPI_get_event_info_t dl_PAPI_get_event_info