diff options
author | Tian Gao <gaogaotiantian@hotmail.com> | 2023-06-29 23:14:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-29 23:14:09 (GMT) |
commit | cea9d4ea82abcb2c6f1d83a2fe819859da4bbda4 (patch) | |
tree | fe006373dff5f283de8d29f279d51e371d9c52de /Modules | |
parent | 7b2d94d87513967b357c658c6e7e1b8c8d02487d (diff) | |
download | cpython-cea9d4ea82abcb2c6f1d83a2fe819859da4bbda4.zip cpython-cea9d4ea82abcb2c6f1d83a2fe819859da4bbda4.tar.gz cpython-cea9d4ea82abcb2c6f1d83a2fe819859da4bbda4.tar.bz2 |
GH-106152: Add PY_THROW event to cProfile (GH-106161)
Diffstat (limited to 'Modules')
-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"}, |