X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=scripts%2Flttng-tools%2Fhang_processes.sh;h=3e52a607a3ddb6a3396ff17d680abff3be9d8fba;hb=51c9c62db1805a4cdd96be18df4082f1ac5d81c5;hp=34f8ef03d13bb48e31e5e072cef6a6815e7b34c2;hpb=4d27af8f99434c6dcadf1d22430d4e8a27b8bee2;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)