From 41a528f671a49f95b3d835a9b6e0634100fa1e39 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Wed, 1 Jul 2009 08:12:22 +0000 Subject: [PATCH] Update oprofiling notes a bit. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10393 --- docs/internals/howto_oprofile.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/internals/howto_oprofile.txt b/docs/internals/howto_oprofile.txt index 2a6766efd4..b97c6c3032 100644 --- a/docs/internals/howto_oprofile.txt +++ b/docs/internals/howto_oprofile.txt @@ -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 -- 2.47.3