mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
tools: add -Dagent=true option
This also builds the agent statically with libsysprof_static_dep since we'd need that to avoid installing libsysprof when that isn't wanted. It also ensures the LD_PRELOAD libraries are installed for use by the agent.
This commit is contained in:
@ -44,3 +44,7 @@ option('tests', type: 'boolean')
|
||||
# Optionally disable the examples (this is mostly only useful for building only
|
||||
# libsysprof-capture as a subproject)
|
||||
option('examples', type: 'boolean')
|
||||
|
||||
# Optionally build the sysprof-agent tool to allow profiling inside of
|
||||
# containers from external system
|
||||
option('agent', type: 'boolean', description: 'Build the sysprof-agent utility')
|
||||
|
||||
Reference in New Issue
Block a user