I am trying to run Valgrind in Ubuntu 14.04 with the following options:
valgrind --tool=massif --pages-as-heap=yes
But get the following error:
valgrind: Bad option: --page-as-heap=yes
This option is described in several places (and it is actually mentioned in valgrind's manual http://valgrind.org/docs/manual/ms-manual.html) to be used with massif.
How can I have this tool/option avaliable?
Thanks
Found the error. The correct command is:
valgrind --tool=massif --pages-as-heap=yes
Note the plural "pages".