[OE-core] [PATCH] buildstats-summary.bbclass: Import useful bbclass from meta-mentor

Christopher Larson clarson at kergoth.com
Wed Jun 11 20:54:38 UTC 2014


On Fri, Jun 6, 2014 at 12:27 PM, Martin Jansa <martin.jansa at gmail.com>
wrote:

> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> ---
>  meta/classes/buildstats-summary.bbclass | 43
> +++++++++++++++++++++++++++++++++
>  1 file changed, 43 insertions(+)
>  create mode 100644 meta/classes/buildstats-summary.bbclass
>
> diff --git a/meta/classes/buildstats-summary.bbclass b/meta/classes/
> buildstats-summary.bbclass
> new file mode 100644
> index 0000000..3c02724
> --- /dev/null
> +++ b/meta/classes/buildstats-summary.bbclass
> @@ -0,0 +1,43 @@
> +# Imported from meta-mentor
> +# http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor/log/classes/
> buildstats-summary.bbclass
> +# with following modifications
> +# 1) when both setscene and normal tasks were executed, count it as
> no_sstate
> +# 2) count do_populate_sysroot and do_packagedata tasks, because often we
> invalidate only runtime deps
>

Looks like useful improvements, nicely done. Have you thought about not
hardcoding the task list, if we're going to display it this way? See
https://gist.github.com/kergoth/2519927f59712282e9e8 for a version which
obeys SSTATETASKS.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140611/63634735/attachment-0002.html>


More information about the Openembedded-core mailing list