]> code.ossystems Code Review - openembedded-core.git/commit
buildstats.bbclass: collect data in the same file.
authorSakib Sajal <sakib.sajal@windriver.com>
Tue, 27 Apr 2021 21:19:08 +0000 (17:19 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 27 Apr 2021 22:43:39 +0000 (23:43 +0100)
commit4fbf422351668f755a14811ac39161c889087e81
tree2353a737e805f7cb41d11690801e19d7f84e1892
parent56cd96651c6304712fd544fbc9b69c986d2b2efe
buildstats.bbclass: collect data in the same file.

Previously "at interval" and "on failure" logs were collected
in separate files. Collect both types of logging in the same
file for better analysis.

Introduced new variable which allows different set of commands
to be run by the different logging, interval or failure. The
variables are BB_LOG_HOST_STAT_CMDS_INTERVAL and
BB_LOG_HOST_STAT_CMDS_FAILURE respecteviely.

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/buildstats.bbclass