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 # needs at least kernel headers 5.0 on musl aarch64 8 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 || \ 9 !(BR2_aarch64 || BR2_aarch64_be) || \ 10 !BR2_TOOLCHAIN_USES_MUSL 11 depends on !BR2_RISCV_32 12 help 13 A useful diagnostic, instructional, and debugging tool. 14 Allows you to track what system calls a program makes 15 while it is running. 16 17 If you want 'strace -k' to work, make sure to enable the 18 'libunwind' package. 19 20 https://strace.io 21 22comment "strace needs a toolchain w/ headers >= 4.0 on nios2" 23 depends on BR2_nios2 24 depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0 25 26comment "strace needs a toolchain w/ headers >= 5.0 on xtensa" 27 depends on BR2_xtensa 28 depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 29 30comment "strace needs a musl toolchain w/ headers >= 5.0 on aarch64" 31 depends on BR2_aarch64 || BR2_aarch64_be 32 depends on BR2_TOOLCHAIN_USES_MUSL 33 depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 34