libsysprof: add scaffolding to perform category summaries

The goal here is to summarize the categories starting from a specific
frame.
This commit is contained in:
Christian Hergert
2023-07-20 16:04:42 -07:00
parent 9400757821
commit 4a8d5007e5
6 changed files with 247 additions and 0 deletions

View File

@ -50,5 +50,14 @@ GListModel *sysprof_callgraph_frame_list_traceables_finish (SysprofCallgraphF
GError **error);
SYSPROF_AVAILABLE_IN_ALL
gboolean sysprof_callgraph_frame_is_leaf (SysprofCallgraphFrame *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_callgraph_frame_summarize_async (SysprofCallgraphFrame *self,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
SYSPROF_AVAILABLE_IN_ALL
GListModel *sysprof_callgraph_frame_summarize_finish (SysprofCallgraphFrame *self,
GAsyncResult *result,
GError **error);
G_END_DECLS