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

Is there a convenient way to convert .Trace format to perf.data file format? #99

Open
IamHuskar opened this issue Feb 8, 2024 · 2 comments

Comments

@IamHuskar
Copy link

If possible, there will be more visualization tools to analyze .trace file

@Grigory-Rylov
Copy link
Owner

Hello! Could you please send me perf.data format specification? I didn't know about this format.

@IamHuskar
Copy link
Author

I'm not very familiar with the perf.data format either. But you can simply get a perf.data file by running #perf record -g -a ./mainbinary under linux to get a perf.data file.
If we can convert the android.trace file to perf-data format(or other format). we can do analysis using many existing visualization tools.
like
https://github.com/jlfwong/speedscope (which support js/ruby/go/python/rust trace file)
https://github.com/KDAB/hotspot
https://github.com/brendangregg/FlameGraph

maybe it's a stupid idea. XD

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

No branches or pull requests

2 participants