libsysprof-analyze: load ElfParser for GMappedFile

This commit is contained in:
Christian Hergert
2023-05-19 10:40:50 -07:00
parent 8e101624bc
commit aa829f8665
3 changed files with 20 additions and 4 deletions

View File

@ -28,7 +28,8 @@ G_BEGIN_DECLS
G_DECLARE_FINAL_TYPE (SysprofElf, sysprof_elf, SYSPROF, ELF, GObject)
SysprofElf *sysprof_elf_new (GMappedFile *mapped_file,
SysprofElf *sysprof_elf_new (const char *filename,
GMappedFile *mapped_file,
GError **error);
const char *sysprof_elf_get_file (SysprofElf *self);
const char *sysprof_elf_get_build_id (SysprofElf *self);