mirror of
https://github.com/python/cpython.git
synced 2026-05-06 12:49:07 -04:00
gh-138122: Don't sample partial frame chains (#141912)
This commit is contained in:
committed by
GitHub
parent
c5b37228af
commit
d6d850df89
+1
-1
@@ -1036,7 +1036,7 @@ static int
|
||||
dump_frame(int fd, _PyInterpreterFrame *frame)
|
||||
{
|
||||
if (frame->owner == FRAME_OWNED_BY_INTERPRETER) {
|
||||
/* Ignore trampoline frame */
|
||||
/* Ignore trampoline frames and base frame sentinel */
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user