|
From: <sv...@va...> - 2015-05-13 21:10:19
|
Author: carll
Date: Wed May 13 22:10:12 2015
New Revision: 15226
Log:
Patch 1 in a revised series of cleanup patches from Will Schmidt
Update the massif/big-alloc test for ppc64*.
In comparison to the existing .exp files, the time,total,extra-heap
values generated on ppc64* vary from the other architectures.
This .exp allows the ppc64 targets to pass the test.
This patch fixes Vagrind bugzilla 347322.
Added:
trunk/massif/tests/big-alloc.post.exp-ppc64
Modified:
trunk/massif/tests/Makefile.am
Modified: trunk/massif/tests/Makefile.am
==============================================================================
--- trunk/massif/tests/Makefile.am (original)
+++ trunk/massif/tests/Makefile.am Wed May 13 22:10:12 2015
@@ -8,7 +8,7 @@
alloc-fns-B.post.exp alloc-fns-B.stderr.exp alloc-fns-B.vgtest \
basic.post.exp basic.stderr.exp basic.vgtest \
basic2.post.exp basic2.stderr.exp basic2.vgtest \
- big-alloc.post.exp big-alloc.post.exp-64bit \
+ big-alloc.post.exp big-alloc.post.exp-64bit big-alloc.post.exp-ppc64 \
big-alloc.stderr.exp big-alloc.vgtest \
deep-A.post.exp deep-A.stderr.exp deep-A.vgtest \
deep-B.post.exp deep-B.stderr.exp deep-B.vgtest \
Added: trunk/massif/tests/big-alloc.post.exp-ppc64
==============================================================================
--- trunk/massif/tests/big-alloc.post.exp-ppc64 (added)
+++ trunk/massif/tests/big-alloc.post.exp-ppc64 Wed May 13 22:10:12 2015
@@ -0,0 +1,54 @@
+--------------------------------------------------------------------------------
+Command: ./big-alloc
+Massif arguments: --stacks=no --time-unit=B --massif-out-file=massif.out --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element
+ms_print arguments: massif.out
+--------------------------------------------------------------------------------
+
+
+ MB
+100.6^ :
+ | :
+ | @@@@@@@:
+ | @ :
+ | :::::::@ :
+ | : @ :
+ | :::::::: @ :
+ | : : @ :
+ | :::::::: : @ :
+ | : : : @ :
+ | :::::::: : : @ :
+ | : : : : @ :
+ | ::::::::: : : : @ :
+ | : : : : : @ :
+ | :::::::: : : : : @ :
+ | : : : : : : @ :
+ | :::::::: : : : : : @ :
+ | : : : : : : : @ :
+ | :::::::: : : : : : : @ :
+ | : : : : : : : : @ :
+ 0 +----------------------------------------------------------------------->MB
+ 0 100.6
+
+Number of snapshots: 11
+ Detailed snapshots: [9]
+
+--------------------------------------------------------------------------------
+ n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
+--------------------------------------------------------------------------------
+ 0 0 0 0 0 0
+ 1 10,551,240 10,551,240 10,485,760 65,480 0
+ 2 21,102,480 21,102,480 20,971,520 130,960 0
+ 3 31,653,720 31,653,720 31,457,280 196,440 0
+ 4 42,204,960 42,204,960 41,943,040 261,920 0
+ 5 52,756,200 52,756,200 52,428,800 327,400 0
+ 6 63,307,440 63,307,440 62,914,560 392,880 0
+ 7 73,858,680 73,858,680 73,400,320 458,360 0
+ 8 84,409,920 84,409,920 83,886,080 523,840 0
+ 9 94,961,160 94,961,160 94,371,840 589,320 0
+99.38% (94,371,840B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
+->99.38% (94,371,840B) 0x........: main (big-alloc.c:12)
+
+--------------------------------------------------------------------------------
+ n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
+--------------------------------------------------------------------------------
+ 10 105,512,400 105,512,400 104,857,600 654,800 0
|