When running valgrind --tool=massif benchmark1 --massif-out-file=test.out
on MacOS (10.12.6) with version valgrind-3.13.0
, output is produced, but only in the default filename format, i.e. massif.out.\d+
. No test.out
file is generated. Exemplary output is:
==32233== Massif, a heap profiler
==32233== Copyright (C) 2003-2017, and GNU GPL'd, by Nicholas Nethercote
==32233== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==32233== Command: benchmark1 --massif-out-file=./test.out
==32233==
What am I missing, or is this feature ignored for the MacOS version? I tried also to put the file name in quotes with no success.