Skip to content

Commit 1dee7b0

Browse files
committed
Run valgrind with fair scheduling when available
Closes #3914.
1 parent cc267ce commit 1dee7b0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mk/platform.mk

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ endif
4646
# see https://blog.mozilla.org/jseward/2012/06/05/valgrind-now-supports-jemalloc-builds-directly/
4747
ifdef CFG_VALGRIND
4848
CFG_VALGRIND += --error-exitcode=100 \
49-
--soname-synonyms=somalloc=NONE \
49+
--fair-sched=try \
5050
--quiet \
51+
--soname-synonyms=somalloc=NONE \
5152
--suppressions=$(CFG_SRC_DIR)src/etc/x86.supp \
5253
$(OS_SUPP)
5354
ifdef CFG_ENABLE_HELGRIND

0 commit comments

Comments
 (0)