kumquat-buildroot/package/uftrace/Config.in
Fabrice Fontaine a3475c5c69 package/uftrace: needs NPTL
uftrace needs NPTL since its addition in commit
09c97972d9 and
543fe53c25:

buildroot/build/uftrace-0.10/buildroot/build/uftrace-0.10/cmds/record.c:670: undefined reference to `pthread_setname_np'

Fixes:
 - http://autobuild.buildroot.org/results/8f884efb9d45f9145a4799981157c9226390b423

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-04-21 19:32:15 +02:00

29 lines
1.0 KiB
Plaintext

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
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_setname_np()
depends on !BR2_STATIC_LIBS
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
comment "uftrace needs a toolchain w/ NPTL, dynamic library"
depends on BR2_PACKAGE_UFTRACE_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS