Tiny dump native stacktraces in watchdog (#15222)

This commit is contained in:
fzyzcjy
2025-12-17 21:20:41 +08:00
committed by GitHub
parent 3e690cce53
commit 9d04b570bc

View File

@@ -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
)