summaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/controller.c b/src/controller.c
index 65434c974..4196e16f0 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -627,8 +627,9 @@ start_controller (struct rspamd_worker *worker)
/* Send SIGUSR2 to parent */
kill (getppid (), SIGUSR2);
-
+ gperf_profiler_init (worker->srv->cfg, "controller");
+
event_loop (0);
exit (EXIT_SUCCESS);