summaryrefslogtreecommitdiff
path: root/src/vstart.sh
diff options
context:
space:
mode:
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>2011-07-18 13:53:03 -0700
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>2011-07-18 13:53:03 -0700
commit5517b8f5f3982d66ea6fc429cb07832ed22160fc (patch)
tree568624a54fca3b7686fb8e22f1c42173e4a8fc46 /src/vstart.sh
parent73cf6b89787a279ed3fc462f1f89947dade49804 (diff)
downloadceph-5517b8f5f3982d66ea6fc429cb07832ed22160fc.tar.gz
Rework ProfLogger
* Replace existing proflogger config options with "profiling_logger_uri". This option controls profiling logger sinks. * ProfLogger: replace file-writing code with code that sends the information over a UNIX domain socket. * handle_conf_change is now fully and correctly implemented. We never read from the md_config_t structure except in this function, so there are no races. We re-create the thread when the settings change (no need for SIGHUP, etc.) * Replace the single big lock with a lock per Proflogger. * No need for favg any more; just use fset everywhere for floating-point variables. Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Diffstat (limited to 'src/vstart.sh')
-rwxr-xr-xsrc/vstart.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vstart.sh b/src/vstart.sh
index 906b3f4e293..3de4e85809a 100755
--- a/src/vstart.sh
+++ b/src/vstart.sh
@@ -249,8 +249,7 @@ DAEMONOPTS="
log file = out/\$host
log per instance = true
log sym history = 100
- profiling logger = true
- profiling logger dir = log
+ profiling logger uri = out/proflog.$name
chdir = \"\"
pid file = out/\$name.pid
"