mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-09 22:50:54 +00:00
libsysprof-gtk: add weighted callgraph view
This commit is contained in:
@ -150,6 +150,7 @@ test_tracks_class_init (TestTracksClass *klass)
|
|||||||
g_type_ensure (SYSPROF_TYPE_TRACKS_VIEW);
|
g_type_ensure (SYSPROF_TYPE_TRACKS_VIEW);
|
||||||
g_type_ensure (SYSPROF_TYPE_MARK_CHART);
|
g_type_ensure (SYSPROF_TYPE_MARK_CHART);
|
||||||
g_type_ensure (SYSPROF_TYPE_MARK_TABLE);
|
g_type_ensure (SYSPROF_TYPE_MARK_TABLE);
|
||||||
|
g_type_ensure (SYSPROF_TYPE_WEIGHTED_CALLGRAPH_VIEW);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
@ -73,11 +73,20 @@
|
|||||||
<property name="vexpand">true</property>
|
<property name="vexpand">true</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkStackPage">
|
<object class="GtkStackPage">
|
||||||
<property name="title">Mark Table</property>
|
<property name="title">Callgraph</property>
|
||||||
<property name="child">
|
<property name="child">
|
||||||
<object class="SysprofMarkTable">
|
<object class="SysprofWeightedCallgraphView">
|
||||||
<binding name="session">
|
<binding name="document">
|
||||||
<lookup name="session">TestTracks</lookup>
|
<lookup name="document" type="SysprofSession">
|
||||||
|
<lookup name="session">TestTracks</lookup>
|
||||||
|
</lookup>
|
||||||
|
</binding>
|
||||||
|
<binding name="traceables">
|
||||||
|
<lookup name="samples" type="SysprofDocument">
|
||||||
|
<lookup name="document" type="SysprofSession">
|
||||||
|
<lookup name="session">TestTracks</lookup>
|
||||||
|
</lookup>
|
||||||
|
</lookup>
|
||||||
</binding>
|
</binding>
|
||||||
</object>
|
</object>
|
||||||
</property>
|
</property>
|
||||||
@ -95,6 +104,18 @@
|
|||||||
</property>
|
</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkStackPage">
|
||||||
|
<property name="title">Mark Table</property>
|
||||||
|
<property name="child">
|
||||||
|
<object class="SysprofMarkTable">
|
||||||
|
<binding name="session">
|
||||||
|
<lookup name="session">TestTracks</lookup>
|
||||||
|
</binding>
|
||||||
|
</object>
|
||||||
|
</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
|
|||||||
Reference in New Issue
Block a user