1config BR2_PACKAGE_STRACE 2 bool "strace" 3 # needs at least kernel headers 4.0 on nios2 4 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0 || !BR2_nios2 5 # needs at least kernel headers 5.0 on xtensa 6 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 || !BR2_xtensa 7 depends on !BR2_RISCV_32 8 help 9 A useful diagnostic, instructional, and debugging tool. 10 Allows you to track what system calls a program makes 11 while it is running. 12 13 If you want 'strace -k' to work, make sure to enable the 14 'libunwind' package. 15 16 https://strace.io 17 18comment "strace needs a toolchain w/ headers >= 4.0 on nios2" 19 depends on BR2_nios2 20 depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0 21 22comment "strace needs a toolchain w/ headers >= 5.0 on xtensa" 23 depends on BR2_xtensa 24 depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 25 26if BR2_PACKAGE_STRACE 27 28config BR2_PACKAGE_STRACE_STATIC 29 bool "Enable static" 30 default y if BR2_STATIC_LIBS 31 32endif 33