From 99d75d63a7fef04af51741854e26b989a8b45ef0 Mon Sep 17 00:00:00 2001 From: Francis Deslauriers Date: Wed, 16 Aug 2017 12:11:15 -0400 Subject: [PATCH] jjb: lava: Print timestamp at each iteration of kprobe fuzzing script Signed-off-by: Francis Deslauriers --- scripts/lttng-baremetal-tests/kprobe-fuzzing.sh | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.34.1