mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-07 23:21:08 -09:00
Bring Sysprof twelve years into the future by updating it to the most recent release. The GUI now uses GTK4, for which there is not yet a package, so for now the option is removed. Obviously, many things changed: - Build system moved to meson - License moved from GPLv2 to GPLv3 - Many new dependencies Signed-off-by: Adrian Perez de Castro <aperez@igalia.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
30 lines
1.0 KiB
Plaintext
30 lines
1.0 KiB
Plaintext
config BR2_PACKAGE_SYSPROF
|
|
bool "sysprof"
|
|
depends on BR2_USE_WCHAR # glib2, libdex, json-glib
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2, libdex, json-glib, polkit
|
|
depends on BR2_USE_MMU # glib2, libdex, json-glib
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libunwind, polkit
|
|
depends on BR2_PACKAGE_LIBUNWIND_ARCH_SUPPORTS
|
|
depends on !BR2_STATIC_LIBS # libunwind, polkit
|
|
depends on !BR2_OPTIMIZE_FAST # polkit
|
|
select BR2_PACKAGE_JSON_GLIB
|
|
select BR2_PACKAGE_LIBDEX
|
|
select BR2_PACKAGE_LIBGLIB2
|
|
select BR2_PACKAGE_LIBUNWIND
|
|
select BR2_PACKAGE_POLKIT
|
|
help
|
|
Sysprof is a statistical, system-wide profiler that can
|
|
profile user and kernel code using the perf API.
|
|
|
|
http://sysprof.com
|
|
|
|
comment "sysprof needs a toolchain w/ dynamic libraray, wchar, threads, gcc >= 7"
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_PACKAGE_LIBUNWIND_ARCH_SUPPORTS
|
|
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
|
|
BR2_STATIC_LIBS
|
|
|
|
comment "sysprof can't be built with Optimize for fast"
|
|
depends on BR2_OPTIMIZE_FAST
|