mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-analyze: check if ELF matches inode/build-id
We still want to load it into the cache as it could get used by other symbols/mmap regions, but don't return the ELF if it won't match an inode or build-id check. Rely on other fallbacks to create fallback symbols for those use cases.
This commit is contained in:
@ -43,6 +43,7 @@ SysprofElf *sysprof_elf_loader_load (SysprofElfLoader
|
||||
SysprofMountNamespace *mount_namespace,
|
||||
const char *file,
|
||||
const char *build_id,
|
||||
guint64 file_inode,
|
||||
GError **error);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user