X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=scripts%2Flttng-tools%2Fhang_processes.sh;h=3e52a607a3ddb6a3396ff17d680abff3be9d8fba;hb=9a07183cc9c8aa389f227c4455b8e33c3a386837;hp=34f8ef03d13bb48e31e5e072cef6a6815e7b34c2;hpb=c5e17c3d46322b3204d856dba30e6c6c3c391b70;p=lttng-ci.git diff --git a/scripts/lttng-tools/hang_processes.sh b/scripts/lttng-tools/hang_processes.sh index 34f8ef0..3e52a60 100755 --- a/scripts/lttng-tools/hang_processes.sh +++ b/scripts/lttng-tools/hang_processes.sh @@ -1,4 +1,4 @@ -#!/bin/bash -exu +#!/bin/bash # # Copyright (C) 2018 - Jonathan Rajotte-Julien # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +set -exu + PGREP=pgrep pids="" file_list=$(mktemp)