libsysprof-analyze: make summary augmentation optional

That way the descendant graphs can generate the self values but ignore the
summary augmentation (as that would mess up the generated values).

This fixes it so that showing the descendants tree keeps proper Total
and Self values.
This commit is contained in:
Christian Hergert
2023-06-13 10:31:42 -07:00
parent 662cc65bb9
commit 6ab28ff641
6 changed files with 22 additions and 12 deletions

View File

@ -329,6 +329,7 @@ sysprof_callgraph_add_traceable (SysprofCallgraph *self,
self->augment_func (self,
node,
SYSPROF_DOCUMENT_FRAME (traceable),
TRUE,
self->augment_func_data);
}