Complete rewrite (I think this is the 4th incarnation) of translation
table/cache management.  Two main changes.  (1) Translation areas are
recorded using VexGuestExtents, so that Vex is now properly supported
and code deletion works correctly.  (2) Low overhead BB profiling,
enabled by the --profile-flags=<XXXXXXXX> option.  This finds the top
N bbs at exit and shows them, so as to give a basis from which to do
performane tuning.

To support this, the way tt/tc work is changed.  It is still a
sectored arrangement, but now each sector has its own hash table.
This simplifies a lot of things.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3226 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/none/tests/cmdline2.stdout.exp b/none/tests/cmdline2.stdout.exp
index 10e906c..614689a 100644
--- a/none/tests/cmdline2.stdout.exp
+++ b/none/tests/cmdline2.stdout.exp
@@ -43,9 +43,9 @@
     --single-step=no|yes      translate each instr separately? [no]
     --optimise=no|yes         improve intermediate code? [yes]
     --profile=no|yes          profile? (tool must be built for it) [no]
-    --bbprofile=no|yes        profile bbs? [no]
     --branchpred=yes|no       generate branch prediction hints [no]
-    --trace-codegen=<XXXXXXXX>   show generated code? (X = 0|1) [00000000]
+    --trace-flags=<XXXXXXXX>   show generated code? (X = 0|1) [00000000]
+    --profile-flags=<XXXXXXXX> ditto, but for profiling (X = 0|1) [00000000]
     --trace-notbelow=<number>    only show BBs above <number> [0]
     --trace-syscalls=no|yes   show all system calls? [no]
     --trace-signals=no|yes    show signal handling details? [no]
@@ -61,7 +61,7 @@
     --vex-guest-max-insns             1 .. 100 [50]
     --vex-guest-chase-thresh          0 .. 99  [10]
 
-    --trace-codegen values (omit the middle space):
+    --trace-flags and --profile-flags values (omit the middle space):
        1000 0000   show conversion into IR
        0100 0000   show after initial opt
        0010 0000   show after instrumentation