On Tue, 2021-04-13 at 13:02 -0400, sakib.sa...@windriver.com wrote:
> collect-data template can run arbitrary commands/scripts
> on a regular basis and logs the output in a file.
> 
> See oe-core for more details:
>     edb7098e9e buildstats.bbclass: add functionality to collect build system 
> stats
> 
> Signed-off-by: Sakib Sajal <sakib.sa...@windriver.com>
> Signed-off-by: Randy MacLeod <randy.macl...@windriver.com>
> ---
>  config.json | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/config.json b/config.json
> index 5bfa240..c43d231 100644
> --- a/config.json
> +++ b/config.json
> @@ -87,6 +87,13 @@
>                  "SANITYTARGETS" : "core-image-full-cmdline:do_testimage 
> core-image-sato:do_testimage core-image-sato-sdk:do_testimage"
>              }
>          },
> +     "collect-data" : {
> +            "extravars" : [
> +                "BB_HEARTBEAT_EVENT = '10'",
> +                "BB_LOG_HOST_STAT_ON_INTERVAL = '1'",
> +                "BB_LOG_HOST_STAT_CMDS = 'oe-time-dd-test.sh 100'"
> +            ]
> +        },

Is the template used anywhere? I can't remember if we support nesting templates 
in which 
case this is useful, or not?

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#53145): https://lists.yoctoproject.org/g/yocto/message/53145
Mute This Topic: https://lists.yoctoproject.org/mt/82074296/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to