]> 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, 7 Nov 2011 14:03:36 +0000 (14:03 +0000)
commit2b14046c12855b6f484ba5bd6bc0a8022de6873e
treef8f3a4d9db64b40961a7d47ee55299cb36d0c8f0
parent4c4143e0f0382118448c7c2a452dafac0db5130f
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]

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

Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/buildstats.bbclass