FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
GH-103082: Implementation of PEP 669: Low Impact Monitoring for CPython by markshannon · Pull Request #103083 · python/cpython · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
35.3k
Star
74.9k
Code
Issues
5k+
Pull requests
2.6k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
GH-103082: Implementation of PEP 669: Low Impact Monitoring for CPython
- #103083
#103083
Merged
markshannon
merged 127 commits into
python:main
python/cpython:main
from
faster-cpython:pep-669
faster-cpython/cpython:pep-669
Copy head branch name to clipboard
Apr 12, 2023
Conversation
Commits
127
(127)
Checks
Files changed
Merged
GH-103082: Implementation of PEP 669: Low Impact Monitoring for CPython
#103083
markshannon
merged 127 commits into
python:main
python/cpython:main
from
faster-cpython:pep-669
faster-cpython/cpython:pep-669
Copy head branch name to clipboard
Commits
Commits on Nov 11, 2022
Initial experimental implementation of PEP 669.
markshannon
committed
e85d910
View commit details
Copy full SHA for e85d910
Browse repository at this point
Commits on Nov 18, 2022
First draft implementing small subset of PEP 669.
markshannon
committed
6283ee8
View commit details
Copy full SHA for 6283ee8
Browse repository at this point
Commits on Nov 28, 2022
Support disabling and restarting.
markshannon
committed
4edb7b7
View commit details
Copy full SHA for 4edb7b7
Browse repository at this point
Commits on Nov 30, 2022
Support multiple tools per event.
markshannon
committed
852c40b
View commit details
Copy full SHA for 852c40b
Browse repository at this point
Commits on Dec 2, 2022
Tidy up of monitoring internals
markshannon
committed
416b314
View commit details
Copy full SHA for 416b314
Browse repository at this point
Commits on Dec 4, 2022
Fix legacy tracing.
markshannon
committed
7971979
View commit details
Copy full SHA for 7971979
Browse repository at this point
Commits on Dec 8, 2022
Implement support for multiple tools.
markshannon
committed
9896902
View commit details
Copy full SHA for 9896902
Browse repository at this point
Commits on Dec 22, 2022
Get support for line tracing mostly working. Needs to wait for register VM.
markshannon
committed
f432a66
View commit details
Copy full SHA for f432a66
Browse repository at this point
Commits on Jan 13, 2023
Merge branch 'main' into pep-669-incremental
markshannon
committed
fb29b34
View commit details
Copy full SHA for fb29b34
Browse repository at this point
Fix up INSTRUMENTED_OPCODES vector.
markshannon
committed
15a1ccd
View commit details
Copy full SHA for 15a1ccd
Browse repository at this point
Commits on Jan 16, 2023
Fix instrumented branches to call instrumentation with correct target.
markshannon
committed
9abb339
View commit details
Copy full SHA for 9abb339
Browse repository at this point
Commits on Jan 17, 2023
Merge main and assorted fixups to handle new instruction.
markshannon
committed
3ba6a39
View commit details
Copy full SHA for 3ba6a39
Browse repository at this point
Add PY_THROW event handling and fix up line table.
markshannon
committed
aa09895
View commit details
Copy full SHA for aa09895
Browse repository at this point
LINE events working for sys.setrace.
markshannon
committed
9e5d87d
View commit details
Copy full SHA for 9e5d87d
Browse repository at this point
Commits on Jan 18, 2023
Add lots of internal debugging for instrumentation.
markshannon
committed
e52cbe6
View commit details
Copy full SHA for e52cbe6
Browse repository at this point
Add more tests. Get those and some other passing.
markshannon
committed
6c8be7e
View commit details
Copy full SHA for 6c8be7e
Browse repository at this point
Commits on Jan 19, 2023
Fix LINE instrumentation and frame.set_lineno support (mostly)
markshannon
committed
c9e1e21
View commit details
Copy full SHA for c9e1e21
Browse repository at this point
Commits on Jan 20, 2023
Refining line event generation.
markshannon
committed
e52e8d3
View commit details
Copy full SHA for e52e8d3
Browse repository at this point
Get sys.settrace tests passing.
markshannon
committed
f434ec7
View commit details
Copy full SHA for f434ec7
Browse repository at this point
Monitor 'internal' StopIteration raises.
markshannon
committed
b680084
View commit details
Copy full SHA for b680084
Browse repository at this point
Check for NULLs.
markshannon
committed
e6e7cf1
View commit details
Copy full SHA for e6e7cf1
Browse repository at this point
Fix up a few tests
markshannon
committed
5bbc83e
View commit details
Copy full SHA for 5bbc83e
Browse repository at this point
Commits on Jan 23, 2023
Turn off debugging output by default.
markshannon
committed
7fe9a43
View commit details
Copy full SHA for 7fe9a43
Browse repository at this point
Commits on Jan 26, 2023
Remove debugging printfs
markshannon
committed
8b9f996
View commit details
Copy full SHA for 8b9f996
Browse repository at this point
Avoid refleak.
markshannon
committed
9b02640
View commit details
Copy full SHA for 9b02640
Browse repository at this point
Record last traced line on frame object.
markshannon
committed
2cadf32
View commit details
Copy full SHA for 2cadf32
Browse repository at this point
Commits on Jan 30, 2023
Get a couple more top-level tests passing.
markshannon
committed
1f54d77
View commit details
Copy full SHA for 1f54d77
Browse repository at this point
Update magic number
markshannon
committed
43a3f3e
View commit details
Copy full SHA for 43a3f3e
Browse repository at this point
Remove debug print statement.
markshannon
committed
3d436cf
View commit details
Copy full SHA for 3d436cf
Browse repository at this point
Raise SystemError if frame is missing.
markshannon
committed
691bcf5
View commit details
Copy full SHA for 691bcf5
Browse repository at this point
Commits on Jan 31, 2023
Restore a few tests and better handle EXTENDED_ARG.
markshannon
committed
f07be07
View commit details
Copy full SHA for f07be07
Browse repository at this point
Commits on Feb 1, 2023
Make sure instrumentation respects instruction boundaries.
markshannon
committed
8b8f67e
View commit details
Copy full SHA for 8b8f67e
Browse repository at this point
Fix handling of errors in jump instruments
markshannon
committed
d0a2228
View commit details
Copy full SHA for d0a2228
Browse repository at this point
Fix memory leaks.
markshannon
committed
2a3a85e
View commit details
Copy full SHA for 2a3a85e
Browse repository at this point
Instrument FOR_ITER.
markshannon
committed
c3724ab
View commit details
Copy full SHA for c3724ab
Browse repository at this point
Commits on Feb 2, 2023
Fix legacy profiling of calls.
markshannon
committed
d64823c
View commit details
Copy full SHA for d64823c
Browse repository at this point
Commits on Feb 3, 2023
Fix up instrumented yield.
markshannon
committed
284d0b1
View commit details
Copy full SHA for 284d0b1
Browse repository at this point
Commits on Feb 8, 2023
Merge branch 'main' into pep-669-incremental
markshannon
committed
b9e1f3b
View commit details
Copy full SHA for b9e1f3b
Browse repository at this point
Commits on Feb 9, 2023
Fix instrumentation of SEND and tidy up instrumented bytecode numbering.
markshannon
committed
1440473
View commit details
Copy full SHA for 1440473
Browse repository at this point
Handle line numbers in exception handled event.
markshannon
committed
825f42a
View commit details
Copy full SHA for 825f42a
Browse repository at this point
Commits on Feb 10, 2023
Instrument END_FOR to mimic PEP 380 StopIteration and add more tests.
markshannon
committed
ce5ddb3
View commit details
Copy full SHA for ce5ddb3
Browse repository at this point
Commits on Feb 13, 2023
Merge branch 'main' into pep-669-incremental
markshannon
committed
5740c47
View commit details
Copy full SHA for 5740c47
Browse repository at this point
Commits on Feb 14, 2023
Add END_SEND for instrumentation.
markshannon
committed
da83abe
View commit details
Copy full SHA for da83abe
Browse repository at this point
Correctly set StopIteration in INSTRUMENTED_END_FOR.
markshannon
committed
cdb2bda
View commit details
Copy full SHA for cdb2bda
Browse repository at this point
Set last traced line when jumping in debugger.
markshannon
committed
0148fa3
View commit details
Copy full SHA for 0148fa3
Browse repository at this point
Commits on Feb 17, 2023
Fix test_dis to account for END_SEND.
markshannon
committed
c5fb4f4
View commit details
Copy full SHA for c5fb4f4
Browse repository at this point
Add a few more tests.
markshannon
committed
7fa431b
View commit details
Copy full SHA for 7fa431b
Browse repository at this point
delete commented out code
markshannon
committed
25bbc61
View commit details
Copy full SHA for 25bbc61
Browse repository at this point
Fix last (known) inconsistency in sys.settrace behaviour
markshannon
committed
5629a3e
View commit details
Copy full SHA for 5629a3e
Browse repository at this point
Commits on Feb 20, 2023
More clearly differentiate between instrumented events and non-instrumented events.
markshannon
committed
477cc53
View commit details
Copy full SHA for 477cc53
Browse repository at this point
Commits on Feb 21, 2023
Add support for sys.monitoring.MISSING
markshannon
committed
23b5f5e
View commit details
Copy full SHA for 23b5f5e
Browse repository at this point
Commits on Feb 23, 2023
Add support for local (per-code-object) event monitoring.
markshannon
committed
dfc18c5
View commit details
Copy full SHA for dfc18c5
Browse repository at this point
Merge branch 'main' into pep-669
markshannon
committed
566adbe
View commit details
Copy full SHA for 566adbe
Browse repository at this point
Make sure that tracing/profiling thread counts are correct.
markshannon
committed
cfb17ed
View commit details
Copy full SHA for cfb17ed
Browse repository at this point
Remove linearray field
markshannon
committed
c535f76
View commit details
Copy full SHA for c535f76
Browse repository at this point
Rename some fields, shortening names.
markshannon
committed
d579d2e
View commit details
Copy full SHA for d579d2e
Browse repository at this point
Remove out of dat comments.
markshannon
committed
0982e5e
View commit details
Copy full SHA for 0982e5e
Browse repository at this point
Commits on Mar 22, 2023
Remove instrumentation for JUMP_IF_[FALS|TRUE]_OR_POP
markshannon
committed
0693423
View commit details
Copy full SHA for 0693423
Browse repository at this point
Merge branch 'main' into pep-669
markshannon
committed
d6453e5
View commit details
Copy full SHA for d6453e5
Browse repository at this point
Commits on Mar 23, 2023
Minor fixups from merge.
markshannon
committed
0ee2aee
View commit details
Copy full SHA for 0ee2aee
Browse repository at this point
Remove instrumentation for COMPARE_AND_BRANCH.
markshannon
committed
acdca93
View commit details
Copy full SHA for acdca93
Browse repository at this point
Merge branch 'main' into pep-669
markshannon
committed
f17ef14
View commit details
Copy full SHA for f17ef14
Browse repository at this point
Group instrumented opcodes.
markshannon
committed
e7f6c37
View commit details
Copy full SHA for e7f6c37
Browse repository at this point
Remove last references to DO_TRACING
markshannon
committed
e44ebc5
View commit details
Copy full SHA for e44ebc5
Browse repository at this point
Merge branch 'main' into pep-669
markshannon
committed
ece51e6
View commit details
Copy full SHA for ece51e6
Browse repository at this point
Remove unused function.
markshannon
committed
e88921e
View commit details
Copy full SHA for e88921e
Browse repository at this point
Streamline de-instrumentation a little.
markshannon
committed
2d9f22c
View commit details
Copy full SHA for 2d9f22c
Browse repository at this point
Use modern API for saving and restoring exception.
markshannon
committed
b7579ac
View commit details
Copy full SHA for b7579ac
Browse repository at this point
Commits on Mar 24, 2023
Refactor instrumentation calls to reduce duplication.
markshannon
committed
5a089a6
View commit details
Copy full SHA for 5a089a6
Browse repository at this point
Fix refleaks
markshannon
committed
d5fdec8
View commit details
Copy full SHA for d5fdec8
Browse repository at this point
Remove commented out code.
markshannon
committed
c88741d
View commit details
Copy full SHA for c88741d
Browse repository at this point
Make sure that stacktop == -1 when stack_pointer is cached.
markshannon
committed
b6744ca
View commit details
Copy full SHA for b6744ca
Browse repository at this point
Minor cleanups.
markshannon
committed
6c3473a
View commit details
Copy full SHA for 6c3473a
Browse repository at this point
Remove useless asserts.
markshannon
committed
899aecd
View commit details
Copy full SHA for 899aecd
Browse repository at this point
Make functions static
markshannon
committed
80d2e2e
View commit details
Copy full SHA for 80d2e2e
Browse repository at this point
Update Windows build files.
markshannon
committed
94d35d8
View commit details
Copy full SHA for 94d35d8
Browse repository at this point
Make _PyLegacyEventHandler_Type immortal
markshannon
committed
5aa0805
View commit details
Copy full SHA for 5aa0805
Browse repository at this point
Make arrays const.
markshannon
committed
b39edd3
View commit details
Copy full SHA for b39edd3
Browse repository at this point
Rename _PyFrame_GetStackPointer to _PyFrame_FetchStackPointer and make it responsible for setting stacktop to -1.
markshannon
committed
c9c40cb
View commit details
Copy full SHA for c9c40cb
Browse repository at this point
Fixups from code review
markshannon
committed
6611c72
View commit details
Copy full SHA for 6611c72
Browse repository at this point
Improve debugging output and make a few things more robust.
markshannon
committed
50d28f1
View commit details
Copy full SHA for 50d28f1
Browse repository at this point
Commits on Mar 25, 2023
Fix up frame.set_lineno().
markshannon
committed
7165f52
View commit details
Copy full SHA for 7165f52
Browse repository at this point
Make line instrumentation able to handle multiple inits.
markshannon
committed
65c548e
View commit details
Copy full SHA for 65c548e
Browse repository at this point
Add brief comments on instrumentation data structures.
markshannon
committed
575f7d1
View commit details
Copy full SHA for 575f7d1
Browse repository at this point
Add symbol constant for min instrumented opcode.
markshannon
committed
415741d
View commit details
Copy full SHA for 415741d
Browse repository at this point
Code cleanup from review.
markshannon
committed
d70a1a4
View commit details
Copy full SHA for d70a1a4
Browse repository at this point
A bit more cleanup.
markshannon
committed
d580de6
View commit details
Copy full SHA for d580de6
Browse repository at this point
Add a few more comments.
markshannon
committed
2076d5f
View commit details
Copy full SHA for 2076d5f
Browse repository at this point
Remove unused code.
markshannon
committed
7b32d79
View commit details
Copy full SHA for 7b32d79
Browse repository at this point
Fix leak of monitoring blocks.
markshannon
committed
662c16c
View commit details
Copy full SHA for 662c16c
Browse repository at this point
Merge branch 'main' into pep-669
markshannon
committed
d0139e9
View commit details
Copy full SHA for d0139e9
Browse repository at this point
Make function static.
markshannon
committed
51a93e7
View commit details
Copy full SHA for 51a93e7
Browse repository at this point
Commits on Mar 26, 2023
Use symbolic constants in line computations.
markshannon
committed
64bf37f
View commit details
Copy full SHA for 64bf37f
Browse repository at this point
Make data static.
markshannon
committed
5faec77
View commit details
Copy full SHA for 5faec77
Browse repository at this point
Add extra check.
markshannon
committed
0be1562
View commit details
Copy full SHA for 0be1562
Browse repository at this point
Make sure that instrumentation of line and instructions at the same time is supported.
markshannon
committed
b32a075
View commit details
Copy full SHA for b32a075
Browse repository at this point
Commits on Mar 31, 2023
Remove incorrect assertion.
markshannon
committed
85d6923
View commit details
Copy full SHA for 85d6923
Browse repository at this point
Turn off instrumentation debugging.
markshannon
committed
ebcc42f
View commit details
Copy full SHA for ebcc42f
Browse repository at this point
Fix a couple of errors.
markshannon
committed
7cfbc7e
View commit details
Copy full SHA for 7cfbc7e
Browse repository at this point
Add minimal news entry.
markshannon
committed
d366364
View commit details
Copy full SHA for d366364
Browse repository at this point
Pacify the global object checker.
markshannon
committed
fdb4860
View commit details
Copy full SHA for fdb4860
Browse repository at this point
Commits on Apr 3, 2023
Minor fixups.
markshannon
committed
aee722f
View commit details
Copy full SHA for aee722f
Browse repository at this point
Fix refleak when error in RETURN instrumentation.
markshannon
committed
bba53b8
View commit details
Copy full SHA for bba53b8
Browse repository at this point
Merge branch 'main' into pep-669
markshannon
committed
718fbc8
View commit details
Copy full SHA for 718fbc8
Browse repository at this point
Fix another refleak in error handling in instrumented instruction.
markshannon
committed
97ec1c5
View commit details
Copy full SHA for 97ec1c5
Browse repository at this point
Remove debug code ready for final review.
markshannon
committed
edc6709
View commit details
Copy full SHA for edc6709
Browse repository at this point
Fix another (and hopefully final) refleak when handling an error in an instrumented bytecode.
markshannon
committed
e40a68f
View commit details
Copy full SHA for e40a68f
Browse repository at this point
Commits on Apr 4, 2023
Comment and rename #defines to better reflect names in PEP.
markshannon
committed
d9f8192
View commit details
Copy full SHA for d9f8192
Browse repository at this point
Add various IDs as defined in the PEP.
markshannon
committed
2d9a380
View commit details
Copy full SHA for 2d9a380
Browse repository at this point
Remove _PyThreadState_UpdateTracingState.
markshannon
committed
29f41e7
View commit details
Copy full SHA for 29f41e7
Browse repository at this point
Formatting fixes, and check error codes.
markshannon
committed
38b7f43
View commit details
Copy full SHA for 38b7f43
Browse repository at this point
Make sure tool API function names match PEP.
markshannon
committed
9a40dad
View commit details
Copy full SHA for 9a40dad
Browse repository at this point
A bit more cleanup.
markshannon
committed
a551d65
View commit details
Copy full SHA for a551d65
Browse repository at this point
Tidy up imports.
markshannon
committed
4951306
View commit details
Copy full SHA for 4951306
Browse repository at this point
Use clinic return converters.
markshannon
committed
44a031e
View commit details
Copy full SHA for 44a031e
Browse repository at this point
Address code review.
markshannon
committed
c2155b7
View commit details
Copy full SHA for c2155b7
Browse repository at this point
Address further review comments.
markshannon
committed
b218428
View commit details
Copy full SHA for b218428
Browse repository at this point
Commits on Apr 5, 2023
Use byte offset, to conform to the convention used in other APIs taking code offsets.
markshannon
committed
9c0429e
View commit details
Copy full SHA for 9c0429e
Browse repository at this point
Address code review.
markshannon
committed
c6bf38e
View commit details
Copy full SHA for c6bf38e
Browse repository at this point
Merge branch 'main' into pep-669
markshannon
committed
82fe16c
View commit details
Copy full SHA for 82fe16c
Browse repository at this point
Keep check-c-globals happy.
markshannon
committed
43618a9
View commit details
Copy full SHA for 43618a9
Browse repository at this point
Commits on Apr 9, 2023
Don't crash if locals events aren't set.
markshannon
committed
821ae52
View commit details
Copy full SHA for 821ae52
Browse repository at this point
Add NO_EVENTS.
markshannon
committed
505a08d
View commit details
Copy full SHA for 505a08d
Browse repository at this point
Flip order of LINE and INSTRUCTION events.
markshannon
committed
f63da91
View commit details
Copy full SHA for f63da91
Browse repository at this point
Check tool is in use when setting events.
markshannon
committed
c324344
View commit details
Copy full SHA for c324344
Browse repository at this point
Commits on Apr 12, 2023
Reset last traced line number when setting frame.f_trace only if set to new value.
markshannon
committed
168b34a
View commit details
Copy full SHA for 168b34a
Browse repository at this point
Tidy up test case.
markshannon
committed
f07a080
View commit details
Copy full SHA for f07a080
Browse repository at this point
Back
|
FazBrowse Home
|
New Git URL