Don't assume /proc/<pid>/io present
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 1 patch 0 repliesNew
Patches in v1 No applies recorded yet
The patch the cover letter announces is not in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/1] Don't assume /proc/<pid>/io present
Latest enhancements to collect task statistics in the file buildstats.bbclass also collect task I/O statistics using procfs interface. However, it is not guaranteed the I/O counters are actually present. This depends on how the kernel was configured. If the kernel was configured without CONFIG_TASK_IO_ACCOUNTING=y, the corresponding procfs entries are missing. This has been in fact observed in the wild (Build Appliance).
If we try to read the non-existent counters, we will basically hang bitbake. The attached patch file checks for missing procfs entries and avoids reading them if not present.
Bitbake will also issue a one-time warning message at the start of a build.
Juro Bystricky (1):
buildstats.bbclass: Don't assume /proc/<pid>/io present
meta/classes/buildstats.bbclass | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-)
Signature · 1 line
1.9.1