[issue26530] tracemalloc: add C API to manually track/untrack memory allocations
STINNER Victor
report at bugs.python.org
Thu Sep 1 09:56:25 EDT 2016
STINNER Victor added the comment:
> I may be a bit confused, but the "domain" integer you added in issue 26588 doesn't seem to be part of this API... Is it deliberate?
They are part of this API.
msg262180: """Ok, I added the following C functions:
int _PyTraceMalloc_Track(_PyTraceMalloc_domain_t domain, Py_uintptr_t ptr, size_t size);
int _PyTraceMalloc_Untrack(_PyTraceMalloc_domain_t domain, Py_uintptr_t ptr);
(...)"""
The domain 0 is used to track Python memory allocations.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26530>
_______________________________________
More information about the Python-bugs-list
mailing list