From 9021be1fc1a9460438ce74dc5df091834a0bdae0 Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Sat, 29 Mar 2014 04:45:17 -0700 Subject: 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 Reviewed-on: http://review.gluster.org/7540 Tested-by: Gluster Build System Reviewed-by: Harshavardhana --- libglusterfs/src/statedump.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libglusterfs/src/statedump.h') 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 #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 */ -- cgit