Use proper wait stacks grouping variable.

This commit is contained in:
Bartosz Taudul
2026-05-24 14:15:53 +02:00
parent e8a0676c0b
commit b7e405ebbd

View File

@@ -625,7 +625,7 @@ void View::DrawWaitStacks()
case 1:
{
SmallCheckbox( ICON_FA_LAYER_GROUP " Group by function name", &m_groupWaitStackBottomUp );
auto tree = GetCallstackFrameTreeBottomUp( stacks, m_groupCallstackTreeByNameBottomUp );
auto tree = GetCallstackFrameTreeBottomUp( stacks, m_groupWaitStackBottomUp );
if( !tree.empty() )
{
int idx = 0;
@@ -640,7 +640,7 @@ void View::DrawWaitStacks()
case 2:
{
SmallCheckbox( ICON_FA_LAYER_GROUP " Group by function name", &m_groupWaitStackTopDown );
auto tree = GetCallstackFrameTreeTopDown( stacks, m_groupCallstackTreeByNameTopDown );
auto tree = GetCallstackFrameTreeTopDown( stacks, m_groupWaitStackTopDown );
if( !tree.empty() )
{
int idx = 0;