mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
visualizers: discover visualizers from capture reader
The goal here is to avoid having to hard code what visualizers are shown from the .ui files. We just should add things that we find are supported. Long term, I think we'll add a concept of an "instrument" which is the combination of a data source (SpSource) and a visualizer (SpVisualizerRow). The other goal here is to enable the future support for discovering marks and adding rows for each of those threads.
This commit is contained in:
@ -169,16 +169,6 @@
|
||||
<object class="SpVisualizerView" id="visualizers">
|
||||
<property name="visible">true</property>
|
||||
<property name="zoom-manager">zoom_manager</property>
|
||||
<child type="visualizer">
|
||||
<object class="SpCpuVisualizerRow" id="cpu_row">
|
||||
<property name="title" translatable="yes">CPU</property>
|
||||
<property name="height-request">75</property>
|
||||
<property name="selectable">false</property>
|
||||
<property name="visible">true</property>
|
||||
<property name="y-lower">0.0</property>
|
||||
<property name="y-upper">100.0</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
|
||||
Reference in New Issue
Block a user