summaryrefslogtreecommitdiffstats
path: root/scripts
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:37 +0000
commit9f4ee2ee8712528ac51ef4ecd17ccde737e8b21d (patch)
treec9b88e67c239fe47e835427483a20dca02e5b277 /scripts
parent2246c8d2466d3876fd1b27fd1943aa4bbf28e14e (diff)
downloadopenembedded-core-contrib-9f4ee2ee8712528ac51ef4ecd17ccde737e8b21d.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. Signed-off-by: Luis Martins <luis.martins@criticaltechworks.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-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)
# Parse buildstats recipes to produce a single table
OUTBUILDSTATS="$PWD/buildstats.log"
-$CD/buildstats.sh -H -s "$STATS" -H > $OUTBUILDSTATS
+$CD/buildstats.sh -b "$BS_DIR" -s "$STATS" -H > $OUTBUILDSTATS
# Get headers
HEADERS=$(cat $OUTBUILDSTATS | sed -n -e '1s/ /-/g' -e '1s/:/ /gp')