libsysprof-analyze: add scaffolding for ELF loading

This commit is contained in:
Christian Hergert
2023-05-18 15:44:36 -07:00
parent 685f9e8bab
commit 5c1802d77f
3 changed files with 69 additions and 15 deletions

View File

@ -145,10 +145,10 @@ sysprof_elf_init (SysprofElf *self)
}
SysprofElf *
sysprof_elf_new (const char *filename,
GError **error)
sysprof_elf_new (GMappedFile *mapped_file,
GError **error)
{
g_return_val_if_fail (filename != NULL, NULL);
g_return_val_if_fail (mapped_file != NULL, NULL);
return NULL;
}