Skip to content

Initial native stack collection (works only with local fork of Python). #750

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

emeryberger
Copy link
Member

This PR adds preliminary support (not exposed in the UI) for native stack collection. It depends on this fork that adds support for native stack collection to the CPython interpreter: https://github.com/emeryberger/cpython.

try:
# Experimental native traceback support
signal.enable_native_traceback(Scalene.__signals.cpu_signal)
except AttributeError:

Check notice

Code scanning / CodeQL

Empty except

'except' clause does nothing but pass and there is no explanatory comment.
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 this pull request may close these issues.

1 participant