Lines Matching refs:tracemalloc_config
52 } tracemalloc_config = {TRACEMALLOC_NOT_INITIALIZED, 0, 1, 0}; variable
462 if (traceback->nframe == tracemalloc_config.max_nframe) in traceback_get_frames()
543 assert(!tracemalloc_config.use_domain); in tracemalloc_use_domain()
563 tracemalloc_config.use_domain = 1; in tracemalloc_use_domain()
575 assert(tracemalloc_config.tracing); in tracemalloc_remove_trace()
577 if (tracemalloc_config.use_domain) { in tracemalloc_remove_trace()
606 assert(tracemalloc_config.tracing); in tracemalloc_add_trace()
613 if (!tracemalloc_config.use_domain && domain != DEFAULT_DOMAIN) { in tracemalloc_add_trace()
621 if (tracemalloc_config.use_domain) { in tracemalloc_add_trace()
642 if (tracemalloc_config.use_domain) { in tracemalloc_add_trace()
959 if (tracemalloc_config.initialized == TRACEMALLOC_FINALIZED) { in tracemalloc_init()
965 if (tracemalloc_config.initialized == TRACEMALLOC_INITIALIZED) in tracemalloc_init()
999 if (tracemalloc_config.use_domain) { in tracemalloc_init()
1029 tracemalloc_config.initialized = TRACEMALLOC_INITIALIZED; in tracemalloc_init()
1037 if (tracemalloc_config.initialized != TRACEMALLOC_INITIALIZED) in tracemalloc_deinit()
1039 tracemalloc_config.initialized = TRACEMALLOC_FINALIZED; in tracemalloc_deinit()
1080 if (tracemalloc_config.tracing) { in tracemalloc_start()
1086 tracemalloc_config.max_nframe = max_nframe; in tracemalloc_start()
1122 tracemalloc_config.tracing = 1; in tracemalloc_start()
1131 if (!tracemalloc_config.tracing) in tracemalloc_stop()
1135 tracemalloc_config.tracing = 0; in tracemalloc_stop()
1163 return PyBool_FromLong(tracemalloc_config.tracing); in _tracemalloc_is_tracing_impl()
1177 if (!tracemalloc_config.tracing) in _tracemalloc_clear_traces_impl()
1302 if (tracemalloc_config.use_domain) { in tracemalloc_get_traces_fill()
1362 if (!tracemalloc_config.tracing) in _tracemalloc__get_traces_impl()
1417 if (!tracemalloc_config.tracing) in tracemalloc_get_traceback()
1421 if (tracemalloc_config.use_domain) { in tracemalloc_get_traceback()
1493 if (!tracemalloc_config.tracing) { in _PyMem_DumpTraceback()
1567 return PyLong_FromLong(tracemalloc_config.max_nframe); in _tracemalloc_get_traceback_limit_impl()
1612 if (!tracemalloc_config.tracing) in _tracemalloc_get_traced_memory_impl()
1690 if (!tracemalloc_config.tracing) { in PyTraceMalloc_Track()
1709 if (!tracemalloc_config.tracing) { in PyTraceMalloc_Untrack()