Browse Source

Ignore more types of hwloc leaks

Samuel Thibault 6 years ago
parent
commit
2c182886da
1 changed files with 38 additions and 0 deletions
  1. 38 0
      tools/dev/valgrind/hwloc.suppr

+ 38 - 0
tools/dev/valgrind/hwloc.suppr

@@ -41,6 +41,17 @@
    <insert_a_suppression_name_here>
    Memcheck:Leak
    match-leak-kinds: reachable
+   fun:malloc
+   ...
+   fun:tls_get_addr_tail
+   ...
+   fun:hwloc_backends_notify_new_object
+   ...
+}
+{
+   <insert_a_suppression_name_here>
+   Memcheck:Leak
+   match-leak-kinds: reachable
    fun:memalign
    fun:tls_get_addr_tail
    ...
@@ -77,6 +88,33 @@
 {
    <insert_a_suppression_name_here>
    Memcheck:Leak
+   match-leak-kinds: definite
+   fun:malloc
+   ...
+   fun:hwloc_topology_load
+   ...
+}
+{
+   <insert_a_suppression_name_here>
+   Memcheck:Leak
+   match-leak-kinds: definite
+   fun:calloc
+   ...
+   fun:hwloc_topology_load
+   ...
+}
+{
+   <insert_a_suppression_name_here>
+   Memcheck:Leak
+   match-leak-kinds: definite
+   fun:realloc
+   ...
+   fun:hwloc_topology_load
+   ...
+}
+{
+   <insert_a_suppression_name_here>
+   Memcheck:Leak
    match-leak-kinds: reachable
    fun:memalign
    fun:tls_get_addr_tail