mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof: add API to categorize callgraph
This just gets the plumbing in place with some basic categorization for callgraph information. The real work of categorizing by nick/symbol still needs to be done (some can be copied from SysprofCategoryIcon). This also adds a property and getter for SysprofCallgraphFrame which will expose the node's category to the UI code.
This commit is contained in:
@ -39,12 +39,13 @@ typedef struct _SysprofCallgraphSummary
|
||||
|
||||
struct _SysprofCallgraphNode
|
||||
{
|
||||
SysprofCallgraphNode *parent;
|
||||
SysprofCallgraphNode *prev;
|
||||
SysprofCallgraphNode *next;
|
||||
SysprofCallgraphNode *children;
|
||||
SysprofCallgraphSummary *summary;
|
||||
gpointer augment[2];
|
||||
SysprofCallgraphNode *parent;
|
||||
SysprofCallgraphNode *prev;
|
||||
SysprofCallgraphNode *next;
|
||||
SysprofCallgraphNode *children;
|
||||
SysprofCallgraphSummary *summary;
|
||||
gpointer augment[2];
|
||||
SysprofCallgraphCategory category;
|
||||
};
|
||||
|
||||
struct _SysprofCallgraph
|
||||
|
||||
Reference in New Issue
Block a user