]> code.ossystems Code Review - openembedded-core.git/commit
buildstats: Fix for buildstats on tmpfs
authorElizabeth Flanagan <elizabeth.flanagan@intel.com>
Tue, 1 Nov 2011 23:08:50 +0000 (16:08 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Jan 2012 16:27:11 +0000 (16:27 +0000)
commite0d26e0e1dfb9d35d71f20488c16f3cea3da862e
tree196e5472e8fdf4dff51b016721e8b9829d47252b
parentcf9d3140a9dae5bdc6145ae04a729f4775ae66a2
buildstats: Fix for buildstats on tmpfs

tmpfs/encryptfs/(and most likely, but not confirmed)ramfs TMPDIRs
cause diskstats to choke. No device entry ends up in /proc/diskstats
for these fs types, which ends up causing the failure.

The short term solution is to exclude these fs types from diskstat
collection. Longer term we will want to see if we can collect
meaningful diskio for each of these, and other, use cases, but for
this cleans up Bug 1700.

[YOCTO #1700]

(From OE-Core rev: 2b14046c12855b6f484ba5bd6bc0a8022de6873e)

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Corrected YOCTO bug location and format

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/buildstats.bbclass