-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove thread state change callstack feature flag #4256
Remove thread state change callstack feature flag #4256
Conversation
This removes the feature flag for callstacks on thread state changes. Test: Local Bug: http://b/235554760
src/OrbitQt/orbitmainwindow.cpp
Outdated
} | ||
|
||
uint16_t stack_dump_size = static_cast<uint16_t>( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thread_state_change_stack_dump_size
to not confuse with the one for sampling.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! :)
.value(kThreadStateChangeCallstackMaxCopyRawStackSizeSettingKey, | ||
orbit_qt::CaptureOptionsDialog::kThreadStateChangeMaxCopyRawStackSizeDefaultValue) | ||
.toUInt()); | ||
app_->SetThreadStateChangeCallstackStackDumpSize(stack_dump_size); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We were setting the stack_dump_size as max before in case of unspecified callstack collection. I guess that this doesn't matter at all in this case, since it will be ignored, but could we have a potential issue because unespecified value?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, that shouldn't be an issue. That value is ignored in that case anyways.
This removes the feature flag for callstacks on thread state changes.
Test: Local
Bug: http://b/235554760