mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-09 14:40:54 +00:00
libsysprof: keep count in callgraph node
I don't want this to overlap with augmentation data, or be augmentation data specific, so just keep our own private copy of this data in the node to do the sort of things we want with it (such as summaries).
This commit is contained in:
@ -211,6 +211,7 @@ sysprof_descendants_model_add_traceable (SysprofDescendantsModel *self,
|
||||
node = sysprof_descendants_model_add_trace (self, symbols, n_symbols);
|
||||
|
||||
node->is_toplevel = TRUE;
|
||||
node->count++;
|
||||
|
||||
if (node && self->callgraph->augment_func)
|
||||
self->callgraph->augment_func (self->callgraph,
|
||||
|
||||
Reference in New Issue
Block a user