diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-06-29 23:39:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-29 23:39:18 (GMT) |
commit | 04a165f4f96792e4c9409420ae12002cf6ce9701 (patch) | |
tree | 580d89a92af86584bd54dd7530a4b82c76193e73 /Modules/_lsprof.c | |
parent | 2405929c35239580aa0344f0e8fd31b87f9ccfe9 (diff) | |
download | cpython-04a165f4f96792e4c9409420ae12002cf6ce9701.zip cpython-04a165f4f96792e4c9409420ae12002cf6ce9701.tar.gz cpython-04a165f4f96792e4c9409420ae12002cf6ce9701.tar.bz2 |
[3.12] GH-106152: Add PY_THROW event to cProfile (GH-106256)
GH-106152: Add PY_THROW event to cProfile (GH-106161)
(cherry picked from commit cea9d4ea82abcb2c6f1d83a2fe819859da4bbda4)
Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
Diffstat (limited to 'Modules/_lsprof.c')
-rw-r--r-- | Modules/_lsprof.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_lsprof.c b/Modules/_lsprof.c index 1c84f66..257de43 100644 --- a/Modules/_lsprof.c +++ b/Modules/_lsprof.c @@ -678,6 +678,7 @@ static const struct { } callback_table[] = { {PY_MONITORING_EVENT_PY_START, "_pystart_callback"}, {PY_MONITORING_EVENT_PY_RESUME, "_pystart_callback"}, + {PY_MONITORING_EVENT_PY_THROW, "_pystart_callback"}, {PY_MONITORING_EVENT_PY_RETURN, "_pyreturn_callback"}, {PY_MONITORING_EVENT_PY_YIELD, "_pyreturn_callback"}, {PY_MONITORING_EVENT_PY_UNWIND, "_pyreturn_callback"}, |