summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorAwais Belal <awais_belal@mentor.com>2017-09-02 22:24:05 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-05 15:00:49 +0100
commit75e0fb34a19c10c24773b2be259fafd913540c6e (patch)
tree993a8b46601fe91157746da48a7a10ff703251c0 /bitbake
parent1ec9de893cd782c680b1498d8368ddc129efa28d (diff)
downloadpoky-75e0fb34a19c10c24773b2be259fafd913540c6e.tar.gz
bitbake: toaster: Order column in Tasks selectable
The build page provides tables related to performance that cover build time, CPU time and disk IO. The "Edit columns" drop down does not allow selection of the Order column and makes it hidden as well which is not accurate from user interaction point of view. This patch enables the hideable property for the Order column so it is hidden by default but the user can enable it through the drop down if need be. [YOCTO #11040] (Bitbake rev: 1f1cc1edb21aeec684ef7323554794b33d84d414) Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/toastergui/buildtables.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/buildtables.py b/bitbake/lib/toaster/toastergui/buildtables.py
index dd0a6900dd..755a7c2e43 100644
--- a/bitbake/lib/toaster/toastergui/buildtables.py
+++ b/bitbake/lib/toaster/toastergui/buildtables.py
@@ -571,6 +571,7 @@ class BuildTimeTable(BuildTasksTable):
571 super(BuildTimeTable, self).setup_columns(**kwargs) 571 super(BuildTimeTable, self).setup_columns(**kwargs)
572 572
573 self.columns[self.toggle_columns['order']]['hidden'] = True 573 self.columns[self.toggle_columns['order']]['hidden'] = True
574 self.columns[self.toggle_columns['order']]['hideable'] = True
574 self.columns[self.toggle_columns['sstate_result']]['hidden'] = True 575 self.columns[self.toggle_columns['sstate_result']]['hidden'] = True
575 self.columns[self.toggle_columns['elapsed_time']]['hidden'] = False 576 self.columns[self.toggle_columns['elapsed_time']]['hidden'] = False
576 577
@@ -586,6 +587,7 @@ class BuildCPUTimeTable(BuildTasksTable):
586 super(BuildCPUTimeTable, self).setup_columns(**kwargs) 587 super(BuildCPUTimeTable, self).setup_columns(**kwargs)
587 588
588 self.columns[self.toggle_columns['order']]['hidden'] = True 589 self.columns[self.toggle_columns['order']]['hidden'] = True
590 self.columns[self.toggle_columns['order']]['hideable'] = True
589 self.columns[self.toggle_columns['sstate_result']]['hidden'] = True 591 self.columns[self.toggle_columns['sstate_result']]['hidden'] = True
590 self.columns[self.toggle_columns['cpu_time_sys']]['hidden'] = False 592 self.columns[self.toggle_columns['cpu_time_sys']]['hidden'] = False
591 self.columns[self.toggle_columns['cpu_time_user']]['hidden'] = False 593 self.columns[self.toggle_columns['cpu_time_user']]['hidden'] = False
@@ -602,5 +604,6 @@ class BuildIOTable(BuildTasksTable):
602 super(BuildIOTable, self).setup_columns(**kwargs) 604 super(BuildIOTable, self).setup_columns(**kwargs)
603 605
604 self.columns[self.toggle_columns['order']]['hidden'] = True 606 self.columns[self.toggle_columns['order']]['hidden'] = True
607 self.columns[self.toggle_columns['order']]['hideable'] = True
605 self.columns[self.toggle_columns['sstate_result']]['hidden'] = True 608 self.columns[self.toggle_columns['sstate_result']]['hidden'] = True
606 self.columns[self.toggle_columns['disk_io']]['hidden'] = False 609 self.columns[self.toggle_columns['disk_io']]['hidden'] = False