summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcommon/scripts/is-cpu-isolated.sh8
1 files changed, 2 insertions, 6 deletions
diff --git a/common/scripts/is-cpu-isolated.sh b/common/scripts/is-cpu-isolated.sh
index 2e54f48..798b13d 100755
--- a/common/scripts/is-cpu-isolated.sh
+++ b/common/scripts/is-cpu-isolated.sh
@@ -160,7 +160,6 @@ create_dplane_cpuset() {
echo $$ > /dev/cpuset/dplane/cpu$1/tasks
# Start single cpu bound stress thread
- echo "$TASK"
$TASK -q --cpu 1 --timeout $STRESS_DURATION &
# Move shell back to control plane CPU
@@ -320,7 +319,6 @@ sense_infinite_isolation() {
# process interrupts
refresh_interrupts
- echo "$TASK"
ps h -C $TASK -o pid > /dev/null
if [ $? != 0 ]; then
T2="$(date +%s)"
@@ -409,7 +407,6 @@ clear_cpusets() {
#
# kill all instances of stress
- echo "$TASK"
for i in `ps | grep $TASK | sed 's/^\ *//g' | cut -d' ' -f1`;
do
kill -9 $i;
@@ -445,7 +442,7 @@ USAGE="Usage: filename $0 [-hv] [-ctfsd args] [-c <comma separated isol cpulist>
# Run isolation test for $1 (function_type)
run_func()
{
- echo $TASK
+# echo $TASK
echo "Function type :"
case $1 in
"isolate")
@@ -502,7 +499,7 @@ do
c) # --cpu (comma separated isolated cpu)
ISOL_CPUS=$OPTARG
- echo "iso cpulist $ISOL_CPUS.";;
+ echo "isol cpulist $ISOL_CPUS.";;
t) # --task (task to run)
TASK=$OPTARG
@@ -511,7 +508,6 @@ do
f) # --func_type (type of function to perform on binary out of 4 listed
# function, isolation, get_isolation, clear_cpuset)
FUNC=$OPTARG
-
run_func $FUNC
;;