aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-01-28 15:46:27 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-01-28 15:46:27 +0000
commitd5928fd6f07aaf64da5a8d2c837440da3d45da11 (patch)
treecd020f597c459d73fafb34bd8fd0ba8c4c5698b9 /src
parente61e5baee780cde9af26c8c64133b124c053df70 (diff)
downloadrspamd-d5928fd6f07aaf64da5a8d2c837440da3d45da11.tar.gz
rspamd-d5928fd6f07aaf64da5a8d2c837440da3d45da11.zip
Init profiler correctly.
Diffstat (limited to 'src')
-rw-r--r--src/worker_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker_util.c b/src/worker_util.c
index 618ab6a5c..65d69aeaa 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 ();