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

Handle malformed dumpsys package output. #1082

Merged
merged 1 commit into from
Apr 20, 2022

Conversation

pmuetschard
Copy link
Member

Some devices produce malformed dumpsys package output, adding in extra newlines. This change handles a specific version of how this extra whitespace breaks the parser.

Parsing the output of dumpsys package is not really a good way to do this. Fixing this in a better way is tracked in http://b/229287771

Fixes #1077

Some devices produce malformed dumpsys package output, adding in extra
newlines. This change handles a specific version of how this extra
whitespace breaks the parser.

Fixes google#1077
@pmuetschard pmuetschard merged commit 14b8eb6 into google:master Apr 20, 2022
@pmuetschard pmuetschard deleted the dumpsys branch April 20, 2022 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tracing fails to start on Xiaomi 12
2 participants