[Libguestfs] [p2v PATCH 1/4] Add valgrind suppression file

Pino Toscano ptoscano at redhat.com
Thu Jul 11 16:01:07 UTC 2019


Extracted from the same file in libguestfs, this file contains only the
issues found when testing on Fedora 30.
---
 valgrind-suppressions | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 valgrind-suppressions

diff --git a/valgrind-suppressions b/valgrind-suppressions
new file mode 100644
index 0000000..1687c82
--- /dev/null
+++ b/valgrind-suppressions
@@ -0,0 +1,43 @@
+# virt-p2v
+# Copyright (C) 2009-2019 Red Hat Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+# Valgrind suppressions used when testing only.  There are no known
+# resource leaks in virt-p2v.  This file is only for leaks in
+# libraries that virt-p2v uses.
+
+# ld-*.so
+{
+   ld_leak
+   Memcheck:Leak
+   ...
+   fun:_dl_init
+}
+
+# Gtk
+{
+   glib_leak_1
+   Memcheck:Leak
+   ...
+   fun:g_type_register_static
+}
+
+{
+   glib_leak_2
+   Memcheck:Leak
+   ...
+   fun:g_type_class_ref
+}
-- 
2.21.0




More information about the Libguestfs mailing list