78 # define SELF_DEFINED__USE_GNU 118 fprintf(stderr,
"Init process callback from monitor received\n");
128 fprintf(stderr,
"Fini process callback from monitor received\n");
138 if ((rval = PAPI_thread_init(pthread_self)) != PAPI_OK) {
139 DIEx(
"error: PAPI error (%d): %s.", rval, PAPI_strerror(rval));
148 fprintf(stderr,
"init_thread(TID=0x%ux) callback from monitor received\n", tid);
158 fprintf(stderr,
"fini_thread(TID=0x%lx) callback from monitor received\n", (
long)pthread_self());
168 fprintf(stderr,
"dlopen(%s) callback from monitor received\n", lib);
void monitor_fini_process()
void monitor_dlopen(char *lib)
void fini_thread(hpcrun_profiles_desc_t **profdesc, int is_thread)
void monitor_init_library()
void monitor_fini_library()
void monitor_fini_thread(void *data)
void monitor_init_process(const char *name, int *argc, char **argv, const unsigned pid)
void monitor_init_thread_support(void)
hpcrun_profiles_desc_t * init_thread(int is_thread)
void * monitor_init_thread(unsigned tid)