Skip to content

Commit 2de4b3a

Browse files
committed
group packages instead modules
1 parent a2a4ab4 commit 2de4b3a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/scorep.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ void region_begin(const std::string& region_name, std::string module, std::strin
3131
SCOREP_User_RegionInit(&handle.value, NULL, &SCOREP_User_LastFileHandle,
3232
region_name.c_str(), SCOREP_USER_REGION_TYPE_FUNCTION,
3333
file_name.c_str(), line_number);
34-
SCOREP_User_RegionSetGroup(handle.value, module.c_str());
34+
SCOREP_User_RegionSetGroup(handle.value, std::string(module,0,module.find('.')).c_str());
3535
}
3636
SCOREP_User_RegionEnter(handle.value);
3737
}

0 commit comments

Comments
 (0)