summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2009-09-15 04:42:09 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-09-16 07:11:15 -0700
commit58e6643e036bda21f686955d779bb95ac513ab62 (patch)
tree85259028fd9925065f39478d24a126041fda60ed
parent34a7a97b3be80fa8af7d285211ab575a4c00ea79 (diff)
glusterfsd: Removing conditional compilation for SIGUSR1 handler.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 213 (Support for process state dump) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=213
-rw-r--r--glusterfsd/src/glusterfsd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c
index 7be544957a1..30a9149b4de 100644
--- a/glusterfsd/src/glusterfsd.c
+++ b/glusterfsd/src/glusterfsd.c
@@ -1167,12 +1167,10 @@ main (int argc, char *argv[])
fprintf (stderr, "ignoring %s\n",
strerror (errno));
}
-#ifdef HAVE_MALLOC_STATS
#ifdef DEBUG
mtrace ();
#endif
signal (SIGUSR1, (sighandler_t) gf_proc_dump_info);
-#endif
signal (SIGSEGV, gf_print_trace);
signal (SIGABRT, gf_print_trace);
signal (SIGPIPE, SIG_IGN);