The build system can collect build information per task and image. The data may be used to identify areas of optimization of build times and bottlenecks, especially when new recipes are added to the system. This recipe will explain how the build statistics work.
To enable the collection of statistics, your project needs to inherit the
buildstats class by adding it to
USER_CLASSES in your
conf/local.conf file. By default, the
fsl-community-bsp build project is configured to enable them.
USER_CLASSES ?= "buildstats"
You can configure the location of these statistics with the
BUILDSTATS_BASE variable, and by default it is set to the
buildstats folder in the
tmp directory under the
build directory (