summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis Martins <luis.martins@criticaltechworks.com>2020-03-24 11:33:09 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-24 16:39:40 +0000
commit5ea725cd5a9c6ce1f411bc890d7bacb9865fd437 (patch)
treeb5029f38a67e7a75973e5cfcd64f83a5478a0d10
parent3aba12edbbe376d39cf1b108cb988f0549aac64e (diff)
downloadpoky-5ea725cd5a9c6ce1f411bc890d7bacb9865fd437.tar.gz
buildstats-plot.sh: fix invoking buildstats.sh
Fix the internal call to buildstats.sh by also providing the buildstats folder location in the system, which might differ from the default location. (From OE-Core rev: 9f4ee2ee8712528ac51ef4ecd17ccde737e8b21d) Signed-off-by: Luis Martins <luis.martins@criticaltechworks.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xscripts/contrib/bb-perf/buildstats-plot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/contrib/bb-perf/buildstats-plot.sh b/scripts/contrib/bb-perf/buildstats-plot.sh
index 898834e5ac..089621c9f8 100755
--- a/scripts/contrib/bb-perf/buildstats-plot.sh
+++ b/scripts/contrib/bb-perf/buildstats-plot.sh
@@ -101,7 +101,7 @@ CD=$(dirname $0)
101 101
102# Parse buildstats recipes to produce a single table 102# Parse buildstats recipes to produce a single table
103OUTBUILDSTATS="$PWD/buildstats.log" 103OUTBUILDSTATS="$PWD/buildstats.log"
104$CD/buildstats.sh -H -s "$STATS" -H > $OUTBUILDSTATS 104$CD/buildstats.sh -b "$BS_DIR" -s "$STATS" -H > $OUTBUILDSTATS
105 105
106# Get headers 106# Get headers
107HEADERS=$(cat $OUTBUILDSTATS | sed -n -e '1s/ /-/g' -e '1s/:/ /gp') 107HEADERS=$(cat $OUTBUILDSTATS | sed -n -e '1s/ /-/g' -e '1s/:/ /gp')