diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2013-11-27 16:38:29 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-10 11:16:12 +0000 |
commit | f8120984f459d193ce5ffa243137baf0e38d223e (patch) | |
tree | 1fd895eb893c332c726e14d7a25869df15a944fe /bitbake/lib/bb/ui/toasterui.py | |
parent | ea307bbcff38fdc93aab438156ed60704e06d27a (diff) | |
download | poky-f8120984f459d193ce5ffa243137baf0e38d223e.tar.gz |
bitbake: toaster: update build stats reading
In the processes of removing local system accesses
from toaster UI, we remove the build stats
code that was moved to toaster.bbclass, and
adapt the database writing code to read the data
from BuildStatsList event sent by the toaster.bbclass
[YOCTO #5604]
(Bitbake rev: 4930ff5b471761c2a8d16c1935cdab9cf141d2d8)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/toasterui.py')
-rw-r--r-- | bitbake/lib/bb/ui/toasterui.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/toasterui.py b/bitbake/lib/bb/ui/toasterui.py index 50493e7b0d..318fc28adb 100644 --- a/bitbake/lib/bb/ui/toasterui.py +++ b/bitbake/lib/bb/ui/toasterui.py | |||
@@ -238,6 +238,8 @@ def main(server, eventHandler, params ): | |||
238 | buildinfohelper.store_build_package_information(event) | 238 | buildinfohelper.store_build_package_information(event) |
239 | if event.type == "LayerInfo": | 239 | if event.type == "LayerInfo": |
240 | buildinfohelper.store_layer_info(event) | 240 | buildinfohelper.store_layer_info(event) |
241 | if event.type == "BuildStatsList": | ||
242 | buildinfohelper.store_tasks_stats(event) | ||
241 | continue | 243 | continue |
242 | 244 | ||
243 | # ignore | 245 | # ignore |