2021-04-23 19:26:01 +02:00
|
|
|
config BR2_PACKAGE_UFTRACE_ARCH_SUPPORTS
|
|
|
|
bool
|
|
|
|
default y if BR2_ARM_CPU_ARMV6 || BR2_ARM_CPU_ARMV7A
|
|
|
|
default y if BR2_aarch64
|
|
|
|
default y if BR2_i386
|
|
|
|
default y if BR2_x86_64
|
|
|
|
|
|
|
|
config BR2_PACKAGE_UFTRACE
|
|
|
|
bool "uftrace"
|
|
|
|
depends on BR2_PACKAGE_UFTRACE_ARCH_SUPPORTS
|
2021-04-26 20:42:55 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
2021-04-23 19:26:01 +02:00
|
|
|
select BR2_PACKAGE_ARGP_STANDALONE if \
|
|
|
|
BR2_TOOLCHAIN_USES_UCLIBC || \
|
|
|
|
BR2_TOOLCHAIN_USES_MUSL
|
|
|
|
help
|
|
|
|
The uftrace tool is to trace and analyze execution of a
|
|
|
|
program written in C/C++. It was heavily inspired by the
|
|
|
|
ftrace framework of the Linux kernel (especially function
|
|
|
|
graph tracer) and supports userspace programs.
|
|
|
|
It supports various kind of commands and filters to help
|
|
|
|
analysis of the program execution and performance.
|
|
|
|
|
|
|
|
https://github.com/namhyung/uftrace
|
2021-04-26 20:42:55 +02:00
|
|
|
|
|
|
|
comment "uftrace needs a toolchain w/ threads"
|
2021-04-27 00:08:15 +02:00
|
|
|
depends on BR2_PACKAGE_UFTRACE_ARCH_SUPPORTS
|
2021-04-26 20:42:55 +02:00
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|