From dd3da9aa471c16659931162a1c7c7781265d0819 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Wed, 2 Mar 2016 22:47:39 -0800 Subject: bitbake: toasterui: update list of events Removed events not used in the code from the list. Added events that are used in the code. (Bitbake rev: 16b14ec16049cc2040a60ad5fc95f6e19dda91a6) Signed-off-by: Ed Bartosh Signed-off-by: brian avery Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/toasterui.py | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) (limited to 'bitbake/lib/bb/ui/toasterui.py') diff --git a/bitbake/lib/bb/ui/toasterui.py b/bitbake/lib/bb/ui/toasterui.py index 377526e48c..4bb33f1008 100644 --- a/bitbake/lib/bb/ui/toasterui.py +++ b/bitbake/lib/bb/ui/toasterui.py @@ -102,10 +102,13 @@ _evt_list = [ "bb.command.CommandExit", "bb.command.CommandFailed", "bb.cooker.CookerExit", - "bb.event.BuildBase", + "bb.event.BuildCompleted", + "bb.event.BuildStarted", "bb.event.CacheLoadCompleted", "bb.event.CacheLoadProgress", "bb.event.CacheLoadStarted", + "bb.event.ConfigParsed", + "bb.event.DepTreeGenerated", "bb.event.LogExecTTY", "bb.event.MetadataEvent", "bb.event.MultipleProviders", @@ -113,9 +116,16 @@ _evt_list = [ "bb.event.ParseCompleted", "bb.event.ParseProgress", "bb.event.ParseStarted", - "bb.runqueue.runQueueExitWait", + "bb.event.RecipeParsed", + "bb.event.SanityCheck", + "bb.event.SanityCheckPassed", + "bb.event.TreeDataPreparationCompleted", + "bb.event.TreeDataPreparationStarted", + "bb.runqueue.runQueueTaskCompleted", "bb.runqueue.runQueueTaskFailed", + "bb.runqueue.runQueueTaskSkipped", "bb.runqueue.runQueueTaskStarted", + "bb.runqueue.sceneQueueTaskCompleted", "bb.runqueue.sceneQueueTaskFailed", "bb.runqueue.sceneQueueTaskStarted", "logging.LogRecord"] @@ -395,19 +405,6 @@ def main(server, eventHandler, params): main.shutdown = 1 continue - # ignore - if isinstance(event, (bb.event.BuildBase, - bb.event.StampUpdate, - bb.event.RecipePreFinalise, - bb.runqueue.runQueueEvent, - bb.runqueue.runQueueExitWait, - bb.event.OperationProgress, - bb.command.CommandFailed, - bb.command.CommandExit, - bb.command.CommandCompleted, - bb.event.ReachableStamps)): - continue - if isinstance(event, bb.event.DepTreeGenerated): buildinfohelper.store_dependency_information(event) continue -- cgit v1.2.3-54-g00ecf