From e5c8a20f7cf97faa2f3837a51f9429d7f7115e9c Mon Sep 17 00:00:00 2001 From: Tianshun Peng <1677173697@qq.com> Date: Fri, 29 Dec 2023 19:45:21 +0800 Subject: [PATCH] make subprocess generate viztmp file --- src/viztracer/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/viztracer/main.py b/src/viztracer/main.py index b7691108..4d3a5ece 100644 --- a/src/viztracer/main.py +++ b/src/viztracer/main.py @@ -330,6 +330,7 @@ def term_handler(signalnum, frame): signal.signal(signal.SIGTERM, term_handler) if options.subprocess_child: + tracer.label_file_to_write() multiprocessing.util.Finalize(tracer, tracer.exit_routine, exitpriority=-1) else: multiprocessing.util.Finalize(self, self.exit_routine, exitpriority=-1)