sculpt: runtime view
This patch adds a graph of the current runtime state to the leitzentrale. The topology of the graph depends on the first routing rule of each component. For this reason, the patch re-orders routing policies to make the most important route the first in the list. The user can switch between the runtime view and the inspect window by clicking on the corresponding menu dialogs. E.g., a click on the storage dialog reveals the inspect window.
This commit is contained in:
committed by
Christian Helmuth
parent
40a84e0c81
commit
cdef4c2548
@@ -15,6 +15,7 @@ import_from_depot [depot_user]/src/[base_src] \
|
||||
[depot_user]/src/libc \
|
||||
[depot_user]/src/wm \
|
||||
[depot_user]/src/themed_decorator \
|
||||
[depot_user]/src/nic_router \
|
||||
[depot_user]/src/nit_fb \
|
||||
[depot_user]/src/nit_fader \
|
||||
[depot_user]/src/libpng \
|
||||
@@ -83,6 +84,8 @@ install_config {
|
||||
report="nitpicker -> hover"/>
|
||||
<policy label="leitzentrale -> manager -> displays"
|
||||
report="nitpicker -> displays"/>
|
||||
<policy label="runtime -> runtime_view -> dialog"
|
||||
report="leitzentrale -> manager -> runtime_view_dialog"/>
|
||||
</config>
|
||||
</start>
|
||||
|
||||
@@ -146,6 +149,7 @@ install_config {
|
||||
<provides> <service name="File_system"/> </provides>
|
||||
<config>
|
||||
<default-policy root="/" writeable="yes"/>
|
||||
<content> <inline name="log">See the core log for messages.</inline> </content>
|
||||
</config>
|
||||
</start>
|
||||
|
||||
@@ -230,6 +234,8 @@ install_config {
|
||||
<child name="config_fs" label="rw"/> </service>
|
||||
<service name="File_system" label="report">
|
||||
<child name="report_fs" label="rw"/> </service>
|
||||
<service name="Report" label="manager -> runtime_view_dialog">
|
||||
<child name="report_rom"/> </service>
|
||||
<service name="Report"> <child name="fs_report"/> </service>
|
||||
<service name="ROM" label_last="drivers/block_devices">
|
||||
<parent label="block_devices"/> </service>
|
||||
@@ -259,6 +265,8 @@ install_config {
|
||||
<child name="config_rom" label="managed/runtime"/> </service>
|
||||
<service name="ROM" label_prefix="config -> ">
|
||||
<child name="config_rom"/> </service>
|
||||
<service name="ROM" label="runtime_view -> dialog">
|
||||
<child name="report_rom"/> </service>
|
||||
<service name="File_system" label="config">
|
||||
<child name="config_fs" label="rw"/> </service>
|
||||
<service name="File_system" label="report">
|
||||
@@ -266,7 +274,6 @@ install_config {
|
||||
<service name="Block" label_last="ahci-1"> <child name="ahci-1"/> </service>
|
||||
<service name="Block" label_last="ahci-2"> <child name="ahci-2"/> </service>
|
||||
<service name="Block"> <child name="drivers"/> </service>
|
||||
<service name="Usb"> <child name="drivers"/> </service>
|
||||
<service name="Nitpicker" label_prefix="leitzentrale">
|
||||
<child name="leitzentrale"/> </service>
|
||||
<service name="Nitpicker"> <child name="nitpicker"/> </service>
|
||||
|
||||
Reference in New Issue
Block a user