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:
Christian Hergert
2023-07-20 16:03:37 -07:00
parent dfa893f06a
commit 79c49fca02
3 changed files with 6 additions and 1 deletions

View File

@ -47,7 +47,8 @@ struct _SysprofCallgraphNode
SysprofCallgraphNode *children;
SysprofCallgraphSummary *summary;
gpointer augment[2];
SysprofCallgraphCategory category;
SysprofCallgraphCategory category : 7;
SysprofCallgraphCategory is_toplevel : 7;
};
struct _SysprofCallgraph