-
Notifications
You must be signed in to change notification settings - Fork 32
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
Loading perf artifact is not well documented, or not flexible #106
Comments
The current Perf capture is documented here, including exact script commands and conversion to txt format with the right naming - https://github.com/microsoft/Microsoft-Performance-Tools-Linux-Android/blob/develop/LinuxTraceLogCapture.md#perf Unfortunately, it's a bit complicated, but that is because LTTng does not support CPU Sampling capture yet, and the perf tool is the built-in kernel standard tool that allows this. Decoding to text is required not only to read the format but because it contains symbols. LTTng does not have great symbol support at the moment. I don't particularly love that we REQUIRE a certain extension (like .txt). However, with a plugin framework as is used by Microsoft Performance Toolkit SDK, you do need to see if a certain plugin (like perf) supports a certain file format, and an extension is a standard way to do that. The file is indeed txt format. We also use the same format and general capture method as https://aka.ms/perfcollect Do you have any suggestions or PR to improve @ami-GS? FYI @Nemati as he recently used this and may also have some ideas as well |
I did not notice the document. but what I did was more simpler than the one written. perf record -F XX -a -g -o out.perf.data MY_COMMAND
perf script -i out.perf.data > out.perf.data.txt This file could be visualized on WPA And, just .txt file failed to be loaded. Need to have XXX.perf.data.txt. Associating |
Closing as this has been documented for some time the required format and name |
Hi team,
I did reverse engineering to load perf file. Then I felt it is not well documented and not flexible.
perf script
ed outputEspecially about the extension requirements, as WPA extends feature for .txt loading as shown in Diagnostic Console
The text was updated successfully, but these errors were encountered: