mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
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:
@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user