libsysprof: add symbol resolver that can resolve from capture file

If the capture file has an embedded __symbols__ file within it, we can
try to resolve the function names from the data embedded within that
virtual file.
This commit is contained in:
Christian Hergert
2019-05-28 19:06:54 -07:00
parent 8f607ed123
commit 854f0bea52
4 changed files with 171 additions and 0 deletions

View File

@ -3,6 +3,7 @@ libsysprof_c_args = [ '-DSYSPROF_COMPILATION' ]
libsysprof_public_sources = [
'sysprof-callgraph-profile.c',
'sysprof-capture-gobject.c',
'sysprof-capture-symbol-resolver.c',
'sysprof-elf-symbol-resolver.c',
'sysprof-hostinfo-source.c',
'sysprof-jitmap-symbol-resolver.c',
@ -25,6 +26,7 @@ libsysprof_public_sources = [
libsysprof_public_headers = [
'sysprof-callgraph-profile.h',
'sysprof-capture-gobject.h',
'sysprof-capture-symbol-resolver.h',
'sysprof-elf-symbol-resolver.h',
'sysprof-hostinfo-source.h',
'sysprof-jitmap-symbol-resolver.h',