Config.in 1.0 KB

12345678910111213141516171819202122232425262728
  1. config 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. config BR2_PACKAGE_UFTRACE
  8. bool "uftrace"
  9. depends on BR2_PACKAGE_UFTRACE_ARCH_SUPPORTS
  10. depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_setname_np()
  11. depends on !BR2_STATIC_LIBS
  12. select BR2_PACKAGE_ARGP_STANDALONE if \
  13. BR2_TOOLCHAIN_USES_UCLIBC || \
  14. BR2_TOOLCHAIN_USES_MUSL
  15. help
  16. The uftrace tool is to trace and analyze execution of a
  17. program written in C/C++. It was heavily inspired by the
  18. ftrace framework of the Linux kernel (especially function
  19. graph tracer) and supports userspace programs.
  20. It supports various kind of commands and filters to help
  21. analysis of the program execution and performance.
  22. https://github.com/namhyung/uftrace
  23. comment "uftrace needs a toolchain w/ NPTL, dynamic library"
  24. depends on BR2_PACKAGE_UFTRACE_ARCH_SUPPORTS
  25. depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS