Files
sysprof/daemon/meson.build
Christian Hergert 3162b40702 daemon: add API to get kernel symbols
This is useful because we might not have access to kernel symbols from
user applications which are not root. Various distributions are starting
to censor kernel addresses without root.

This allows the clients to fetch the symbol addresses without having to
be root themselves.
2018-01-28 21:30:19 -08:00

29 lines
591 B
Meson

if get_option('with_sysprofd') == 'bundled'
sysprofd_sources = [
'sysprofd.c',
'sd-bus-helper.c',
'sd-bus-helper.h',
'../lib/sp-kallsyms.c',
'../lib/sp-kallsyms.h',
]
# NOTE: This is used in data/meson.build
pkglibexecdir = join_paths(get_option('prefix'), get_option('libexecdir'), 'sysprof')
sysprofd_deps = [
dependency('libsystemd', version: '>=222'),
dependency('glib-2.0'),
]
sysprofd = executable('sysprofd',
sysprofd_sources,
c_args: exe_c_args,
link_args: exe_link_args,
dependencies: sysprofd_deps,
install: true,
install_dir: pkglibexecdir,
)
endif