mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +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_MARK_CHART);
|
||||
g_type_ensure (SYSPROF_TYPE_MARK_TABLE);
|
||||
g_type_ensure (SYSPROF_TYPE_WEIGHTED_CALLGRAPH_VIEW);
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
@ -73,11 +73,20 @@
|
||||
<property name="vexpand">true</property>
|
||||
<child>
|
||||
<object class="GtkStackPage">
|
||||
<property name="title">Mark Table</property>
|
||||
<property name="title">Callgraph</property>
|
||||
<property name="child">
|
||||
<object class="SysprofMarkTable">
|
||||
<binding name="session">
|
||||
<lookup name="session">TestTracks</lookup>
|
||||
<object class="SysprofWeightedCallgraphView">
|
||||
<binding name="document">
|
||||
<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>
|
||||
</object>
|
||||
</property>
|
||||
@ -95,6 +104,18 @@
|
||||
</property>
|
||||
</object>
|
||||
</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>
|
||||
</child>
|
||||
</object>
|
||||
|
||||
Reference in New Issue
Block a user