Right check, wrong place. The "-C" option (don't profile child teams)
was broken. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27926 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -389,6 +389,9 @@ main(int argc, const char* const* argv)
|
||||
}
|
||||
|
||||
case B_DEBUGGER_MESSAGE_TEAM_CREATED:
|
||||
if (!gOptions.profile_teams)
|
||||
break;
|
||||
|
||||
if (threadManager.AddTeam(message.team_created.new_team)
|
||||
== B_OK) {
|
||||
threadManager.AddThread(message.team_created.new_team);
|
||||
@@ -414,9 +417,6 @@ main(int argc, const char* const* argv)
|
||||
break;
|
||||
|
||||
case B_DEBUGGER_MESSAGE_IMAGE_CREATED:
|
||||
if (!gOptions.profile_teams)
|
||||
break;
|
||||
|
||||
if (Team* team = threadManager.FindTeam(message.origin.team)) {
|
||||
team->AddImage(message.image_created.info,
|
||||
message.image_created.image_event);
|
||||
|
||||
Reference in New Issue
Block a user