libsysprof-analyze: index jitmaps for faster access

We want quick access to these for the jitmap symbolizer, so index them
like we do other important types with GtkBitset to get their frame
positions.
This commit is contained in:
Christian Hergert
2023-05-22 12:25:55 -07:00
parent 8abc55f0e6
commit aab4408f73
3 changed files with 31 additions and 2 deletions

View File

@ -45,6 +45,8 @@ GListModel *sysprof_document_list_traceables (SysprofDocument
SYSPROF_AVAILABLE_IN_ALL
GListModel *sysprof_document_list_processes (SysprofDocument *self);
SYSPROF_AVAILABLE_IN_ALL
GListModel *sysprof_document_list_jitmaps (SysprofDocument *self);
SYSPROF_AVAILABLE_IN_ALL
guint sysprof_document_symbolize_traceable (SysprofDocument *self,
SysprofDocumentTraceable *traceable,
SysprofSymbol **symbols,