summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/toasterui.py
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2013-11-27 16:38:29 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-10 11:16:12 +0000
commitf8120984f459d193ce5ffa243137baf0e38d223e (patch)
tree1fd895eb893c332c726e14d7a25869df15a944fe /bitbake/lib/bb/ui/toasterui.py
parentea307bbcff38fdc93aab438156ed60704e06d27a (diff)
downloadpoky-f8120984f459d193ce5ffa243137baf0e38d223e.tar.gz
poky-f8120984f459d193ce5ffa243137baf0e38d223e.tar.bz2
poky-f8120984f459d193ce5ffa243137baf0e38d223e.zip
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.py2
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 ):
buildinfohelper.store_build_package_information(event)
if event.type == "LayerInfo":
buildinfohelper.store_layer_info(event)
+ if event.type == "BuildStatsList":
+ buildinfohelper.store_tasks_stats(event)
continue
# ignore