mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
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:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user