diff options
Diffstat (limited to 'libglusterfs')
-rw-r--r-- | libglusterfs/src/monitoring.c | 2 | ||||
-rw-r--r-- | libglusterfs/src/statedump.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/libglusterfs/src/monitoring.c b/libglusterfs/src/monitoring.c index 6d9bfb14937..45e3d776903 100644 --- a/libglusterfs/src/monitoring.c +++ b/libglusterfs/src/monitoring.c @@ -230,6 +230,8 @@ gf_monitor_metrics(glusterfs_ctx_t *ctx) int fd = 0; char *filepath = NULL, *dumppath = NULL; + gf_msg_trace("monitoring", 0, "received monitoring request (sig:USR2)"); + dumppath = ctx->config.metrics_dumppath; if (dumppath == NULL) { dumppath = GLUSTER_METRICS_DIR; diff --git a/libglusterfs/src/statedump.c b/libglusterfs/src/statedump.c index 0cf80c0f87c..04a7e18ef3b 100644 --- a/libglusterfs/src/statedump.c +++ b/libglusterfs/src/statedump.c @@ -805,6 +805,8 @@ gf_proc_dump_info(int signum, glusterfs_ctx_t *ctx) int brick_count = 0; int len = 0; + gf_msg_trace("dump", 0, "received statedump request (sig:USR1)"); + gf_proc_dump_lock(); if (!ctx) |