xref: /OK3568_Linux_fs/buildroot/package/uftrace/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_UFTRACE_ARCH_SUPPORTS
2	bool
3	default y if BR2_ARM_CPU_ARMV6 || BR2_ARM_CPU_ARMV7A
4	default y if BR2_aarch64
5	default y if BR2_i386
6	default y if BR2_x86_64
7
8config BR2_PACKAGE_UFTRACE
9	bool "uftrace"
10	depends on BR2_PACKAGE_UFTRACE_ARCH_SUPPORTS
11	depends on BR2_TOOLCHAIN_HAS_THREADS
12	depends on !BR2_STATIC_LIBS
13	select BR2_PACKAGE_ARGP_STANDALONE if \
14	       BR2_TOOLCHAIN_USES_UCLIBC || \
15	       BR2_TOOLCHAIN_USES_MUSL
16	help
17	  The uftrace tool is to trace and analyze execution of a
18	  program written in C/C++. It was heavily inspired by the
19	  ftrace framework of the Linux kernel (especially function
20	  graph tracer) and supports userspace programs.
21	  It supports various kind of commands and filters to help
22	  analysis of the program execution and performance.
23
24	  https://github.com/namhyung/uftrace
25
26comment "uftrace needs a toolchain w/ threads, dynamic library"
27	depends on BR2_PACKAGE_UFTRACE_ARCH_SUPPORTS
28	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
29