TermiNexus
c2f07e10cd
fix(tpc): worker cProfile 与 viztracer 互斥——外部 profiler 活跃时跳过
- 冲突机制:viztracer --log_multiprocess 经 sys.setprofile 注入 profiler 到 worker,TPC _ProfileWorker 的 cProfile.enable() 检测到已激活 profiler 抛 'Another profiling tool is already active' -> worker 崩溃 -> batch 0 异常 -> 编译终止
- 修复:_ProfileWorker 先查 sys.getprofile(),非 None(viztracer 等外部 profiler 活跃)时跳过 cProfile 让 viztracer 独占;正常编译(无外部 profiler)仍保留 cProfile(PROF 数据不受影响)
2026-08-22 07:16:52 +08:00
..
2026-08-17 20:28:24 +08:00
2026-08-19 08:47:32 +08:00
2026-08-19 22:44:15 +08:00
2026-08-18 05:36:12 +08:00
2026-08-22 07:16:52 +08:00
2026-08-17 22:20:29 +08:00