summaryrefslogtreecommitdiff
path: root/Python/codecs.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-03-22 12:58:23 +0100
committerVictor Stinner <victor.stinner@gmail.com>2016-03-22 12:58:23 +0100
commite492ae50e251c4fcd48bc37b1eaa4821894f1fdb (patch)
tree1893c71fe3c54ec2bb0588db5f31e43489188d49 /Python/codecs.c
parent58100059acb89179530036b4649f91cc679ea12b (diff)
downloadcpython-git-e492ae50e251c4fcd48bc37b1eaa4821894f1fdb.tar.gz
tracemalloc now supports domains
Issue #26588: * The _tracemalloc now supports tracing memory allocations of multiple address spaces (domains). * Add domain parameter to tracemalloc_add_trace() and tracemalloc_remove_trace(). * tracemalloc_add_trace() now starts by removing the previous trace, if any. * _tracemalloc._get_traces() now returns a list of (domain, size, traceback_frames): the domain is new. * Add tracemalloc.DomainFilter * tracemalloc.Filter: add an optional domain parameter to the constructor and a domain attribute * Sublte change: use Py_uintptr_t rather than void* in the traces key. * Add tracemalloc_config.use_domain, currently hardcoded to 1
Diffstat (limited to 'Python/codecs.c')
0 files changed, 0 insertions, 0 deletions