mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
build: always build debuginfod symbolizer
Even if it is disabled, we want the GType enabled and part of our ABI. We will return NULL if one is created and debuginfod is not supported or if we failed to create a client.
This commit is contained in:
@ -10,6 +10,7 @@ libsysprof_public_sources = [
|
||||
'sysprof-cpu-info.c',
|
||||
'sysprof-cpu-usage.c',
|
||||
'sysprof-dbus-monitor.c',
|
||||
'sysprof-debuginfod-symbolizer.c',
|
||||
'sysprof-diagnostic.c',
|
||||
'sysprof-disk-usage.c',
|
||||
'sysprof-document-allocation.c',
|
||||
@ -75,6 +76,7 @@ libsysprof_public_headers = [
|
||||
'sysprof-cpu-info.h',
|
||||
'sysprof-cpu-usage.h',
|
||||
'sysprof-dbus-monitor.h',
|
||||
'sysprof-debuginfod-symbolizer.h',
|
||||
'sysprof-diagnostic.h',
|
||||
'sysprof-disk-usage.h',
|
||||
'sysprof-document-allocation.h',
|
||||
@ -155,7 +157,6 @@ libsysprof_private_sources = [
|
||||
|
||||
if debuginfod_dep.found()
|
||||
libsysprof_private_sources += [
|
||||
'sysprof-debuginfod-symbolizer.c',
|
||||
'sysprof-debuginfod-task.c'
|
||||
]
|
||||
endif
|
||||
|
||||
@ -34,6 +34,7 @@ G_BEGIN_DECLS
|
||||
# include "sysprof-cpu-info.h"
|
||||
# include "sysprof-cpu-usage.h"
|
||||
# include "sysprof-dbus-monitor.h"
|
||||
# include "sysprof-debuginfod-symbolizer.h"
|
||||
# include "sysprof-diagnostic.h"
|
||||
# include "sysprof-disk-usage.h"
|
||||
# include "sysprof-document-allocation.h"
|
||||
|
||||
Reference in New Issue
Block a user