-
Notifications
You must be signed in to change notification settings - Fork 318
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
atrace file failed to load #49
Labels
good first issue
Good for newcomers
Comments
@willnorris @mspang @nico @fmayer Hi, can anyone help me? |
Your file begins as follows:
The issue is the first line:
If you delete this the trace works fine. The line that causes the issue is here:
When we see TRACE: we expect the file to be in .ctrace format, which is to say a .zip file. In fact your trace is not compressed so we should instead use the kSystraceTraceType parser. This can happen if someone manually uses atrace without the compression option -z . We should amend the trace detection logic to take this situation into account.
|
@chromy Many many thx~ |
Reopening to track the auto-detection in trace processor |
primiano
pushed a commit
that referenced
this issue
Aug 4, 2020
Bug: #49 Change-Id: I8cfedda00636deee929e1550c3cd7db24af74356
This should now be fixed for real! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Has been around for a while,perfetto can not load file captured by atrace cmd:
https://ui.perfetto.dev/#!/ => open file
atrace.data.zip
I debug it, seems like something wrong with zlib
The text was updated successfully, but these errors were encountered: