]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
heap_profiler: if log_dir is empty, don't try and log to root dir!
authorGreg Farnum <gregory.farnum@dreamhost.com>
Fri, 10 Jun 2011 19:25:52 +0000 (12:25 -0700)
committerGreg Farnum <gregory.farnum@dreamhost.com>
Fri, 10 Jun 2011 19:26:16 +0000 (12:26 -0700)
commit52e9e5ec339a4aa996731604bcc0ff95e6659d3b
tree02174a1c94057ae6a8dc3e36fd1d34aad4eca370
parentf41773bedc55a12e048e7e4cd63dffc7d02d7099
heap_profiler: if log_dir is empty, don't try and log to root dir!

If log_dir was empty then the prefix would be of the form /mon.a
That isn't good, so fill it in so it writes to the current dir.

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
src/perfglue/heap_profiler.cc