mirror of https://github.com/python/cpython
[3.13] gh-120289: Add external timer in traverse of _lsprof.Profiler (GH-121998) (#122000)
gh-120289: Add external timer in traverse of _lsprof.Profiler (GH-121998)
(cherry picked from commit eaf094c09b
)
Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
This commit is contained in:
parent
721a7dde11
commit
e992cc3922
|
@ -856,6 +856,7 @@ static int
|
||||||
profiler_traverse(ProfilerObject *op, visitproc visit, void *arg)
|
profiler_traverse(ProfilerObject *op, visitproc visit, void *arg)
|
||||||
{
|
{
|
||||||
Py_VISIT(Py_TYPE(op));
|
Py_VISIT(Py_TYPE(op));
|
||||||
|
Py_VISIT(op->externalTimer);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue