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

echion-web? #61

Open
hgrecco opened this issue Jan 15, 2024 · 4 comments
Open

echion-web? #61

hgrecco opened this issue Jan 15, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@hgrecco
Copy link

hgrecco commented Jan 15, 2024

I am having trouble running Austin (in a macbook pro) and echion seems to work. Is there austin-web like program for echion? If not, how can visualize the echion output files.

@P403n1x87
Copy link
Owner

@hgrecco I would be interested in knowing what issues you're facing with Austin, in case this is something that we can fix. I would appreciate if you could open an issue in the Austin repository with all the details on how to reproduce the problem 🙏 .

As for the output from Echion, this is in the MOJO binary format, which is also used by Austin. This means that any tools that is good for visualising MOJO is good for Echion too. Perhaps the best one at the moment is the Austin VS Code extension. Alternatively, you could install austin-python, and use the mojo2austin to convert the MOJO file into the Austin collapsed stack format. From there you can then use the other conversion tools, such as austin2pprof or austin2speedscope to convert to other formats.

I appreciate this might not be an ideal workflow, but please note that Echion is still in an experimental stage.

Hope this helps for now!

@hgrecco
Copy link
Author

hgrecco commented Jan 15, 2024

The problem with Austin is that it does not recognize the python script as Python program. It has a shebang, a .py extension and the right execution privileges. But Austin does not recognize it. I tried using -C, but same problem. My guess is that I am no using Python standard distro but actually from anaconda.

I am not sure how you check that python is running but maybe that signature is different in anaconda python.

@P403n1x87
Copy link
Owner

@hgrecco thanks for the extra details. I'd really appreciate if you could open an issue in Austin, with details such as the Anaconda version, Austin version, OS version etc..., so that I can try to reproduce the problem 🙏

@hgrecco
Copy link
Author

hgrecco commented Jan 17, 2024

I tried to reproduce by producing a clean, conda environment and now is working. Sorry for the noise!

@P403n1x87 P403n1x87 added the enhancement New feature or request label Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants