-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
gh-96143: Allow Linux perf profiler to see Python calls #96123
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
2a918e4
Allow Linux perf profiler to see Python calls
pablogsal cea1420
Add test
pablogsal 4107c53
Update PCbuild/_freeze_module.vcxproj.filters
pablogsal 5e34e66
munmap pages on shutdown, keep FILE open
tiran a26a850
Fix tests
pablogsal 8170b24
Skip tests if sanitizer is active
pablogsal 9df1c93
Add ARM64 code generated by aarch64-linux-gnu-gcc
tiran d8f396d
Address review comments
pablogsal d35c5d7
Secure fopen, use unraisable, continue on error
tiran 2664b12
cleanup resources, set to uninit
tiran e6c365a
Allow to set custom callbacks
pablogsal 5513fb1
Add comment to asm file
pablogsal 76c7dc0
fixup! Merge pull request #36 from tiran/perf-file
pablogsal a545b3c
Add comments to the perf_trampoline file and format file
pablogsal 5130c8d
Correct News entry
pablogsal 991366b
Update Lib/test/test_perf_profiler.py
pablogsal 0a0e53d
Rename perf macro
pablogsal 7ea3371
Fix some typos
pablogsal 680db66
Improve perf profiler tests
tiran 1263a29
Add guard for initialization
pablogsal a42bde5
Add acks
pablogsal b780d2a
Initialize perf file lazily
pablogsal 04bf416
Address review comments
pablogsal 7558df2
Complain if there is already a evaluator frame when deactivating/acti…
pablogsal d1ebc88
Fix some errors on CI
pablogsal a83a31b
Reorder arguments to speed up trampoline
tiran 0febd84
Preserve frame pointer
pablogsal dc5a6a5
Support perf backend and better handle forks
pablogsal be72b92
Fix more fork problems
pablogsal b5739f4
Update Lib/test/test_perf_profiler.py
pablogsal 04c0c14
Handle missing backends
pablogsal e810ce6
Update Lib/test/test_perf_profiler.py
pablogsal bc8bf4e
clean up perf files
pablogsal 0252845
Update Misc/NEWS.d/next/Core and Builtins/2022-08-20-18-36-40.gh-issu…
pablogsal 264bed7
Test fork support, fix some fork problems and improve test file
pablogsal a31a498
Add more tests
pablogsal f591e8d
Update Objects/perf_trampoline.c
pablogsal 0af2a08
make argument mandatory
pablogsal 861ae09
Use struct for perf callbacks
tiran 3058cf0
Rename macro to PY_HAVE_PERF_TRAMPOLINE
tiran 07ee991
Merge pull request #39 from tiran/perf_callback_struct
pablogsal be612a9
Allow gdb to unwind
pablogsal f4e3fff
Merge remote-tracking branch 'upstream/main' into perf
pablogsal c27f8b1
Add docs
pablogsal e27a2c4
fixup! Add docs
pablogsal 81c7f4b
fixup! fixup! Add docs
pablogsal ef0650b
Update sys API names in the NEWS entry.
gpshead d8932d2
Add environment variable
pablogsal 0f303ff
Merge branch 'main' into perf
pablogsal e3f846e
Document the env var and the -X option
pablogsal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Skip tests if sanitizer is active
- Loading branch information
commit 8170b244eb0f05a63f6faec1274e8375b1f6b4f6
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.