mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-analyze: add summary augmentation capabilities
This allows us to have augmentation at the summary level so that things like the weighted callgraph or memprof callgraph can add their respective summary data up the chain of function calls.
This commit is contained in:
@ -25,16 +25,26 @@
|
||||
#include "sysprof-callgraph.h"
|
||||
#include "sysprof-document.h"
|
||||
|
||||
#include "eggbitset.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
typedef struct _SysprofCallgraphSummary
|
||||
{
|
||||
SysprofSymbol *symbol;
|
||||
EggBitset *traceables;
|
||||
GPtrArray *callers;
|
||||
gpointer augment;
|
||||
} SysprofCallgraphSummary;
|
||||
|
||||
struct _SysprofCallgraphNode
|
||||
{
|
||||
SysprofCallgraphNode *parent;
|
||||
SysprofCallgraphNode *prev;
|
||||
SysprofCallgraphNode *next;
|
||||
SysprofCallgraphNode *children;
|
||||
SysprofSymbol *symbol;
|
||||
gpointer augment;
|
||||
SysprofCallgraphNode *parent;
|
||||
SysprofCallgraphNode *prev;
|
||||
SysprofCallgraphNode *next;
|
||||
SysprofCallgraphNode *children;
|
||||
SysprofCallgraphSummary *summary;
|
||||
gpointer augment;
|
||||
};
|
||||
|
||||
void _sysprof_callgraph_new_async (SysprofDocument *document,
|
||||
|
||||
Reference in New Issue
Block a user