]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Handle EvM GC messaging properly.
authorJulian Seward <jseward@acm.org>
Mon, 10 Nov 2008 16:19:21 +0000 (16:19 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 10 Nov 2008 16:19:21 +0000 (16:19 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8760

helgrind/libhb_core.c

index 3261f253216be7a0fe8203162f4e5430f3b35043..15a64c845cf35e746b3f64607103b1ccbac91e86 100644 (file)
@@ -3065,10 +3065,12 @@ static void event_map_maybe_GC ( void )
    }
    VG_(doneIterFM)( genMap );
 
-   VG_(printf)(
-      "libhb: EvM GC: delete generations %lu and below, "
-      "retaining %lu entries\n",
-      maxGen, retained );
+   if (VG_(clo_verbosity) > 1) {
+      VG_(message)(Vg_DebugMsg,
+         "libhb: EvM GC: delete generations %lu and below, "
+         "retaining %lu entries",
+         maxGen, retained );
+   }
 
    VG_(deleteFM)( genMap, NULL, NULL );