]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Ensure we print the memory statistics with the default verbosity,
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sun, 19 Apr 2015 17:56:42 +0000 (17:56 +0000)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sun, 19 Apr 2015 17:56:42 +0000 (17:56 +0000)
when giving --stats=yes

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15114

coregrind/m_main.c

index 52f9f9f2eb100b42d393d8f3266aadb4fad5a149..9ca26e323528baccccc1e25a48ec72c69ace67c7 100644 (file)
@@ -2628,7 +2628,7 @@ void shutdown_actions_NORETURN( ThreadId tid,
    VG_(sanity_check_general)( True /*include expensive checks*/ );
 
    if (VG_(clo_stats))
-      VG_(print_all_stats)(VG_(clo_verbosity) > 2, /* Memory stats */
+      VG_(print_all_stats)(VG_(clo_verbosity) >= 1, /* Memory stats */
                            False /* tool prints stats in the tool fini */);
 
    /* Show a profile of the heap(s) at shutdown.  Optionally, first