libsysprof: add debuginfod symbolizer

This is based on a debuginfod_client provided by Barnabás Pőcze in !73.
It extends it to use the new task infrastructure to elevate the download
process to the user while loading a capture file.
This commit is contained in:
Christian Hergert
2024-10-10 17:07:21 -07:00
parent 1464e3a48e
commit d2471d4bf5
9 changed files with 468 additions and 5 deletions

View File

@ -153,6 +153,13 @@ libsysprof_private_sources = [
'timsort/gtktimsort.c',
]
if debuginfod_dep.found() and get_option('debuginfod').enabled()
libsysprof_private_sources += [
'sysprof-debuginfod-symbolizer.c',
'sysprof-debuginfod-task.c'
]
endif
if polkit_dep.found()
libsysprof_private_sources += ['sysprof-polkit.c']
endif
@ -192,6 +199,7 @@ libsysprof_deps = [
libsystemd_dep,
polkit_dep,
debuginfod_dep,
libeggbitset_static_dep,
libelfparser_static_dep,