libsysprof-gtk: add tracks model to session

The goal here is for the session to decode information from the document
and then determine what tracks can be displayed. This is what an "aid"
used to do in libsysprof-ui. I think we can just centralize it now that
we have a lot more abstractions in SysprofDocument.
This commit is contained in:
Christian Hergert
2023-06-28 15:13:28 -07:00
parent 5d2b1c06a6
commit f416471f3f
2 changed files with 34 additions and 1 deletions

View File

@ -51,5 +51,7 @@ SysprofAxis *sysprof_session_get_selected_time_axis (SysprofSession
SYSPROF_AVAILABLE_IN_ALL
void sysprof_session_select_time (SysprofSession *self,
const SysprofTimeSpan *time_span);
SYSPROF_AVAILABLE_IN_ALL
GListModel *sysprof_session_list_tracks (SysprofSession *self);
G_END_DECLS