From: Julian Seward Date: Fri, 24 Jul 2009 08:22:35 +0000 (+0000) Subject: Update. X-Git-Tag: svn/VALGRIND_3_5_0~263 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=226b8930d9b49a6ed960adc980bdbfcbc5910ef6;p=thirdparty%2Fvalgrind.git Update. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10585 --- diff --git a/docs/internals/howto_oprofile.txt b/docs/internals/howto_oprofile.txt index b97c6c3032..863bb60469 100644 --- a/docs/internals/howto_oprofile.txt +++ b/docs/internals/howto_oprofile.txt @@ -10,13 +10,18 @@ opcontrol --stop ; opcontrol --reset ; opcontrol --callgraph=5 --start # stop the profiler and dump results to .. um .. some file somewhere opcontrol --stop ; opcontrol --dump +# get total cost +opreport --merge=tgid -x \ + /home/sewardj/VgTRUNK/atomk/Inst/lib/valgrind/helgrind-amd64-linux \ + | less + # produce a flat profile opreport --merge=tgid --symbols -x \ /home/sewardj/VgTRUNK/atomk/Inst/lib/valgrind/helgrind-amd64-linux \ | less # produce a profile w/ callgraph -opreport --merge=tgid --callgraph \ +opreport --merge=tgid --callgraph -x \ /home/sewardj/VgTRUNK/atomk/Inst/lib/valgrind/helgrind-amd64-linux \ | less