diff options
author | David Malcolm <dmalcolm@redhat.com> | 2012-06-22 14:55:41 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2012-06-22 14:55:41 -0400 |
commit | 49526f48fc73d3ccdf09d466ed2d39a30e4df9b9 (patch) | |
tree | 51ac80c4d09ca4a537518555710423675a6ac731 /Include/frameobject.h | |
parent | Issue #15124: Optimize _thread.LockType deletion and acquisition when (diff) | |
download | cpython-49526f48fc73d3ccdf09d466ed2d39a30e4df9b9.tar.gz cpython-49526f48fc73d3ccdf09d466ed2d39a30e4df9b9.tar.bz2 cpython-49526f48fc73d3ccdf09d466ed2d39a30e4df9b9.zip |
Issue #14785: Add sys._debugmallocstats() to help debug low-level memory allocation issues
Diffstat (limited to 'Include/frameobject.h')
-rw-r--r-- | Include/frameobject.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/frameobject.h b/Include/frameobject.h index a8df4455a83..ac2f790d13d 100644 --- a/Include/frameobject.h +++ b/Include/frameobject.h @@ -79,6 +79,8 @@ PyAPI_FUNC(void) PyFrame_FastToLocals(PyFrameObject *); PyAPI_FUNC(int) PyFrame_ClearFreeList(void); +PyAPI_FUNC(void) _PyFrame_DebugMallocStats(FILE *out); + /* Return the line of code the frame is currently executing. */ PyAPI_FUNC(int) PyFrame_GetLineNumber(PyFrameObject *); |