From: Vsevolod Stakhov Date: Tue, 28 Jan 2014 15:46:27 +0000 (+0000) Subject: Init profiler correctly. X-Git-Tag: 0.7.0~444 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5928fd6f07aaf64da5a8d2c837440da3d45da11;p=thirdparty%2Frspamd.git Init profiler correctly. --- diff --git a/src/worker_util.c b/src/worker_util.c index 618ab6a5c9..65d69aeaad 100644 --- a/src/worker_util.c +++ b/src/worker_util.c @@ -234,7 +234,7 @@ prepare_worker (struct rspamd_worker *worker, const char *name, monstartup ((u_long) & _start, (u_long) & etext); #endif - gperf_profiler_init (worker->srv->cfg, "worker"); + gperf_profiler_init (worker->srv->cfg, name); worker->srv->pid = getpid ();