Skip to content

Commit

Permalink
Run valgrind with fair scheduling when available
Browse files Browse the repository at this point in the history
Closes #3914.
  • Loading branch information
tamird committed Apr 17, 2015
1 parent cc267ce commit 1dee7b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mk/platform.mk
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ endif
# see https://blog.mozilla.org/jseward/2012/06/05/valgrind-now-supports-jemalloc-builds-directly/
ifdef CFG_VALGRIND
CFG_VALGRIND += --error-exitcode=100 \
--soname-synonyms=somalloc=NONE \
--fair-sched=try \
--quiet \
--soname-synonyms=somalloc=NONE \
--suppressions=$(CFG_SRC_DIR)src/etc/x86.supp \
$(OS_SUPP)
ifdef CFG_ENABLE_HELGRIND
Expand Down

0 comments on commit 1dee7b0

Please sign in to comment.