@should_dump_tracemalloc
def start_tracemalloc_dump():
 tracemalloc.start(25)
 dump_data_every_thread(dump_tracemalloc, DELAY_MINUTES, SAVE_TRACEMALLOC_PTR)

@ should_dump_tracemalloc def start_tracemalloc_dump ( ) : tracemalloc . start ( 25 ) dump_data_every_thread ( dump_tracemalloc , DELAY_MINUTES , SAVE_TRACEMALLOC_PTR )
if the environment variable w3af_pytracemalloc is set to 1 .