summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/statedump.c
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/statedump.c')
-rw-r--r--libglusterfs/src/statedump.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/libglusterfs/src/statedump.c b/libglusterfs/src/statedump.c
index f9e8a0c1ba4..134dbd4f8f5 100644
--- a/libglusterfs/src/statedump.c
+++ b/libglusterfs/src/statedump.c
@@ -965,3 +965,18 @@ gf_proc_dump_xlator_meminfo (xlator_t *this, strfd_t *strfd)
}
gf_proc_dump_unlock ();
}
+
+
+void
+gf_proc_dump_xlator_profile (xlator_t *this, strfd_t *strfd)
+{
+ gf_proc_dump_lock ();
+ {
+ gf_dump_strfd = strfd;
+
+ gf_proc_dump_latency_info (this);
+
+ gf_dump_strfd = NULL;
+ }
+ gf_proc_dump_unlock ();
+}