gh-137291: Support perf profiler with an evaluation hook (#137292)

Support perf profiler with an evaluation hook
This commit is contained in:
Dino Viehland 2025-08-07 14:54:12 -07:00 committed by GitHub
parent e3ad9003c5
commit 375f484f97
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 54 additions and 47 deletions

View file

@ -88,6 +88,7 @@ struct _ceval_runtime_state {
struct trampoline_api_st trampoline_api;
FILE *map_file;
Py_ssize_t persist_after_fork;
_PyFrameEvalFunction prev_eval_frame;
#else
int _not_used;
#endif