[yocto] generating shared-state statistics from build

Barros Pena, Belen belen.barros.pena at intel.com
Wed Dec 2 03:30:37 PST 2015



On 02/12/2015 11:28, "Barros Pena, Belen" <belen.barros.pena at intel.com>
wrote:

>
>On 01/12/2015 16:23, "yocto-bounces at yoctoproject.org on behalf of Martin
>Jansa" <yocto-bounces at yoctoproject.org on behalf of
>martin.jansa at gmail.com> wrote:
>
>>On Tue, Dec 01, 2015 at 03:23:01PM +0000, Luke (Lucas) Starrett wrote:
>>> Hi,
>>> 
>>> Is there any existing way to track usage of shared state by a build?
>>>In a multi-user environment I'm interesting in knowing how often a build
>>>is hitting in the shared state cache vs. rebuilding.  Typically would
>>>have a globally visible shared state cache mirror updated by a
>>>nightly/periodic build, and a user-level shared state pointed to by one
>>>or more local workspaces.  We would want to understand if we have
>>>excessive cases for which the cache is not used.
>>> 
>>> I'm sure there's some way I can post-process numerous logs for a given
>>>image to get this info, but thought maybe this has been solved already.
>>
>>Inherit buildstats-summary
>
>Toaster would be another way: the tasks information shows which tasks used
>shared state objects, and which ones tried by didn't. It's explained here:

I meant here

https://www.youtube.com/watch?v=D4-9vGSxQtw


Belén

>
>
>
>
>>
>>-- 
>>Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
>




More information about the yocto mailing list