diff options
| author | Luis Martins <luis.martins@criticaltechworks.com> | 2020-03-24 11:33:13 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-24 16:39:40 +0000 |
| commit | 719c14c984adb85ae0d3b91a6cb8c181a7bb1a4d (patch) | |
| tree | 857cc95a02adf35e8ad43ebbceb59348245d37a8 /scripts/contrib/bb-perf/buildstats-plot.sh | |
| parent | 41b145b2b10dc9eadebba0d2ea16cd6f21f8c12f (diff) | |
| download | poky-719c14c984adb85ae0d3b91a6cb8c181a7bb1a4d.tar.gz | |
buildstats*.sh: fix spacing indentation in the files
Fix indentation in buildstats.sh and buildstats-plot.sh
to convert every line to 4 spaces indentation.
(From OE-Core rev: 3971572042ae9bc8226eb92892bb71010287e0a8)
Signed-off-by: Luis Martins <luis.martins@criticaltechworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib/bb-perf/buildstats-plot.sh')
| -rwxr-xr-x | scripts/contrib/bb-perf/buildstats-plot.sh | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/scripts/contrib/bb-perf/buildstats-plot.sh b/scripts/contrib/bb-perf/buildstats-plot.sh index 320c4910a1..80fd30960c 100755 --- a/scripts/contrib/bb-perf/buildstats-plot.sh +++ b/scripts/contrib/bb-perf/buildstats-plot.sh | |||
| @@ -72,40 +72,40 @@ EOM | |||
| 72 | 72 | ||
| 73 | # Parse and validate arguments | 73 | # Parse and validate arguments |
| 74 | while getopts "b:n:r:t:s:o:aSh" OPT; do | 74 | while getopts "b:n:r:t:s:o:aSh" OPT; do |
| 75 | case $OPT in | 75 | case $OPT in |
| 76 | b) | 76 | b) |
| 77 | BS_DIR="$OPTARG" | 77 | BS_DIR="$OPTARG" |
| 78 | ;; | 78 | ;; |
| 79 | n) | 79 | n) |
| 80 | N="$OPTARG" | 80 | N="$OPTARG" |
| 81 | ;; | 81 | ;; |
| 82 | r) | 82 | r) |
| 83 | RECIPE="-r $OPTARG" | 83 | RECIPE="-r $OPTARG" |
| 84 | ;; | 84 | ;; |
| 85 | t) | 85 | t) |
| 86 | TASKS="$OPTARG" | 86 | TASKS="$OPTARG" |
| 87 | ;; | 87 | ;; |
| 88 | s) | 88 | s) |
| 89 | STATS="$OPTARG" | 89 | STATS="$OPTARG" |
| 90 | ;; | 90 | ;; |
| 91 | a) | 91 | a) |
| 92 | ACCUMULATE="-a" | 92 | ACCUMULATE="-a" |
| 93 | ;; | 93 | ;; |
| 94 | S) | 94 | S) |
| 95 | SUM="y" | 95 | SUM="y" |
| 96 | ;; | 96 | ;; |
| 97 | o) | 97 | o) |
| 98 | OUTDATA_FILE="$OPTARG" | 98 | OUTDATA_FILE="$OPTARG" |
| 99 | ;; | 99 | ;; |
| 100 | h) | 100 | h) |
| 101 | usage | 101 | usage |
| 102 | exit 0 | 102 | exit 0 |
| 103 | ;; | 103 | ;; |
| 104 | *) | 104 | *) |
| 105 | usage | 105 | usage |
| 106 | exit 1 | 106 | exit 1 |
| 107 | ;; | 107 | ;; |
| 108 | esac | 108 | esac |
| 109 | done | 109 | done |
| 110 | 110 | ||
| 111 | # Get number of stats | 111 | # Get number of stats |
| @@ -141,8 +141,8 @@ else | |||
| 141 | declare -a sumargs | 141 | declare -a sumargs |
| 142 | j=0 | 142 | j=0 |
| 143 | for i in `seq $nstats`; do | 143 | for i in `seq $nstats`; do |
| 144 | sumargs[j]=sum; j=$(( $j + 1 )) | 144 | sumargs[j]=sum; j=$(( $j + 1 )) |
| 145 | sumargs[j]=`expr 3 + $i - 1`; j=$(( $j + 1 )) | 145 | sumargs[j]=`expr 3 + $i - 1`; j=$(( $j + 1 )) |
| 146 | done | 146 | done |
| 147 | 147 | ||
| 148 | # Do the processing with datamash | 148 | # Do the processing with datamash |
