mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
sysprof: filter logs by selected time
This commit is contained in:
@ -86,6 +86,8 @@ sysprof_logs_section_class_init (SysprofLogsSectionClass *klass)
|
|||||||
|
|
||||||
g_type_ensure (SYSPROF_TYPE_DOCUMENT_LOG);
|
g_type_ensure (SYSPROF_TYPE_DOCUMENT_LOG);
|
||||||
g_type_ensure (SYSPROF_TYPE_TIME_LABEL);
|
g_type_ensure (SYSPROF_TYPE_TIME_LABEL);
|
||||||
|
g_type_ensure (SYSPROF_TYPE_TIME_SERIES);
|
||||||
|
g_type_ensure (SYSPROF_TYPE_TIME_SPAN_LAYER);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
@ -73,13 +73,22 @@
|
|||||||
<binding name="sorter">
|
<binding name="sorter">
|
||||||
<lookup name="sorter">column_view</lookup>
|
<lookup name="sorter">column_view</lookup>
|
||||||
</binding>
|
</binding>
|
||||||
<binding name="model">
|
<property name="model">
|
||||||
<lookup name="logs" type="SysprofDocument">
|
<object class="SysprofTimeFilterModel">
|
||||||
<lookup name="document" type="SysprofSession">
|
<binding name="time-span">
|
||||||
<lookup name="session">SysprofLogsSection</lookup>
|
<lookup name="selected-time" type="SysprofSession">
|
||||||
</lookup>
|
<lookup name="session">SysprofLogsSection</lookup>
|
||||||
</lookup>
|
</lookup>
|
||||||
</binding>
|
</binding>
|
||||||
|
<binding name="model">
|
||||||
|
<lookup name="logs" type="SysprofDocument">
|
||||||
|
<lookup name="document" type="SysprofSession">
|
||||||
|
<lookup name="session">SysprofLogsSection</lookup>
|
||||||
|
</lookup>
|
||||||
|
</lookup>
|
||||||
|
</binding>
|
||||||
|
</object>
|
||||||
|
</property>
|
||||||
</object>
|
</object>
|
||||||
</property>
|
</property>
|
||||||
</object>
|
</object>
|
||||||
|
|||||||
Reference in New Issue
Block a user