libsysprof-analyze: use symbol to get callers list

That keeps the API clear of the indirection Frame object so we can use it
elsewhere like in the functions column view to select callees.
This commit is contained in:
Christian Hergert
2023-06-12 11:34:42 -07:00
parent b873ee1f37
commit fbe0b99314
2 changed files with 9 additions and 14 deletions

View File

@ -61,7 +61,7 @@ SYSPROF_AVAILABLE_IN_ALL
GListModel *sysprof_callgraph_list_symbols (SysprofCallgraph *self);
SYSPROF_AVAILABLE_IN_ALL
GListModel *sysprof_callgraph_list_callers (SysprofCallgraph *self,
SysprofCallgraphFrame *frame);
SysprofSymbol *symbol);
SYSPROF_AVAILABLE_IN_ALL
GListModel *sysprof_callgraph_list_traceables_for_symbol (SysprofCallgraph *self,
SysprofSymbol *symbol);