commit | 49526f48fc73d3ccdf09d466ed2d39a30e4df9b9 | [log] [tgz] |
---|---|---|
author | David Malcolm <dmalcolm@redhat.com> | Fri Jun 22 14:55:41 2012 -0400 |
committer | David Malcolm <dmalcolm@redhat.com> | Fri Jun 22 14:55:41 2012 -0400 |
tree | 51ac80c4d09ca4a537518555710423675a6ac731 | |
parent | 69cf913ba110de2eb773c030b1dd606456ac5831 [diff] [blame] |
Issue #14785: Add sys._debugmallocstats() to help debug low-level memory allocation issues
diff --git a/Include/frameobject.h b/Include/frameobject.h index a8df445..ac2f790 100644 --- a/Include/frameobject.h +++ b/Include/frameobject.h
@@ -79,6 +79,8 @@ 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 *);