]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
need --trace-children when self-hosting
authorNicholas Nethercote <njn@valgrind.org>
Thu, 10 Nov 2005 03:40:36 +0000 (03:40 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Thu, 10 Nov 2005 03:40:36 +0000 (03:40 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5064

README_DEVELOPERS

index 798c47c1495aac8605eda7ee8b26746fb0aa449f..f05b8485e1c1f9beed6b0aa8f991e4af5a02ebda 100644 (file)
@@ -66,18 +66,20 @@ To run Valgrind under Valgrind:
 
 (4) Choose a very simple program (date) and try
 
-    outer/.../bin/valgrind --weird-hacks=enable-outer   \
+    outer/.../bin/valgrind --weird-hacks=enable-outer --trace-children=yes  \
        --tool=cachegrind -v inner/.../bin/valgrind --tool=none -v prog
 
-It's fragile, confusing and slow, but it does work well enough for
-you to get some useful performance data.  The inner Valgrind has most of
-its output (ie. those lines beginning with "==<pid>==") prefixed with a
-'>', which helps a lot.
+If you omit the --trace-children=yes, you'll only valgrind inner's launcher
+program, not its stage2.  The whole thing is fragile, confusing and slow,
+but it does work well enough for you to get some useful performance data.
+The inner Valgrind has most of its output (ie. those lines beginning with
+"==<pid>==") prefixed with a '>', which helps a lot.
 
 At the time of writing the allocator is not annotated with client requests
 so Memcheck is not as useful as it could be.  It also has not been tested
 much, so don't be surprised if you hit problems.
 
+
 Printing out problematic blocks
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 If you want to print out a disassembly of a particular block that