Skip to content

Commit

Permalink
[build] separate memcheck and helgrind suppressions files
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  • Loading branch information
fabbione committed Aug 17, 2016
1 parent fc928ac commit ff80c90
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build-aux/check.mk
@@ -1,7 +1,7 @@
VALGRIND = valgrind -q --error-exitcode=127 --suppressions=$(abs_top_srcdir)/build-aux/knet_valgrind.supp
VALGRIND = valgrind -q --error-exitcode=127

MEMCHECK = $(VALGRIND) --track-fds=yes --leak-check=full
HELGRIND = $(VALGRIND) --tool=helgrind
MEMCHECK = $(VALGRIND) --track-fds=yes --leak-check=full --suppressions=$(abs_top_srcdir)/build-aux/knet_valgrind_memcheck.supp
HELGRIND = $(VALGRIND) --tool=helgrind --suppressions=$(abs_top_srcdir)/build-aux/knet_valgrind_helgrind.supp

check-memcheck: $(check_PROGRAMS)
$(MAKE) check LOG_COMPILE="libtool --mode=execute $(MEMCHECK)"
Expand Down
25 changes: 25 additions & 0 deletions build-aux/knet_valgrind_helgrind.supp
@@ -0,0 +1,25 @@
{
link enable/disable known race (safe to ignore)
Helgrind:Race
fun:_link_updown
fun:knet_link_set_enable
fun:test
fun:main
}
{
link enable/disable known race (safe to ignore)
Helgrind:Race
fun:_handle_heartbt_thread
obj:/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so
fun:start_thread
fun:clone
}
{
helgrind glitch in parsing the heartbeat code
Helgrind:Race
fun:_handle_check_each
fun:_handle_heartbt_thread
obj:/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so
fun:start_thread
fun:clone
}
Empty file.

0 comments on commit ff80c90

Please sign in to comment.