Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Ignore leaks that are not ours
[simgrid.git] / tools / simgrid.supp
index bcd0880..f6451d2 100644 (file)
    Memcheck:Leak
    match-leak-kinds:reachable
    fun:malloc
-   obj:/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
+   obj:/usr/lib/*/libstdc++.so.*
    fun:call_init.part.0
+   ...
    fun:_dl_init
 }
 
+# SG3.13 : We will remove NetCards soon, so ignore these ones 
+{
+   Memory leak in Netcards
+   Memcheck:Leak
+   match-leak-kinds: definite
+   ...
+   fun:sg_platf_new_router
+   fun:STag_surfxml_router
+   fun:surf_parse_lex
+   ...
+   fun:parse_platform_file
+   fun:SIMIX_create_environment
+   fun:smpi_main
+   fun:main
+}
+
+{
+   Memory leak in Netcards
+   Memcheck:Leak
+   match-leak-kinds: indirect
+   fun:malloc
+   fun:strdup
+   fun:xbt_strdup
+   ...
+   fun:sg_platf_new_router
+   fun:STag_surfxml_router
+   fun:surf_parse_lex
+   ...
+   fun:parse_platform_file
+   fun:SIMIX_create_environment
+   fun:smpi_main
+   fun:main
+}
+
+#Ignore leaks in SMPI sample codes
+{
+   Leaks in SMPI sample codes
+   Memcheck:Leak
+   match-leak-kinds: all
+   fun:malloc
+   fun:smpi_simulated_main_
+}
+
 # Memory leaks appearing to be in libcgraph.  They can be seen with the
 # following simple program:
 # ,----