Adding Valgrind To Build

Valgrind is provided under meta/recipes-devtools/valgrind. As of Nov 2017, Valgrind v3.12.0 is supported. Valgrind can be added to your Yocto image by adding the following line of code to your build/conf/local.conf file:

IMAGE_INSTALL += " valgrind"

Choose an image, for example, core-image-minimal

Re-Compile Image

#compile your source code ..
$ time bitbake <Your Image-Name>

Last updated