]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Update oprofiling notes a bit.
authorJulian Seward <jseward@acm.org>
Wed, 1 Jul 2009 08:12:22 +0000 (08:12 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 1 Jul 2009 08:12:22 +0000 (08:12 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10393

docs/internals/howto_oprofile.txt

index 2a6766efd470362991a42da5fa43cb09ec0d68ad..b97c6c303277c022faec15bb10a18d99d024ced6 100644 (file)
@@ -12,14 +12,18 @@ opcontrol --stop ; opcontrol --dump
 
 # produce a flat profile
 opreport --merge=tgid --symbols -x \
-    /home/sewardj/VgTRUNK/hgdev/Inst/lib/valgrind/x86-linux/helgrind \
+    /home/sewardj/VgTRUNK/atomk/Inst/lib/valgrind/helgrind-amd64-linux \
     | less
 
 # produce a profile w/ callgraph
 opreport --merge=tgid --callgraph \
-    /home/sewardj/VgTRUNK/hgdev/Inst/lib/valgrind/x86-linux/helgrind \
+    /home/sewardj/VgTRUNK/atomk/Inst/lib/valgrind/helgrind-amd64-linux \
     | less
 
+# print annotated source
+opannotate --merge=tgid --source --include-file=libhb_core.c | less
+
+
 #### notes.
 
 1. on amd64, need to build V with -fno-omit-frame-pointer, else the