libsysprof-analyze: allow specifying ptr array for symbols

This will allow us to use the same model with a different list of symbols.
This commit is contained in:
Christian Hergert
2023-06-12 11:34:04 -07:00
parent fa35089e93
commit 2c9c41dedc
3 changed files with 34 additions and 9 deletions

View File

@ -528,5 +528,5 @@ sysprof_callgraph_list_symbols (SysprofCallgraph *self)
{
g_return_val_if_fail (SYSPROF_IS_CALLGRAPH (self), NULL);
return _sysprof_callgraph_symbol_list_model_new (self);
return _sysprof_callgraph_symbol_list_model_new (self, self->symbols);
}