Valgrind's massif tool will not profile my application
问题 I am developing a statically-linked 64-bit C++ application on 64-bit CentOS 5.8 using the standard gcc 4.4 packages from the CentOS repositories. It appears to be using more memory than I expected, so I tried using massif to profile the memory usage. I have compiled with debug information and then run valgrind --tool=massif ./MyProg from the directory where MyProg resides. It never produces any results other than the following massif.out.XXXX example. desc: (none) cmd: ./MyProg time_unit: i #