-
Notifications
You must be signed in to change notification settings - Fork 83
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
Can not load trace when using current trace-cmd master #50
Comments
Repo: https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git |
This issue seems to back with a different error message when trying to open traces captured with
Rolling back to |
Can you try the libtraceevent branch and see if it still happens? And if it does, is it possible to send me a trace that fails? Thanks Oschowa. |
I'm still getting the same error on the libtraceevent branch, here's a sample trace: |
Apologies for the late reply - been a bit slammed at work. So it looks like they added a compressed page format so this bit of code:
Is failing because buf is "zstd". Do you have a way to disable this compression with the latest trace-cmd? I'll look at adding this but will take a bit of time. Thanks Oschowa. |
Got Oschowa's zstd sample trace loading in gpuvis. This is all on Linux only right now cause I had to pull in a lot of the libtracefs, trace-cmd, and libtraceevent code and all this stuff relies a lot on gcc extensions and Linux header files, functions, etc. Lot of work still to go to verify older traces (some of which aren't loading right now) and make sure new ones load correctly and with decent performance. Then have to get all this working on Windows. 😭 |
Can you push the branch? would be nice for us linux users to be able to use :P |
Pushed it to zstd branch: https://github.com/mikesart/gpuvis/tree/zstd And sorry - just recently started a new job and have been kinda slammed... |
As a workaround, a tracefile can be converted to version 6 to be opened with gpuvis using the command:
|
Current gpuvis only supports trace-cmd file format 6. So we convert to it after capture. Reference: mikesart/gpuvis#50
Wow, zstd makes trace files 6 times smaller. I hope it will be supported here soon. Thanks lostgoat for workaround. |
Following error message appears in GPUVis log:
The text was updated successfully, but these errors were encountered: