mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
It's a simple CLI tool that dumps the contents of a Sysprof capture file in a syntax inspired by GTK's render node syntax. It prints metadata, the callgraph, marks, and counters. Other fields may be added as needed, but for now this is sufficient for inspecting WebKit captures. There are CLI args for not printing particular groups, so that we can filter out what we need.
35 lines
923 B
Meson
35 lines
923 B
Meson
sysprof_header_subdir = 'sysprof-@0@'.format(libsysprof_api_version)
|
|
sysprof_header_dir = join_paths(get_option('includedir'), sysprof_header_subdir)
|
|
|
|
sysprof_version_conf = configuration_data()
|
|
sysprof_version = meson.project_version().split('.')
|
|
if sysprof_version[1] in ['alpha', 'beta', 'rc']
|
|
sysprof_version = [sysprof_version[0], 0, 0]
|
|
endif
|
|
sysprof_version_conf.set('MAJOR_VERSION', sysprof_version[0])
|
|
sysprof_version_conf.set('MINOR_VERSION', sysprof_version[1])
|
|
sysprof_version_conf.set('MICRO_VERSION', 0)
|
|
sysprof_version_conf.set('VERSION', meson.project_version())
|
|
|
|
subdir('libsysprof-capture')
|
|
|
|
if need_libsysprof
|
|
subdir('libsysprof')
|
|
subdir('preload')
|
|
endif
|
|
|
|
if get_option('sysprofd') == 'bundled'
|
|
subdir('sysprofd')
|
|
endif
|
|
|
|
if get_option('gtk')
|
|
subdir('sysprof')
|
|
endif
|
|
|
|
if get_option('tools')
|
|
subdir('sysprof-agent')
|
|
subdir('sysprof-cat')
|
|
subdir('sysprof-cli')
|
|
subdir('sysprof-diff')
|
|
endif
|