]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Update.
authorJulian Seward <jseward@acm.org>
Fri, 24 Jul 2009 08:22:35 +0000 (08:22 +0000)
committerJulian Seward <jseward@acm.org>
Fri, 24 Jul 2009 08:22:35 +0000 (08:22 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10585

docs/internals/howto_oprofile.txt

index b97c6c303277c022faec15bb10a18d99d024ced6..863bb60469eb80a95436df8b74a44840d3fb53c2 100644 (file)
@@ -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