[rocprofiler-systems] Enable HOST OMPVV runtime-instrumentation CTests (#1970)
* Enable HOST ompvv runtime-instrumentation ctests * Fix rocprofiler-systems-avail-regex-negation test failure * Exclude problematic function from instrumentation * Make push pop skip an env option for ctests * Remove SKIP_PUSH_POP_CHECK from argument parse Co-authored-by: David Galiffi <David.Galiffi@amd.com> --------- Co-authored-by: David Galiffi <David.Galiffi@amd.com>
Tento commit je obsažen v:
+7
-1
@@ -577,6 +577,11 @@ module_function::is_routine_constrained() const
|
||||
"S)_|::basic_string[a-zA-Z,<>: ]+::_M_create|::__|::_(Alloc|State)|"
|
||||
"std::(basic_|)(ifstream|ios|istream|ostream|stream))",
|
||||
regex_opts);
|
||||
|
||||
static std::regex exclude_fortran(
|
||||
"(log2visit|Log2VisitHelper)", // From LLVM's libFortranRuntime.a library
|
||||
regex_opts);
|
||||
|
||||
static std::regex leading(
|
||||
"^(\\.|frame_dummy|transaction clone|virtual thunk|non-virtual thunk|"
|
||||
"\\(|targ|kmp_threadprivate_|Kokkos::Profiling::|_IO_|___|"
|
||||
@@ -597,7 +602,8 @@ module_function::is_routine_constrained() const
|
||||
|
||||
// don't instrument the functions when key is found anywhere in function name
|
||||
if(std::regex_search(function_name, exclude) ||
|
||||
std::regex_search(function_name, exclude_cxx))
|
||||
std::regex_search(function_name, exclude_cxx) ||
|
||||
std::regex_search(function_name, exclude_fortran))
|
||||
{
|
||||
return _report("Excluding", "critical", 3);
|
||||
}
|
||||
|
||||
Odkázat v novém úkolu
Zablokovat Uživatele