1config BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS 2 bool 3 default y if BR2_aarch64 4 default y if BR2_ARM_CPU_ARMV7A || BR2_ARM_CPU_ARMV8A 5 default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el 6 default y if BR2_i386 || BR2_x86_64 7 default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le 8 depends on !BR2_MIPS_SOFT_FLOAT 9 10comment "valgrind needs a toolchain w/ dynamic library" 11 depends on BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS 12 depends on BR2_STATIC_LIBS 13 14config BR2_PACKAGE_VALGRIND 15 bool "valgrind" 16 depends on BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS 17 depends on !BR2_STATIC_LIBS 18 help 19 Tool for debugging and profiling Linux programs. 20 21 http://valgrind.org/ 22 23if BR2_PACKAGE_VALGRIND 24 25config BR2_PACKAGE_VALGRIND_MEMCHECK 26 bool "Memcheck: a memory error detector" 27 default y 28 help 29 This option allows to install the Memcheck tool 30 31config BR2_PACKAGE_VALGRIND_CACHEGRIND 32 bool "Cachegrind: a cache and branch-prediction profiler" 33 default y 34 help 35 This option allows to install the Cachegrind tool 36 37config BR2_PACKAGE_VALGRIND_CALLGRIND 38 bool "Callgrind: a call-graph generating cache and branch prediction profiler" 39 default y 40 help 41 This option allows to install the Callgrind tool 42 43config BR2_PACKAGE_VALGRIND_HELGRIND 44 bool "Helgrind: a thread error detector" 45 default y 46 help 47 This option allows to install the Helgrind tool 48 49config BR2_PACKAGE_VALGRIND_DRD 50 bool "DRD: a thread error detector" 51 default y 52 help 53 This option allows to install the DRD tool 54 55config BR2_PACKAGE_VALGRIND_MASSIF 56 bool "Massif: a heap profiler" 57 default y 58 help 59 This option allows to install the Massif tool 60 61config BR2_PACKAGE_VALGRIND_DHAT 62 bool "DHAT: a dynamic heap analysis tool" 63 default y 64 help 65 This option allows to install the DHAT tool 66 67config BR2_PACKAGE_VALGRIND_SGCHECK 68 bool "SGCheck: an experimental stack and global array overrun detector" 69 help 70 This option allows to install the SGCheck tool 71 72config BR2_PACKAGE_VALGRIND_BBV 73 bool "BBV: an experimental basic block vector generation tool" 74 help 75 This option allows to install the BBV tool 76 77config BR2_PACKAGE_VALGRIND_LACKEY 78 bool "Lackey: an example tool" 79 help 80 This option allows to install the Lackey tool 81 82config BR2_PACKAGE_VALGRIND_NULGRIND 83 bool "Nulgrind: the minimal Valgrind tool" 84 help 85 This option allows to install the Nulgrind tool 86 87endif 88