From 9d04b570bc11e220aff65d6f9c958b65bd8834de Mon Sep 17 00:00:00 2001 From: fzyzcjy <5236035+fzyzcjy@users.noreply.github.com> Date: Wed, 17 Dec 2025 21:20:41 +0800 Subject: [PATCH] Tiny dump native stacktraces in watchdog (#15222) --- python/sglang/srt/utils/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/sglang/srt/utils/common.py b/python/sglang/srt/utils/common.py index 0e9b4ce1c..47d542e8a 100644 --- a/python/sglang/srt/utils/common.py +++ b/python/sglang/srt/utils/common.py @@ -2290,7 +2290,7 @@ def pyspy_dump_schedulers(): try: pid = psutil.Process().pid # Command to run py-spy with the PID - cmd = f"py-spy dump --pid {pid}" + cmd = f"py-spy dump --native --pid {pid}" result = subprocess.run( cmd, shell=True, capture_output=True, text=True, check=True )