HomeAleph Objects Inc

bpo-35053: Add Include/tracemalloc.h (GH-10091)

Authored by Victor Stinner <vstinner@redhat.com> on Oct 25 2018, 7:54 AM.

Description

bpo-35053: Add Include/tracemalloc.h (GH-10091)

  • Modify object.h to ensure that pymem.h is included, to get _Py_tracemalloc_config variable.
  • Move _PyTraceMalloc_XXX() functions to tracemalloc.h, they need PyObject type. Break circular dependency between pymem.h and object.h.

Details

Committed
GitHub <noreply@github.com>Oct 25 2018, 7:54 AM
Parents
rCP9e00e80e213e: bpo-35053: Enhance tracemalloc to trace free lists (GH-10063)
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rCP6279c1c5003c: bpo-35053: Add Include/tracemalloc.h (GH-10091) (authored by Victor Stinner <vstinner@redhat.com>).Oct 25 2018, 7:54 AM