Update call to py-spy to conform to new API (#5758)

This commit is contained in:
Mitchell Stern
2019-09-23 14:52:23 -07:00
committed by Robert Nishihara
parent 249ca2cf9e
commit b03147e7bf
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -751,7 +751,7 @@ workers=$(
for worker in $workers; do
echo "Stack dump for $worker";
pid=`echo $worker | awk '{print $2}'`;
sudo $pyspy --pid $pid --dump;
sudo $pyspy dump --pid $pid;
echo;
done
"""