libsysprof-analyze: add n-items property to callgraph frame

Also add a ==0 helper in is_leaf().
This commit is contained in:
Christian Hergert
2023-07-19 15:15:56 -07:00
parent 69bcc6f200
commit 83c63a09e9
2 changed files with 20 additions and 0 deletions

View File

@ -48,5 +48,7 @@ SYSPROF_AVAILABLE_IN_ALL
GListModel *sysprof_callgraph_frame_list_traceables_finish (SysprofCallgraphFrame *self,
GAsyncResult *result,
GError **error);
SYSPROF_AVAILABLE_IN_ALL
gboolean sysprof_callgraph_frame_is_leaf (SysprofCallgraphFrame *self);
G_END_DECLS