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

Support for austin #76

Closed
mgedmin opened this issue Oct 25, 2024 · 3 comments · Fixed by #77
Closed

Support for austin #76

mgedmin opened this issue Oct 25, 2024 · 3 comments · Fixed by #77

Comments

@mgedmin
Copy link

mgedmin commented Oct 25, 2024

Austin produces profiles compatible with flamegraph.pl, but flameshow is unable to handle them:

flameshow.exceptions.ProfileParseException: Can not match any parser

I was hoping to play with flameshow because Austin's own austin-tui is a bit limited.

I'm attaching a sample profile for reference (gzipped, because GitHub didn't let me attach the 3 MB file directly):
austin_1729853732_245906.aprof.txt.gz

@laixintao
Copy link
Owner

Thanks for telling me this!

I downloaded your sample (thanks again for posting file), seems that the austin file starts with some comments:

# austin: 3.7.0
# interval: 100
# mode: wall
# python: 3.12.7
# duration: 828637
# sampling: 3,35,6057
# saturation: 39/5305
# errors: 820/5305

After manually remove those I am able to open it work with flameshow.

I will let flameshow handle the opening comments so that you don't need to manually remove it.

@laixintao
Copy link
Owner

Hi @mgedmin

It's supported now! can try to upgrade to v1.1.3

image

@mgedmin
Copy link
Author

mgedmin commented Nov 2, 2024

Amazing! Thank you for the quick fix!

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 a pull request may close this issue.

2 participants