libsysprof-analyze: add basic symbolize API

This isn't what it will look like in final form, just get the minimum
there for us to use it with the bundled decoder (copied from libsysprof
with adaptations).
This commit is contained in:
Christian Hergert
2023-05-09 13:29:52 -07:00
parent d8d787c871
commit b625fec454
4 changed files with 183 additions and 17 deletions

View File

@ -89,3 +89,12 @@ _sysprof_symbolizer_prepare_finish (SysprofSymbolizer *self,
return SYSPROF_SYMBOLIZER_GET_CLASS (self)->prepare_finish (self, result, error);
}
SysprofSymbol *
_sysprof_symbolizer_symbolize (SysprofSymbolizer *self,
gint64 time,
int pid,
SysprofAddress address)
{
return SYSPROF_SYMBOLIZER_GET_CLASS (self)->symbolize (self, time, pid, address);
}