libsysprof-analyze: allow two pointers for augmentation

This affords us the ability to shove memory statistics in the inline
augmentation area for memprof data.
This commit is contained in:
Christian Hergert
2023-07-10 14:15:03 -07:00
parent 6f2a3ac74e
commit a4276f5b8f
2 changed files with 13 additions and 11 deletions

View File

@ -34,7 +34,7 @@ typedef struct _SysprofCallgraphSummary
SysprofSymbol *symbol;
EggBitset *traceables;
GPtrArray *callers;
gpointer augment;
gpointer augment[2];
} SysprofCallgraphSummary;
struct _SysprofCallgraphNode
@ -44,7 +44,7 @@ struct _SysprofCallgraphNode
SysprofCallgraphNode *next;
SysprofCallgraphNode *children;
SysprofCallgraphSummary *summary;
gpointer augment;
gpointer augment[2];
};
struct _SysprofCallgraph