diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-03-02 22:47:39 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-07 17:23:04 +0000 |
commit | dd3da9aa471c16659931162a1c7c7781265d0819 (patch) | |
tree | 6fe242c9a810b92046c14ecfd76f3a5fe5db7f49 /bitbake/lib/bb/ui | |
parent | f56fa5dfd44c8ee9554670742c05f8392847f0f6 (diff) | |
download | poky-dd3da9aa471c16659931162a1c7c7781265d0819.tar.gz |
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 <ed.bartosh@linux.intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui')
-rw-r--r-- | bitbake/lib/bb/ui/toasterui.py | 27 |
1 files changed, 12 insertions, 15 deletions
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 = [ | |||
102 | "bb.command.CommandExit", | 102 | "bb.command.CommandExit", |
103 | "bb.command.CommandFailed", | 103 | "bb.command.CommandFailed", |
104 | "bb.cooker.CookerExit", | 104 | "bb.cooker.CookerExit", |
105 | "bb.event.BuildBase", | 105 | "bb.event.BuildCompleted", |
106 | "bb.event.BuildStarted", | ||
106 | "bb.event.CacheLoadCompleted", | 107 | "bb.event.CacheLoadCompleted", |
107 | "bb.event.CacheLoadProgress", | 108 | "bb.event.CacheLoadProgress", |
108 | "bb.event.CacheLoadStarted", | 109 | "bb.event.CacheLoadStarted", |
110 | "bb.event.ConfigParsed", | ||
111 | "bb.event.DepTreeGenerated", | ||
109 | "bb.event.LogExecTTY", | 112 | "bb.event.LogExecTTY", |
110 | "bb.event.MetadataEvent", | 113 | "bb.event.MetadataEvent", |
111 | "bb.event.MultipleProviders", | 114 | "bb.event.MultipleProviders", |
@@ -113,9 +116,16 @@ _evt_list = [ | |||
113 | "bb.event.ParseCompleted", | 116 | "bb.event.ParseCompleted", |
114 | "bb.event.ParseProgress", | 117 | "bb.event.ParseProgress", |
115 | "bb.event.ParseStarted", | 118 | "bb.event.ParseStarted", |
116 | "bb.runqueue.runQueueExitWait", | 119 | "bb.event.RecipeParsed", |
120 | "bb.event.SanityCheck", | ||
121 | "bb.event.SanityCheckPassed", | ||
122 | "bb.event.TreeDataPreparationCompleted", | ||
123 | "bb.event.TreeDataPreparationStarted", | ||
124 | "bb.runqueue.runQueueTaskCompleted", | ||
117 | "bb.runqueue.runQueueTaskFailed", | 125 | "bb.runqueue.runQueueTaskFailed", |
126 | "bb.runqueue.runQueueTaskSkipped", | ||
118 | "bb.runqueue.runQueueTaskStarted", | 127 | "bb.runqueue.runQueueTaskStarted", |
128 | "bb.runqueue.sceneQueueTaskCompleted", | ||
119 | "bb.runqueue.sceneQueueTaskFailed", | 129 | "bb.runqueue.sceneQueueTaskFailed", |
120 | "bb.runqueue.sceneQueueTaskStarted", | 130 | "bb.runqueue.sceneQueueTaskStarted", |
121 | "logging.LogRecord"] | 131 | "logging.LogRecord"] |
@@ -395,19 +405,6 @@ def main(server, eventHandler, params): | |||
395 | main.shutdown = 1 | 405 | main.shutdown = 1 |
396 | continue | 406 | continue |
397 | 407 | ||
398 | # ignore | ||
399 | if isinstance(event, (bb.event.BuildBase, | ||
400 | bb.event.StampUpdate, | ||
401 | bb.event.RecipePreFinalise, | ||
402 | bb.runqueue.runQueueEvent, | ||
403 | bb.runqueue.runQueueExitWait, | ||
404 | bb.event.OperationProgress, | ||
405 | bb.command.CommandFailed, | ||
406 | bb.command.CommandExit, | ||
407 | bb.command.CommandCompleted, | ||
408 | bb.event.ReachableStamps)): | ||
409 | continue | ||
410 | |||
411 | if isinstance(event, bb.event.DepTreeGenerated): | 408 | if isinstance(event, bb.event.DepTreeGenerated): |
412 | buildinfohelper.store_dependency_information(event) | 409 | buildinfohelper.store_dependency_information(event) |
413 | continue | 410 | continue |