Installing valgrind

Mac OS X

The tools necessary to profile ctools on Mac OS X are best installed using Homebrew. Below the sequence of things that need to be installed:

$ brew install qcachegrind
$ brew install valgrind
$ brew install GraphViz

Now you should have qcachegrind and valgrind installed:

$ which qcachegrind
/usr/local/bin/qcachegrind
$ which valgrind
/usr/local/bin/valgrind