Tiny dump native stacktraces in watchdog (#15222)
This commit is contained in:
@@ -2290,7 +2290,7 @@ def pyspy_dump_schedulers():
|
|||||||
try:
|
try:
|
||||||
pid = psutil.Process().pid
|
pid = psutil.Process().pid
|
||||||
# Command to run py-spy with the 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(
|
result = subprocess.run(
|
||||||
cmd, shell=True, capture_output=True, text=True, check=True
|
cmd, shell=True, capture_output=True, text=True, check=True
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user