mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof: ensure we update count for root node
This commit is contained in:
@ -225,6 +225,7 @@ sysprof_callgraph_add_trace (SysprofCallgraph *self,
|
||||
g_assert (symbols[n_symbols-1] == everything);
|
||||
|
||||
parent = &self->root;
|
||||
parent->count++;
|
||||
|
||||
for (guint i = n_symbols - 1; i > 0; i--)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user