From c6a1524e050bdc075590dcf16708cc3f30cc0b64 Mon Sep 17 00:00:00 2001 From: Philippe Waroquiers Date: Wed, 20 May 2015 14:33:30 +0000 Subject: [PATCH] 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 --- coregrind/m_mallocfree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, -- 2.47.3