summaryrefslogtreecommitdiffstats
path: root/glusterfsd/src/glusterfsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'glusterfsd/src/glusterfsd.c')
-rw-r--r--glusterfsd/src/glusterfsd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c
index aa90f351314..e27bf1949f4 100644
--- a/glusterfsd/src/glusterfsd.c
+++ b/glusterfsd/src/glusterfsd.c
@@ -69,6 +69,7 @@
#include "event.h"
#include "globals.h"
#include "statedump.h"
+#include "latency.h"
#include <fnmatch.h>
@@ -1280,6 +1281,7 @@ main (int argc, char *argv[])
#endif
signal (SIGUSR1, gf_proc_dump_info);
+ signal (SIGUSR2, gf_latency_toggle);
signal (SIGSEGV, gf_print_trace);
signal (SIGABRT, gf_print_trace);
signal (SIGPIPE, SIG_IGN);