elehcim / gperftools

Automatically exported from code.google.com/p/gperftools
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

allow avoiding the hardcoded /tmp/google.alloc path for tracing output #695

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
tcmalloc's debugging mode hardcodes /tmp/google.alloc as the trace file.  This 
is not optimal when multiple developers are working on the same machine.

This patch adds the possibility to specify the trace file in the 
TCMALLOC_TRACE_FILE environment variable.  Should the open fail, the tracing is 
disabled instead of falling back to stderr.

Original issue reported on code.google.com by paolo.bo...@gmail.com on 22 Jun 2015 at 5:01

Attachments:

GoogleCodeExporter commented 9 years ago
Applied. Thanks.

Original comment by alkondratenko on 28 Jun 2015 at 4:17