tools: add tool to toggle a profiler

This is in-tree only currently, although we may consider installing it
at some point (or adding it to sysprof-cli).
This commit is contained in:
Christian Hergert
2019-05-16 15:29:55 -07:00
parent 28bcb5daee
commit adcf667b5a
4 changed files with 219 additions and 0 deletions

View File

@ -21,3 +21,9 @@ sysprof_dump = executable('sysprof-dump', 'sysprof-dump.c',
install_dir: get_option('bindir'),
install: true,
)
sysprof_profiler_ctl = executable('sysprof-profiler-ctl',
[ 'sysprof-profiler-ctl.c', ipc_profiler_src ],
dependencies: [ tools_deps, gio_unix_dep ],
install: false,
)