From: Francis Deslauriers Date: Wed, 16 Aug 2017 16:11:15 +0000 (-0400) Subject: jjb: lava: Print timestamp at each iteration of kprobe fuzzing script X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=99d75d63a7fef04af51741854e26b989a8b45ef0;p=lttng-ci.git jjb: lava: Print timestamp at each iteration of kprobe fuzzing script Signed-off-by: Francis Deslauriers --- diff --git a/scripts/lttng-baremetal-tests/kprobe-fuzzing.sh b/scripts/lttng-baremetal-tests/kprobe-fuzzing.sh index 254123c..fab987b 100755 --- a/scripts/lttng-baremetal-tests/kprobe-fuzzing.sh +++ b/scripts/lttng-baremetal-tests/kprobe-fuzzing.sh @@ -26,6 +26,10 @@ set -x # Loop over the list of symbols and enable the symbols in groups of # $NB_KPROBE_PER_ITER for i in $(seq 0 "$NB_KPROBE_PER_ITER" "$nb_syms"); do + # Print time in UTC at each iteration to easily see when the script + # hangs + date --utc + # Pick $NB_KPROBE_PER_ITER symbols to instrument, craft enable-event # command and save them to a file. We craft the commands and executed # them in two steps so that the pipeline can be done without the bash