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

Python support #52

Open
svalat opened this issue Sep 10, 2019 · 2 comments
Open

Python support #52

svalat opened this issue Sep 10, 2019 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@svalat
Copy link
Member

svalat commented Sep 10, 2019

Would be nice to also support python.

Two ways, use language self inspection as looks possible by https://github.com/asciimoo/memspector/blob/master/memspector.py

Or intercept malloc calls inside python engine and ask via python lib where we are in the python code (not sure this is possible).

@svalat svalat added enhancement New feature or request help wanted Extra attention is needed labels Sep 10, 2019
@svalat
Copy link
Member Author

svalat commented Sep 10, 2019

Should look here to : https://docs.python.org/3/c-api/memory.html

Looks nice if there is a way to extract the python call stack on top when called.

@svalat
Copy link
Member Author

svalat commented Sep 10, 2019

For backtracking, can look here : https://docs.python.org/3/library/traceback.html

@svalat svalat removed the enhancement New feature or request label Oct 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant