]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Improve presentation of first line of --profile-heap=yes
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Wed, 20 May 2015 14:33:30 +0000 (14:33 +0000)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Wed, 20 May 2015 14:33:30 +0000 (14:33 +0000)
(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

index d8d354487a6236bcd40c2c1ae3bd40dc219e06ef..1c4ac5045486057dc5b96cfdf6890a016f746930 100644 (file)
@@ -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,