52 lines
1.5 KiB
Diff
52 lines
1.5 KiB
Diff
From 8f1334931e38918ac02cf4aef9f62ec3bee377b5 Mon Sep 17 00:00:00 2001
|
|
From: Colin Ian King <colin.king@canonical.com>
|
|
Date: Thu, 21 May 2020 11:17:57 +0100
|
|
Subject: [PATCH 21/28] kernel-coverage.sh: move the quick spin through
|
|
stressors to the end of the test
|
|
|
|
Keeps the coverage in the original order, move these to the end
|
|
|
|
Signed-off-by: Colin Ian King <colin.king@canonical.com>
|
|
---
|
|
kernel-coverage.sh | 18 +++++++++---------
|
|
1 file changed, 9 insertions(+), 9 deletions(-)
|
|
|
|
diff --git a/kernel-coverage.sh b/kernel-coverage.sh
|
|
index e26738e337c8..7b8f79033598 100755
|
|
--- a/kernel-coverage.sh
|
|
+++ b/kernel-coverage.sh
|
|
@@ -58,15 +58,6 @@ DURATION=60
|
|
|
|
do_stress --all 1
|
|
|
|
-#
|
|
-# Quick spin through all the classes of stressors with ftrace enabled
|
|
-#
|
|
-DURATION=1
|
|
-for CLASS in cpu-cache cpu device filesystem interrupt io memory network os pipe scheduler security vm
|
|
-do
|
|
- sudo $STRESS_NG --class $CLASS --ftrace --seq 1 -v --timestamp --syslog -t $DURATION
|
|
-done
|
|
-
|
|
DURATION=30
|
|
do_stress --cpu 0 --taskset 0,2 --ignite-cpu
|
|
do_stress --cpu 0 --taskset 1,2,3
|
|
@@ -196,5 +187,14 @@ if [ -e $PERF_PARANOID ]; then
|
|
(echo $paranoid_saved | sudo tee $PERF_PARANOID) > /dev/null
|
|
fi
|
|
|
|
+#
|
|
+# Quick spin through all the classes of stressors with ftrace enabled
|
|
+#
|
|
+DURATION=1
|
|
+for CLASS in cpu-cache cpu device filesystem interrupt io memory network os pipe scheduler security vm
|
|
+do
|
|
+ sudo $STRESS_NG --class $CLASS --ftrace --seq 1 -v --timestamp --syslog -t $DURATION
|
|
+done
|
|
+
|
|
sudo lcov -c -o kernel.info
|
|
sudo genhtml -o html kernel.info
|
|
--
|
|
2.21.3
|
|
|