From: Philippe Waroquiers Date: Wed, 20 May 2015 14:33:30 +0000 (+0000) Subject: Improve presentation of first line of --profile-heap=yes X-Git-Tag: svn/VALGRIND_3_11_0~363 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c6a1524e050bdc075590dcf16708cc3f30cc0b64;p=thirdparty%2Fvalgrind.git Improve presentation of first line of --profile-heap=yes (i.e. use -------- Arena "client": 4,194,304/4,194,304 max/cu... instead of -------- Arena "client": 4194304/4194304 max/cu.... git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15262 --- diff --git a/coregrind/m_mallocfree.c b/coregrind/m_mallocfree.c index d8d354487a..1c4ac50454 100644 --- a/coregrind/m_mallocfree.c +++ b/coregrind/m_mallocfree.c @@ -1404,9 +1404,9 @@ static void cc_analyse_alloc_arena ( ArenaId aid ) sanity_check_malloc_arena(aid); VG_(printf)( - "-------- Arena \"%s\": %lu/%lu max/curr mmap'd, " + "-------- Arena \"%s\": %'lu/%'lu max/curr mmap'd, " "%llu/%llu unsplit/split sb unmmap'd, " - "%lu/%lu max/curr on_loan %lu rzB --------\n", + "%'lu/%'lu max/curr on_loan %lu rzB --------\n", a->name, a->stats__bytes_mmaped_max, a->stats__bytes_mmaped, a->stats__nreclaim_unsplit, a->stats__nreclaim_split, a->stats__bytes_on_loan_max, a->stats__bytes_on_loan,