diff options
author | Niels de Vos <ndevos@redhat.com> | 2017-02-21 14:35:52 +0100 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2017-04-25 23:10:38 +0000 |
commit | 0451909e0533d357a45dd427226028e095240dac (patch) | |
tree | e7acf924cc9819b66afbf069517e7cfe89a439c7 /configure.ac | |
parent | dba51428dc16762a9489249f6d9b2e64c0b8303e (diff) | |
download | glusterfs-0451909e0533d357a45dd427226028e095240dac.tar.gz glusterfs-0451909e0533d357a45dd427226028e095240dac.tar.xz glusterfs-0451909e0533d357a45dd427226028e095240dac.zip |
debug/sink: add xlator to aid in resource leak debugging
This new xlator does not allocate any resources on init(). This makes it
a good option to use for debugging xlator releated resources leaks on
fini().
By putting the sink xlator as single xlator in a .vol file, and loading
it through gfapi, we can investigate the resource leaks that are
happening through gfapi (and the Gluster core). By extending the .vol
file with additional xlators, it is possible to analyze resource leaks
of single xlators.
Change-Id: Idb5faa861b623dd5b2a988b181e669b0d52c2a0e
BUG: 1425623
Fixes: #176
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Reviewed-on: https://review.gluster.org/16806
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Smoke: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 86a8ec17bf..af3644f435 100644 --- a/configure.ac +++ b/configure.ac @@ -106,6 +106,8 @@ AC_CONFIG_FILES([Makefile xlators/performance/nl-cache/Makefile xlators/performance/nl-cache/src/Makefile xlators/debug/Makefile + xlators/debug/sink/Makefile + xlators/debug/sink/src/Makefile xlators/debug/trace/Makefile xlators/debug/trace/src/Makefile xlators/debug/error-gen/Makefile |