From: Sakib Sajal Date: Mon, 14 Jun 2021 16:27:27 +0000 (-0400) Subject: oe-time-dd-test.sh: improve output formatting X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~7551 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ca3a64d6a2a7160b04a7b0876fe0f744250bdfa;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git oe-time-dd-test.sh: improve output formatting Signed-off-by: Sakib Sajal Signed-off-by: Richard Purdie --- diff --git a/scripts/oe-time-dd-test.sh b/scripts/oe-time-dd-test.sh index 46b218b76ab..103eee5f650 100755 --- a/scripts/oe-time-dd-test.sh +++ b/scripts/oe-time-dd-test.sh @@ -24,6 +24,9 @@ uptime timeout ${TIMEOUT} dd if=/dev/zero of=oe-time-dd-test.dat bs=1024 count=$1 conv=fsync if [ $? -ne 0 ]; then echo "Timeout used: ${TIMEOUT}" + echo "start: top output" top -c -b -n1 -w 512 + echo "end: top output\n\nstart: cooker log" tail -30 tmp*/log/cooker/*/console-latest.log + echo "end: cooker log" fi