mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof: track which nodes are toplevel
We used to do this, and now we have space for it here as we added the categorization field.
This commit is contained in:
@ -210,6 +210,8 @@ sysprof_descendants_model_add_traceable (SysprofDescendantsModel *self,
|
||||
|
||||
node = sysprof_descendants_model_add_trace (self, symbols, n_symbols);
|
||||
|
||||
node->is_toplevel = TRUE;
|
||||
|
||||
if (node && self->callgraph->augment_func)
|
||||
self->callgraph->augment_func (self->callgraph,
|
||||
node,
|
||||
|
||||
Reference in New Issue
Block a user