]> code.ossystems Code Review - openembedded-core.git/commitdiff
buildstats-plot.sh: fix invoking buildstats.sh
authorLuis Martins <luis.martins@criticaltechworks.com>
Tue, 24 Mar 2020 11:33:09 +0000 (11:33 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Mar 2020 16:39:37 +0000 (16:39 +0000)
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>
scripts/contrib/bb-perf/buildstats-plot.sh

index 898834e5ac293527a222023749b62be94a3d23da..089621c9f86ac75de7d7a8ff7196899905156cc5 100755 (executable)
@@ -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')