From: Luis Martins Date: Tue, 24 Mar 2020 11:33:09 +0000 (+0000) Subject: buildstats-plot.sh: fix invoking buildstats.sh X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~11485 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f4ee2ee8712528ac51ef4ecd17ccde737e8b21d;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- diff --git a/scripts/contrib/bb-perf/buildstats-plot.sh b/scripts/contrib/bb-perf/buildstats-plot.sh index 898834e5ac2..089621c9f86 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')