Refactor DUMP_MALLOC_TRACE_OUTPUT handling.
authorMilian Wolff <mail@milianw.de>
Sat, 31 May 2014 23:16:54 +0000 (01:16 +0200)
committerMilian Wolff <mail@milianw.de>
Mon, 2 Jun 2014 09:31:36 +0000 (11:31 +0200)
commitc993d99fb65d1c1c62a2a5cd0b09212bff67edc4
tree2f3199ba4ee22f125da8cc74212afbfdb5a0ceb6
parentb8bf3884409592bf70c0babeb4c0af88398ea414
Refactor DUMP_MALLOC_TRACE_OUTPUT handling.

Now we can set it to stderr or stdout/- to print directly to the
console. Other files get $$ replaced by the PID of the host app.
This allows us to set DUMP_MALLOC_TRACE_OUTPUT to /dev/null to
disable output.
malloctrace.cpp
trace.sh