// memory. An alternative to milliseconds as a unit of program "time".
static ULong total_allocs_deallocs_szB = 0;
-// Current directory at startup.
-static Char base_dir[VKI_PATH_MAX]; // XXX: currently unused
+// The output file name. Controlled by --massif-out-file.
+static Char* massif_out_file = NULL;
// We don't start taking snapshots until the first basic block is executed,
// rather than doing it in ms_post_clo_init (which is the obvious spot), for
static UInt clo_time_unit = TimeMS;
static UInt clo_detailed_freq = 10;
static UInt clo_max_snapshots = 100;
+static Char* clo_massif_out_file = "massif.out.%p";
static XArray* args_for_massif;
VG_(addToXA)(alloc_fns, &alloc_fn);
}
+ else if (VG_CLO_STREQN(14, arg, "--massif-out-file=")) {
+ clo_massif_out_file = &arg[18];
+ }
+
else
return VG_(replacement_malloc_process_cmd_line_option)(arg);
" alloc'd/dealloc'd on the heap [ms]\n"
" --detailed-freq=<N> every Nth snapshot should be detailed [10]\n"
" --max-snapshots=<N> maximum number of snapshots recorded [100]\n"
+" --massif-out-file=<s> output file name [massif.out.%%p]\n"
);
VG_(replacement_malloc_print_usage)();
}
//--- Writing snapshots ---//
//------------------------------------------------------------//
-// XXX: do the filename properly, eventually
-static Char* massif_out_file = "massif.out";
-
#define FP_BUF_SIZE 1024
Char FP_buf[FP_BUF_SIZE];
//--- Initialisation ---//
//------------------------------------------------------------//
+// Copies the string, prepending it with the startup working directory, and
+// expanding %p and %q entries. Returns a new, malloc'd string.
+static Char* expand_file_name(Char* format)
+{
+ static Char base_dir[VKI_PATH_MAX];
+ Int len, i = 0, j = 0;
+ Char* out;
+
+ Bool ok = VG_(get_startup_wd)(base_dir, VKI_PATH_MAX);
+ tl_assert(ok);
+
+ // The 10 is slop, it should be enough in most cases.
+ j = VG_(strlen)(base_dir);
+ len = j + VG_(strlen)(format) + 10;
+ out = VG_(malloc)( len );
+ VG_(strcpy)(out, base_dir);
+
+#define GROW_IF_j_IS_GEQ_THAN(x) \
+ if (j >= x) { \
+ len *= 2; \
+ out = VG_(realloc)(out, len); \
+ OINK(len);\
+ }
+
+ out[j++] = '/';
+ while (format[i]) {
+ if (format[i] != '%') {
+ GROW_IF_j_IS_GEQ_THAN(len);
+ out[j++] = format[i++];
+
+ } else {
+ // We saw a '%'. What's next...
+ i++;
+ if (0 == format[i]) {
+ // At end of string, stop.
+ break;
+ }
+ else if ('%' == format[i]) {
+ // Replace '%%' with '%'.
+ GROW_IF_j_IS_GEQ_THAN(len);
+ out[j++] = format[i++];
+ }
+ else if ('p' == format[i]) {
+ // Print the PID.
+ GROW_IF_j_IS_GEQ_THAN(len - 10);
+ j += VG_(sprintf)(&out[j], "%d", VG_(getpid)());
+ i++;
+ }
+ else {
+ // Other char, treat both the '%' and its subsequent normally.
+ GROW_IF_j_IS_GEQ_THAN(len - 1);
+ out[j++] = '%';
+ out[j++] = format[i++];
+ }
+ }
+ }
+ GROW_IF_j_IS_GEQ_THAN(len);
+ out[j++] = 0;
+
+ return out;
+}
+
+
static void ms_post_clo_init(void)
{
Int i;
clear_snapshot( & snapshots[i], /*do_sanity_check*/False );
}
sanity_check_snapshots_array();
+
+ // Setup output filename.
+ massif_out_file = expand_file_name(clo_massif_out_file);
}
static void ms_pre_clo_init(void)
// Initialise args_for_massif.
args_for_massif = VG_(newXA)(VG_(malloc), VG_(free), sizeof(HChar*));
-
- tl_assert( VG_(get_startup_wd)(base_dir, VKI_PATH_MAX) );
}
VG_DETERMINE_INTERFACE_VERSION(ms_pre_clo_init)
--------------------------------------------------------------------------------
Command: ./alloc-fns
-Massif arguments: --stacks=no --time-unit=B --heap-admin=0
+Massif arguments: --stacks=no --time-unit=B --heap-admin=0 --massif-out-file=massif.out
ms_print arguments: massif.out
--------------------------------------------------------------------------------
prog: alloc-fns
-vgopts: --stacks=no --time-unit=B --heap-admin=0
+vgopts: --stacks=no --time-unit=B --heap-admin=0 --massif-out-file=massif.out
post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses
cleanup: rm massif.out
--------------------------------------------------------------------------------
Command: ./alloc-fns
-Massif arguments: --stacks=no --time-unit=B --heap-admin=0 --alloc-fn=a4 --alloc-fn=b4 --alloc-fn=b3 --alloc-fn=c4 --alloc-fn=c3 --alloc-fn=c2 --alloc-fn=d4 --alloc-fn=d3 --alloc-fn=d2 --alloc-fn=d1
+Massif arguments: --stacks=no --time-unit=B --heap-admin=0 --alloc-fn=a4 --alloc-fn=b4 --alloc-fn=b3 --alloc-fn=c4 --alloc-fn=c3 --alloc-fn=c2 --alloc-fn=d4 --alloc-fn=d3 --alloc-fn=d2 --alloc-fn=d1 --massif-out-file=massif.out
ms_print arguments: massif.out
--------------------------------------------------------------------------------
prog: alloc-fns
-vgopts: --stacks=no --time-unit=B --heap-admin=0 --alloc-fn=a4 --alloc-fn=b4 --alloc-fn=b3 --alloc-fn=c4 --alloc-fn=c3 --alloc-fn=c2 --alloc-fn=d4 --alloc-fn=d3 --alloc-fn=d2 --alloc-fn=d1
+vgopts: --stacks=no --time-unit=B --heap-admin=0 --alloc-fn=a4 --alloc-fn=b4 --alloc-fn=b3 --alloc-fn=c4 --alloc-fn=c3 --alloc-fn=c2 --alloc-fn=d4 --alloc-fn=d3 --alloc-fn=d2 --alloc-fn=d1 --massif-out-file=massif.out
post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses
cleanup: rm massif.out
--------------------------------------------------------------------------------
Command: ./basic
-Massif arguments: --stacks=no --time-unit=B
+Massif arguments: --stacks=no --time-unit=B --massif-out-file=massif.out
ms_print arguments: massif.out
--------------------------------------------------------------------------------
prog: basic
-vgopts: --stacks=no --time-unit=B
+vgopts: --stacks=no --time-unit=B --massif-out-file=massif.out
post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses
cleanup: rm massif.out
--------------------------------------------------------------------------------
Command: ./big-alloc
-Massif arguments: --stacks=no --time-unit=B
+Massif arguments: --stacks=no --time-unit=B --massif-out-file=massif.out
ms_print arguments: massif.out
--------------------------------------------------------------------------------
prog: big-alloc
-vgopts: --stacks=no --time-unit=B
+vgopts: --stacks=no --time-unit=B --massif-out-file=massif.out
post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses
cleanup: rm massif.out
prog: culling1
-vgopts: -v -v --stacks=no --time-unit=B
+vgopts: -v -v --stacks=no --time-unit=B --massif-out-file=massif.out
stderr_filter: filter_verbose
cleanup: rm massif.out
prog: culling2
-vgopts: -v -v --stacks=no --time-unit=B
+vgopts: -v -v --stacks=no --time-unit=B --massif-out-file=massif.out
stderr_filter: filter_verbose
cleanup: rm massif.out
--------------------------------------------------------------------------------
Command: ./custom_alloc
-Massif arguments: --stacks=no --time-unit=B
+Massif arguments: --stacks=no --time-unit=B --massif-out-file=massif.out
ms_print arguments: massif.out
--------------------------------------------------------------------------------
prog: custom_alloc
-vgopts: --stacks=no --time-unit=B
+vgopts: --stacks=no --time-unit=B --massif-out-file=massif.out
post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses
cleanup: rm massif.out
--------------------------------------------------------------------------------
Command: ./deep
-Massif arguments: --stacks=no --time-unit=B --depth=8
+Massif arguments: --stacks=no --time-unit=B --depth=8 --massif-out-file=massif.out
ms_print arguments: massif.out
--------------------------------------------------------------------------------
prog: deep
-vgopts: --stacks=no --time-unit=B --depth=8
+vgopts: --stacks=no --time-unit=B --depth=8 --massif-out-file=massif.out
post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses
cleanup: rm massif.out
--------------------------------------------------------------------------------
Command: ./deep
-Massif arguments: --stacks=no --time-unit=B --alloc-fn=a6 --alloc-fn=a7 --alloc-fn=a8 --alloc-fn=a9 --alloc-fn=a10 --alloc-fn=a11 --alloc-fn=a12 --depth=8
+Massif arguments: --stacks=no --time-unit=B --alloc-fn=a6 --alloc-fn=a7 --alloc-fn=a8 --alloc-fn=a9 --alloc-fn=a10 --alloc-fn=a11 --alloc-fn=a12 --depth=8 --massif-out-file=massif.out
ms_print arguments: massif.out
--------------------------------------------------------------------------------
prog: deep
-vgopts: --stacks=no --time-unit=B --alloc-fn=a6 --alloc-fn=a7 --alloc-fn=a8 --alloc-fn=a9 --alloc-fn=a10 --alloc-fn=a11 --alloc-fn=a12 -v -v --depth=8
+vgopts: --stacks=no --time-unit=B --alloc-fn=a6 --alloc-fn=a7 --alloc-fn=a8 --alloc-fn=a9 --alloc-fn=a10 --alloc-fn=a11 --alloc-fn=a12 -v -v --depth=8 --massif-out-file=massif.out
stderr_filter: filter_verbose
post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses
cleanup: rm massif.out
--------------------------------------------------------------------------------
Command: ./deep
-Massif arguments: --stacks=no --time-unit=B --alloc-fn=a3 --alloc-fn=a4 --alloc-fn=a5 --alloc-fn=a6 --alloc-fn=a7 --alloc-fn=a8 --alloc-fn=a9 --alloc-fn=a10 --alloc-fn=a11 --alloc-fn=a12 --depth=8
+Massif arguments: --stacks=no --time-unit=B --alloc-fn=a3 --alloc-fn=a4 --alloc-fn=a5 --alloc-fn=a6 --alloc-fn=a7 --alloc-fn=a8 --alloc-fn=a9 --alloc-fn=a10 --alloc-fn=a11 --alloc-fn=a12 --depth=8 --massif-out-file=massif.out
ms_print arguments: massif.out
--------------------------------------------------------------------------------
prog: deep
-vgopts: --stacks=no --time-unit=B --alloc-fn=a3 --alloc-fn=a4 --alloc-fn=a5 --alloc-fn=a6 --alloc-fn=a7 --alloc-fn=a8 --alloc-fn=a9 --alloc-fn=a10 --alloc-fn=a11 --alloc-fn=a12 -v -v --depth=8
+vgopts: --stacks=no --time-unit=B --alloc-fn=a3 --alloc-fn=a4 --alloc-fn=a5 --alloc-fn=a6 --alloc-fn=a7 --alloc-fn=a8 --alloc-fn=a9 --alloc-fn=a10 --alloc-fn=a11 --alloc-fn=a12 -v -v --depth=8 --massif-out-file=massif.out
stderr_filter: filter_verbose
post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses
cleanup: rm massif.out
--------------------------------------------------------------------------------
Command: ./deep
-Massif arguments: --stacks=no --time-unit=B --alloc-fn=a1 --alloc-fn=a2 --alloc-fn=a3 --alloc-fn=a4 --alloc-fn=a5 --alloc-fn=a6 --alloc-fn=a7 --alloc-fn=a8 --alloc-fn=a9 --alloc-fn=a10 --alloc-fn=a11 --alloc-fn=a12 --alloc-fn=main --depth=20
+Massif arguments: --stacks=no --time-unit=B --alloc-fn=a1 --alloc-fn=a2 --alloc-fn=a3 --alloc-fn=a4 --alloc-fn=a5 --alloc-fn=a6 --alloc-fn=a7 --alloc-fn=a8 --alloc-fn=a9 --alloc-fn=a10 --alloc-fn=a11 --alloc-fn=a12 --alloc-fn=main --depth=20 --massif-out-file=massif.out
ms_print arguments: massif.out
--------------------------------------------------------------------------------
prog: deep
-vgopts: --stacks=no --time-unit=B --alloc-fn=a1 --alloc-fn=a2 --alloc-fn=a3 --alloc-fn=a4 --alloc-fn=a5 --alloc-fn=a6 --alloc-fn=a7 --alloc-fn=a8 --alloc-fn=a9 --alloc-fn=a10 --alloc-fn=a11 --alloc-fn=a12 --alloc-fn=main --depth=20
+vgopts: --stacks=no --time-unit=B --alloc-fn=a1 --alloc-fn=a2 --alloc-fn=a3 --alloc-fn=a4 --alloc-fn=a5 --alloc-fn=a6 --alloc-fn=a7 --alloc-fn=a8 --alloc-fn=a9 --alloc-fn=a10 --alloc-fn=a11 --alloc-fn=a12 --alloc-fn=main --depth=20 --massif-out-file=massif.out
post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses | ../../tests/filter_libc
cleanup: rm massif.out
--------------------------------------------------------------------------------
Command: ./ignoring
-Massif arguments: --stacks=no --time-unit=B
+Massif arguments: --stacks=no --time-unit=B --massif-out-file=massif.out
ms_print arguments: massif.out
--------------------------------------------------------------------------------
prog: ignoring
-vgopts: --stacks=no --time-unit=B
+vgopts: --stacks=no --time-unit=B --massif-out-file=massif.out
post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses
cleanup: rm massif.out
--------------------------------------------------------------------------------
Command: ./insig
-Massif arguments: --stacks=no --time-unit=B --heap-admin=64
+Massif arguments: --stacks=no --time-unit=B --heap-admin=64 --massif-out-file=massif.out
ms_print arguments: massif.out
--------------------------------------------------------------------------------
prog: insig
-vgopts: --stacks=no --time-unit=B --heap-admin=64
+vgopts: --stacks=no --time-unit=B --heap-admin=64 --massif-out-file=massif.out
post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses
cleanup: rm massif.out
--------------------------------------------------------------------------------
Command: ./long-time
-Massif arguments: --stacks=no --time-unit=B --heap-admin=0
+Massif arguments: --stacks=no --time-unit=B --heap-admin=0 --massif-out-file=massif.out
ms_print arguments: massif.out
--------------------------------------------------------------------------------
prog: long-time
-vgopts: --stacks=no --time-unit=B --heap-admin=0
+vgopts: --stacks=no --time-unit=B --heap-admin=0 --massif-out-file=massif.out
post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses
cleanup: rm massif.out
--------------------------------------------------------------------------------
Command: ./new-cpp
-Massif arguments: --stacks=no --time-unit=B
+Massif arguments: --stacks=no --time-unit=B --massif-out-file=massif.out
ms_print arguments: massif.out
--------------------------------------------------------------------------------
prog: new-cpp
-vgopts: --stacks=no --time-unit=B
+vgopts: --stacks=no --time-unit=B --massif-out-file=massif.out
post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses
cleanup: rm massif.out
--------------------------------------------------------------------------------
Command: ./basic
-Massif arguments: --stacks=no --heap=no --time-unit=B
+Massif arguments: --stacks=no --heap=no --time-unit=B --massif-out-file=massif.out
ms_print arguments: massif.out
--------------------------------------------------------------------------------
prog: basic
-vgopts: --stacks=no --heap=no --time-unit=B
+vgopts: --stacks=no --heap=no --time-unit=B --massif-out-file=massif.out
post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses
cleanup: rm massif.out
--------------------------------------------------------------------------------
Command: ./null
-Massif arguments: --stacks=no --time-unit=B
+Massif arguments: --stacks=no --time-unit=B --massif-out-file=massif.out
ms_print arguments: massif.out
--------------------------------------------------------------------------------
prog: null
-vgopts: --stacks=no --time-unit=B
+vgopts: --stacks=no --time-unit=B --massif-out-file=massif.out
post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses
cleanup: rm massif.out
--------------------------------------------------------------------------------
Command: ./one
-Massif arguments: --stacks=no --time-unit=B --heap-admin=0
+Massif arguments: --stacks=no --time-unit=B --heap-admin=0 --massif-out-file=massif.out
ms_print arguments: massif.out
--------------------------------------------------------------------------------
prog: one
-vgopts: --stacks=no --time-unit=B --heap-admin=0
+vgopts: --stacks=no --time-unit=B --heap-admin=0 --massif-out-file=massif.out
post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses
cleanup: rm massif.out
--------------------------------------------------------------------------------
Command: ./overloaded-new
-Massif arguments: --stacks=no --time-unit=B
+Massif arguments: --stacks=no --time-unit=B --massif-out-file=massif.out
ms_print arguments: massif.out
--------------------------------------------------------------------------------
prog: overloaded-new
-vgopts: --stacks=no --time-unit=B
+vgopts: --stacks=no --time-unit=B --massif-out-file=massif.out
post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses
cleanup: rm massif.out
--------------------------------------------------------------------------------
Command: ./peak
-Massif arguments: --stacks=no --time-unit=B --peak-inaccuracy=0 --heap-admin=64
+Massif arguments: --stacks=no --time-unit=B --peak-inaccuracy=0 --heap-admin=64 --massif-out-file=massif.out
ms_print arguments: massif.out
--------------------------------------------------------------------------------
prog: peak
-vgopts: --stacks=no --time-unit=B --peak-inaccuracy=0 --heap-admin=64
+vgopts: --stacks=no --time-unit=B --peak-inaccuracy=0 --heap-admin=64 --massif-out-file=massif.out
post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses
cleanup: rm massif.out
--------------------------------------------------------------------------------
Command: ./peak
-Massif arguments: --stacks=no --time-unit=B --peak-inaccuracy=10.0 --heap-admin=64
+Massif arguments: --stacks=no --time-unit=B --peak-inaccuracy=10.0 --heap-admin=64 --massif-out-file=massif.out
ms_print arguments: massif.out
--------------------------------------------------------------------------------
prog: peak
-vgopts: --stacks=no --time-unit=B -v -v --peak-inaccuracy=10.0 --heap-admin=64
+vgopts: --stacks=no --time-unit=B -v -v --peak-inaccuracy=10.0 --heap-admin=64 --massif-out-file=massif.out
stderr_filter: filter_verbose
post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses
cleanup: rm massif.out
--------------------------------------------------------------------------------
Command: ./realloc
-Massif arguments: --stacks=no --heap-admin=0 --time-unit=B --threshold=0
+Massif arguments: --stacks=no --heap-admin=0 --time-unit=B --threshold=0 --massif-out-file=massif.out
ms_print arguments: --threshold=0 massif.out
--------------------------------------------------------------------------------
prog: realloc
-vgopts: -v -v --stacks=no --heap-admin=0 --time-unit=B --threshold=0
+vgopts: -v -v --stacks=no --heap-admin=0 --time-unit=B --threshold=0 --massif-out-file=massif.out
stderr_filter: filter_verbose
post: perl ../../massif/ms_print --threshold=0 massif.out | ../../tests/filter_addresses
cleanup: rm massif.out
--------------------------------------------------------------------------------
Command: ./thresholds
-Massif arguments: --stacks=no --time-unit=B --heap-admin=0 --threshold=0
+Massif arguments: --stacks=no --time-unit=B --heap-admin=0 --threshold=0 --massif-out-file=massif.out
ms_print arguments: massif.out --threshold=0
--------------------------------------------------------------------------------
prog: thresholds
-vgopts: --stacks=no --time-unit=B --heap-admin=0 --threshold=0
+vgopts: --stacks=no --time-unit=B --heap-admin=0 --threshold=0 --massif-out-file=massif.out
post: perl ../../massif/ms_print massif.out --threshold=0 | ../../tests/filter_addresses
cleanup: rm massif.out
--------------------------------------------------------------------------------
Command: ./thresholds
-Massif arguments: --stacks=no --time-unit=B --heap-admin=0 --threshold=0
+Massif arguments: --stacks=no --time-unit=B --heap-admin=0 --threshold=0 --massif-out-file=massif.out
ms_print arguments: massif.out --threshold=10
--------------------------------------------------------------------------------
prog: thresholds
-vgopts: --stacks=no --time-unit=B --heap-admin=0 --threshold=0
+vgopts: --stacks=no --time-unit=B --heap-admin=0 --threshold=0 --massif-out-file=massif.out
post: perl ../../massif/ms_print massif.out --threshold=10 | ../../tests/filter_addresses
cleanup: rm massif.out
--------------------------------------------------------------------------------
Command: ./thresholds
-Massif arguments: --stacks=no --time-unit=B --heap-admin=0 --threshold=10
+Massif arguments: --stacks=no --time-unit=B --heap-admin=0 --threshold=10 --massif-out-file=massif.out
ms_print arguments: massif.out --threshold=0
--------------------------------------------------------------------------------
prog: thresholds
-vgopts: --stacks=no --time-unit=B --heap-admin=0 --threshold=10
+vgopts: --stacks=no --time-unit=B --heap-admin=0 --threshold=10 --massif-out-file=massif.out
post: perl ../../massif/ms_print massif.out --threshold=0 | ../../tests/filter_addresses
cleanup: rm massif.out
--------------------------------------------------------------------------------
Command: ./thresholds
-Massif arguments: --stacks=no --time-unit=B --heap-admin=0 --threshold=10
+Massif arguments: --stacks=no --time-unit=B --heap-admin=0 --threshold=10 --massif-out-file=massif.out
ms_print arguments: massif.out --threshold=10
--------------------------------------------------------------------------------
prog: thresholds
-vgopts: --stacks=no --time-unit=B --heap-admin=0 --threshold=10
+vgopts: --stacks=no --time-unit=B --heap-admin=0 --threshold=10 --massif-out-file=massif.out
post: perl ../../massif/ms_print massif.out --threshold=10 | ../../tests/filter_addresses
cleanup: rm massif.out
--------------------------------------------------------------------------------
Command: ./thresholds
-Massif arguments: --stacks=no --time-unit=B --heap-admin=0 --threshold=5
+Massif arguments: --stacks=no --time-unit=B --heap-admin=0 --threshold=5 --massif-out-file=massif.out
ms_print arguments: massif.out --threshold=0
--------------------------------------------------------------------------------
prog: thresholds
-vgopts: --stacks=no --time-unit=B --heap-admin=0 --threshold=5
+vgopts: --stacks=no --time-unit=B --heap-admin=0 --threshold=5 --massif-out-file=massif.out
post: perl ../../massif/ms_print massif.out --threshold=0 | ../../tests/filter_addresses
cleanup: rm massif.out
--------------------------------------------------------------------------------
Command: ./thresholds
-Massif arguments: --stacks=no --time-unit=B --heap-admin=0 --threshold=5
+Massif arguments: --stacks=no --time-unit=B --heap-admin=0 --threshold=5 --massif-out-file=massif.out
ms_print arguments: massif.out --threshold=10
--------------------------------------------------------------------------------
prog: thresholds
-vgopts: --stacks=no --time-unit=B --heap-admin=0 --threshold=5
+vgopts: --stacks=no --time-unit=B --heap-admin=0 --threshold=5 --massif-out-file=massif.out
post: perl ../../massif/ms_print massif.out --threshold=10 | ../../tests/filter_addresses
cleanup: rm massif.out
--------------------------------------------------------------------------------
Command: ./zero
-Massif arguments: --stacks=no --heap-admin=0 --time-unit=B
+Massif arguments: --stacks=no --heap-admin=0 --time-unit=B --massif-out-file=massif.out
ms_print arguments: --threshold=0 massif.out
--------------------------------------------------------------------------------
prog: zero
-vgopts: --stacks=no --heap-admin=0 --time-unit=B
+vgopts: --stacks=no --heap-admin=0 --time-unit=B --massif-out-file=massif.out
post: perl ../../massif/ms_print --threshold=0 massif.out | ../../tests/filter_addresses
cleanup: rm massif.out
--------------------------------------------------------------------------------
Command: ./zero
-Massif arguments: --stacks=no --heap-admin=0 --time-unit=B
+Massif arguments: --stacks=no --heap-admin=0 --time-unit=B --massif-out-file=massif.out
ms_print arguments: massif.out
--------------------------------------------------------------------------------
prog: zero
-vgopts: --stacks=no --heap-admin=0 --time-unit=B
+vgopts: --stacks=no --heap-admin=0 --time-unit=B --massif-out-file=massif.out
post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses
cleanup: rm massif.out