[oe] [Bitbake-dev] Bitbake task logging

Chris Larson clarson at kergoth.com
Wed Jan 5 18:30:45 UTC 2011


On Tue, Jan 4, 2011 at 5:45 PM, Richard Purdie <rpurdie at rpsys.net> wrote:
> On Wed, 2011-01-05 at 00:40 +0300, Yury Bushmelev wrote:
>> 2011/1/1 Richard Purdie <richard.purdie at linuxfoundation.org>:
>> > I've been looking at the changes in bitbake master and those in Poky.
>> > Both are trying to improve the logging situation but I think we need to
>> > discuss/agree what we're trying to achieve.
>>
>> [skip]
>>
>> > Thoughts/Comments/Suggestions?
>>
>> I'm interested in build perfomance monitoring/analyze. It would be
>> great to have some tool (may be like bootchart) to be able to look at
>> CPU time/RAM/Disk bandwidth/network traffic per task.
>
> You should already be able to do this with the addhandler functionality
> in a bbclass file to tap into bitbake's event stream. If you find you
> can't, we should enhance things so you can :).

http://kergoth.pastey.net/142813 shows an example of using this to
show per-task and per-build CPU usage and execution times.  I intended
to implement I/O and network, but it got pushed to the back burner.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics




More information about the Openembedded-devel mailing list