Lines Matching defs:ompt_start_tool
142 // ompt_start_tool. For this to work on Linux, -Wl,--export-dynamic needs to be
150 (ompt_start_tool_t)dlsym(RTLD_DEFAULT, "ompt_start_tool");
160 // of ompt_start_tool() will be used in case no tool-supplied implementation of
164 ompt_start_tool(unsigned int omp_version, const char *runtime_version) {
171 (ompt_start_tool_t)dlsym(RTLD_NEXT, "ompt_start_tool");
181 // ompt_start_tool symbol across all modules loaded by a process. If
182 // ompt_start_tool is found, ompt_start_tool's return value is used to
201 printf("ompt_tool_windows(): looking for ompt_start_tool\n");
223 (FARPROC &)ompt_tool_p = GetProcAddress(modules[i], "ompt_start_tool");
228 printf("ompt_tool_windows(): ompt_start_tool found in module %s\n",
238 printf("ompt_tool_windows(): ompt_start_tool not found in module %s\n",
268 ret = ompt_start_tool(omp_version, runtime_version);
302 OMPT_VERBOSE_INIT_PRINT("Searching for ompt_start_tool in %s... ",
305 start_tool = (ompt_start_tool_t)dlsym(h, "ompt_start_tool");
312 "ompt_start_tool = NULL");
323 OMPT_VERBOSE_INIT_PRINT("Searching for ompt_start_tool in %s... ",
325 start_tool = (ompt_start_tool_t)GetProcAddress(h, "ompt_start_tool");
370 OMPT_VERBOSE_INIT_PRINT("Searching for ompt_start_tool in %s... ", fname);
371 start_tool = (ompt_start_tool_t)dlsym(h, "ompt_start_tool");