Skip to content

system statistics sampling

Patrick Ohly bitbake-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4cooker process: fire heartbeat event at regular time intervalslib/bb/event.py lib/bb/server/process.py lib/bb/ui/knotty.py +1 more+39 -00 replies
2/4runqueue.py: monitor disk space at regular time intervalslib/bb/runqueue.py+5 -32 replies
3/4monitordisk.py: minor code and comment cleanuplib/bb/monitordisk.py+6 -90 replies
4/4monitordisk: add eventlib/bb/event.py lib/bb/monitordisk.py+25 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] system statistics sampling

These patches are a precondition for the corresponding patches to OE-core. See https://bugzilla.yoctoproject.org/show_bug.cgi?id=10583

The original motivation for the heartbeat event was the system statistics sampling, but it also turned out to be useful for monitoring disks more deterministically. That improvement is also included here and shows that the heartbeat mechanism is useful also without the OE-core patches.

The following changes since commit d140f0ee6f301264e226914766d9f63558acfd6c:

COW.py: fix sample codes (2016-11-23 10:59:49 +0000)

are available in the git repository at:

git://github.com/pohly/bitbake heartbeat
https://github.com/pohly/bitbake/tree/heartbeat

Patrick Ohly (4):
cooker process: fire heartbeat event at regular time intervals runqueue.py: monitor disk space at regular time intervals monitordisk.py: minor code and comment cleanup
monitordisk: add event

 lib/bb/event.py          | 27 +++++++++++++++++++++++++++
 lib/bb/monitordisk.py    | 23 ++++++++++++++---------
 lib/bb/runqueue.py       |  8 +++++---
 lib/bb/server/process.py | 25 +++++++++++++++++++++++++
 lib/bb/ui/knotty.py      |  1 +
 lib/bb/ui/toasterui.py   |  3 +++
 6 files changed, 75 insertions(+), 12 deletions(-)
Signature · 1 line
2.1.4