Lines Matching defs:ompt_start_tool
139 // ompt_start_tool. For this to work on Linux, -Wl,--export-dynamic needs to be
147 (ompt_start_tool_t)dlsym(RTLD_DEFAULT, "ompt_start_tool");
157 // of ompt_start_tool() will be used in case no tool-supplied implementation of
161 ompt_start_tool(unsigned int omp_version, const char *runtime_version) {
168 (ompt_start_tool_t)dlsym(RTLD_NEXT, "ompt_start_tool");
178 // ompt_start_tool symbol across all modules loaded by a process. If
179 // ompt_start_tool is found, ompt_start_tool's return value is used to
198 printf("ompt_tool_windows(): looking for ompt_start_tool\n");
220 (FARPROC &)ompt_tool_p = GetProcAddress(modules[i], "ompt_start_tool");
225 printf("ompt_tool_windows(): ompt_start_tool found in module %s\n",
235 printf("ompt_tool_windows(): ompt_start_tool not found in module %s\n",
265 ret = ompt_start_tool(omp_version, runtime_version);
299 OMPT_VERBOSE_INIT_PRINT("Searching for ompt_start_tool in %s... ",
302 start_tool = (ompt_start_tool_t)dlsym(h, "ompt_start_tool");
309 "ompt_start_tool = NULL");
320 OMPT_VERBOSE_INIT_PRINT("Searching for ompt_start_tool in %s... ",
322 start_tool = (ompt_start_tool_t)GetProcAddress(h, "ompt_start_tool");
367 OMPT_VERBOSE_INIT_PRINT("Searching for ompt_start_tool in %s... ", fname);
368 start_tool = (ompt_start_tool_t)dlsym(h, "ompt_start_tool");