diff options
author | Anand Avati <avati@redhat.com> | 2014-03-29 06:01:36 -0700 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2014-05-05 17:29:27 -0700 |
commit | f01626d5bad8eb0298897e90a124301008cdd0da (patch) | |
tree | 9afe279162d94fc900a09e8b5acf0440606e7d1e /libglusterfs/src/statedump.c | |
parent | 8160399a36eff62a49a066f16dea9140d877c5e8 (diff) |
meta: export process state dump
Various parts of process state dump are exposed
through most appropriate virual files/dirs
Change-Id: Iff30f8ea76552f2f6d9c98def688c5ec4bc6f2af
BUG: 1089216
Signed-off-by: Anand Avati <avati@redhat.com>
Reviewed-on: http://review.gluster.org/7542
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Harshavardhana <harsha@harshavardhana.net>
Diffstat (limited to 'libglusterfs/src/statedump.c')
-rw-r--r-- | libglusterfs/src/statedump.c | 15 |
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 (); +} |