From: Julian Seward Date: Tue, 11 Aug 2009 10:39:25 +0000 (+0000) Subject: Move printing of EvM-gc and VTS-gc stats from -v to --stats=yes. X-Git-Tag: svn/VALGRIND_3_5_0~74 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=abf37ff2dc8bf72c153012963b10a1b68aa3e33c;p=thirdparty%2Fvalgrind.git Move printing of EvM-gc and VTS-gc stats from -v to --stats=yes. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10776 --- diff --git a/helgrind/libhb_core.c b/helgrind/libhb_core.c index 6bb6d97127..3a5f7c60d0 100644 --- a/helgrind/libhb_core.c +++ b/helgrind/libhb_core.c @@ -43,7 +43,7 @@ #include "pub_tool_aspacemgr.h" #include "pub_tool_execontext.h" #include "pub_tool_errormgr.h" -#include "pub_tool_options.h" // VG_(clo_verbosity) +#include "pub_tool_options.h" // VG_(clo_stats) #include "hg_basics.h" #include "hg_wordset.h" #include "hg_lock_n_thread.h" @@ -2289,7 +2289,7 @@ static void vts_tab__do_GC ( Bool show_stats ) VG_(printf)("<>\n", vts_next_GC_at); } - if (VG_(clo_verbosity) > 1) { + if (VG_(clo_stats)) { static UInt ctr = 0; tl_assert(nTab > 0); VG_(message)(Vg_DebugMsg, @@ -3952,7 +3952,7 @@ static void event_map_maybe_GC ( void ) VG_(addToXA)( refs2del, &keyW ); } } - if (VG_(clo_verbosity) > 1) { + if (VG_(clo_stats)) { VG_(message)(Vg_DebugMsg, "libhb: EvM GC: delete generations %lu and below, " "retaining %lu entries\n", @@ -3978,7 +3978,7 @@ static void event_map_maybe_GC ( void ) retained--; } } - if (VG_(clo_verbosity) > 1) { + if (VG_(clo_stats)) { VG_(message)(Vg_DebugMsg, "libhb: EvM GC: randomly delete half the entries, " "retaining %lu entries\n",