@should_dump_thread_stack
def stop_thread_stack_dump():
 cancel_thread(SAVE_THREAD_PTR)
 dump_thread_stack()

@ should_dump_thread_stack def stop_thread_stack_dump ( ) : cancel_thread ( SAVE_THREAD_PTR ) dump_thread_stack ( )
save profiling information .