summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/statedump.h
diff options
context:
space:
mode:
authorAnand Avati <avati@redhat.com>2014-03-29 04:45:17 -0700
committerAnand Avati <avati@redhat.com>2014-05-05 17:27:37 -0700
commit9021be1fc1a9460438ce74dc5df091834a0bdae0 (patch)
treea8f98a22979035aec96c8868a690d974b0e18b9b /libglusterfs/src/statedump.h
parent3a35f975fceb89c5ae0e8e3e189545f6fceaf6e5 (diff)
statedump: strfd based APIs
Expose strfd based APIs for extracing various types of xlator state information. Change-Id: Ibbb6594b6fb31206bc6a1b1ea6514ed41889583b BUG: 1089216 Signed-off-by: Anand Avati <avati@redhat.com> Reviewed-on: http://review.gluster.org/7540 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Harshavardhana <harsha@harshavardhana.net>
Diffstat (limited to 'libglusterfs/src/statedump.h')
-rw-r--r--libglusterfs/src/statedump.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libglusterfs/src/statedump.h b/libglusterfs/src/statedump.h
index 8342b120ada..3251387e220 100644
--- a/libglusterfs/src/statedump.h
+++ b/libglusterfs/src/statedump.h
@@ -14,6 +14,7 @@
#include <stdarg.h>
#include "inode.h"
+#include "strfd.h"
#define GF_DUMP_MAX_BUF_LEN 4096
@@ -91,4 +92,13 @@ void gf_proc_dump_mem_info_to_dict (dict_t *dict);
void gf_proc_dump_mempool_info_to_dict (glusterfs_ctx_t *ctx, dict_t *dict);
void glusterd_init (int sig);
+
+void gf_proc_dump_xlator_private (xlator_t *this, strfd_t *strfd);
+
+void gf_proc_dump_mallinfo (strfd_t *strfd);
+
+void gf_proc_dump_xlator_history (xlator_t *this, strfd_t *strfd);
+
+void gf_proc_dump_xlator_meminfo (xlator_t *this, strfd_t *strfd);
+
#endif /* STATEDUMP_H */