|
From: <edw...@gm...> - 2007-08-06 06:29:42
|
On 8/5/07, Haifeng He <heh...@gm...> wrote: > Hi, > > I tried to use massif (memory profile) tool on firefox browser. Valgrind > can run through the test run but there is no summary output created > (the ps profile file). Does anybody know about what was probably gone > wrong? The command I used was > /opt/valgrind/bin/valgrind --tool=massif firefox Probably because firefox is a shell script launching the real binary? At least this is the case on my system: edwin@edwin-t-new:~$ which firefox /usr/bin/firefox edwin@edwin-t-new:~$ file /usr/bin/firefox /usr/bin/firefox: symbolic link to `../lib/firefox/firefox' edwin@edwin-t-new:~$ file /usr/lib/firefox/firefox /usr/lib/firefox/firefox: Bourne-Again shell script text executable Try using: firefox --debugger "valgrind --tool=massif" Best regards, Edwin |