mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
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.
29 lines
591 B
Meson
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
|