Skip to contentSkip to conversation

Build statistics base

PATCH Applied Elizabeth Flanagan 2 participants 2 messages Feb 15, 2011

lore
Share & tools
lore
#0 lore raw

cover Build statistics base

This is an initial commit of buildstats.bbclass. This generates a directory structure in build/tmp/buildstats which contains basic build statistics on a build run.

What we capture:
CPU usage on a build and task level
Time run overall and for each tast
Size of the uncompressed rootfs
If the build has failures, what package failed and during what task

Overall build stats are kept in build/tmp/buildstats/<buildname-MACHINE>/<timestamp>/build_stats with package statistics kept in <pkg_name>/<task>.

Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: eflanagan/buildstats
Browse:
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=eflanagan/buildstats

Thanks,
Beth Flanagan <[email protected]>
---

Beth Flanagan (1):
Buildstats commit: buildstats.bbclass

 meta/classes/base.bbclass       |    1 +
 meta/classes/buildstats.bbclass |  194
+++++++++++++++++++++++++++++++++++++++
 2 files changed, 195 insertions(+), 0 deletions(-)
 create mode 100644 meta/classes/buildstats.bbclass
#1 lore raw
Quoted 15 lines · Elizabeth Flanagan

This is an initial commit of buildstats.bbclass. This generates a directory structure in build/tmp/buildstats which contains basic build statistics on a build run.

What we capture:
CPU usage on a build and task level
Time run overall and for each tast
Size of the uncompressed rootfs
If the build has failures, what package failed and during what task

Overall build stats are kept in build/tmp/buildstats/<buildname-MACHINE>/<timestamp>/build_stats with package statistics kept in <pkg_name>/<task>.

Quoted 7 lines

Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: eflanagan/buildstats
Browse:
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=eflanagan/buildstats

Thanks,
Beth Flanagan <[email protected]>

Merged to master, thanks Beth!

Richard