diff options
author | Santosh Shukla <santosh.shukla@linaro.org> | 2014-08-11 19:35:55 +0530 |
---|---|---|
committer | santosh shukla <santosh.shukla@linaro.org> | 2014-08-11 20:04:49 +0530 |
commit | cc16b6bda288a34a3a89d4989e90c72789b17503 (patch) | |
tree | 90cf5f6bebc2a5f9ee613cdfd1474f72b3ab13d2 | |
parent | f302b2db13cc64e99aaa61f638a6d37ca7764c42 (diff) |
is-cpu-isolated : removed extra echo message in getopt
Also some spelling correction.
Signed-off-by: Santosh Shukla <santosh.shukla@linaro.org>
-rwxr-xr-x | common/scripts/is-cpu-isolated.sh | 8 |
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 ;; |