mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
callgraph: add accessor to determine number of functions
We can use this to notify the user that not enough samples where collected to build a callgraph. This can happen when all the samples collected are ignored (due to being in ignored kernel space address ranges for example).
This commit is contained in:
@ -38,11 +38,12 @@ struct _SpCallgraphViewClass
|
||||
gpointer padding[8];
|
||||
};
|
||||
|
||||
GtkWidget *sp_callgraph_view_new (void);
|
||||
SpCallgraphProfile *sp_callgraph_view_get_profile (SpCallgraphView *self);
|
||||
void sp_callgraph_view_set_profile (SpCallgraphView *self,
|
||||
SpCallgraphProfile *profile);
|
||||
gchar *sp_callgraph_view_screenshot (SpCallgraphView *self);
|
||||
GtkWidget *sp_callgraph_view_new (void);
|
||||
SpCallgraphProfile *sp_callgraph_view_get_profile (SpCallgraphView *self);
|
||||
void sp_callgraph_view_set_profile (SpCallgraphView *self,
|
||||
SpCallgraphProfile *profile);
|
||||
gchar *sp_callgraph_view_screenshot (SpCallgraphView *self);
|
||||
guint sp_callgraph_view_get_n_functions (SpCallgraphView *self);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user