Skip to content
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

Main Perfetto UI for System Profiling #2785

Merged
merged 4 commits into from May 29, 2019
Merged

Conversation

pmuetschard
Copy link
Member

To be able to take a perfetto trace, provide the UI with the desired Perfetto config protobuf in text format in a file passed via the --perfetto flag.

@@ -243,6 +245,9 @@ private void updateFrom(Properties properties) {
disableReplayOptimization =
getBoolean(properties, "replay.disableOptimization", disableReplayOptimization);
reportCrashes = getBoolean(properties, "crash.reporting", reportCrashes);
perfettoSplitterWeights =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We had some problems with negative splitter weights before (somehow...?)
Any chance we can pre-empt that issue here ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the negative splitter weights were only an issues with the tabs due to the custom handling there to allow tabs moving around. Here and in the other places where we use the splitter widget directly, the weights are already sanitized.

Copy link
Contributor

@AWoloszyn AWoloszyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One comment in the middle, I THINK? the rest is ok.
It is a lot of code... so I cannot guarantee anything.

@pmuetschard pmuetschard merged commit bd6fff0 into google:master May 29, 2019
@pmuetschard pmuetschard deleted the perfetto branch May 29, 2019 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants