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

Fix issue with native profiling on linux anaconda. #447

Merged
merged 3 commits into from
Sep 10, 2021
Merged

Conversation

benfred
Copy link
Owner

@benfred benfred commented Sep 10, 2021

I was seeing an issue with profiling native threads, where the error
looked like Error: Failed to merge native and python frames (Have 3 native and 23 python).

The issue seemed to be we were failing to parse symbols like _PyEval_EvalFrameDefault.cold.2962
since we were expecting it to look like _PyEval_EvalFrameDefault . Fix by
splitting symbol names on both . and _.

I was seeing an issue with profiling native threads, where the error
looked like ```Error: Failed to merge native and python frames (Have 3 native and 23 python)```.

The issue seemed to be we were failing to parse symbols like _PyEval_EvalFrameDefault.cold.2962
since we were expecting it to look like _PyEval_EvalFrameDefault . Fix by
splitting symbol names on both '.' and '_'.
@benfred benfred merged commit 4279cc6 into master Sep 10, 2021
@benfred benfred deleted the fix_native_conda branch September 10, 2021 17:14
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.

None yet

1 participant