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