9 -#include <valgrind/valgrind.h>
11 /* -1 indicates that we haven't checked that we're running on valgrind yet. */
12 static int running_on_valgrind = -1;
16 if (UNLIKELY(running_on_valgrind == -1)) {
17 - running_on_valgrind = RUNNING_ON_VALGRIND;
18 + running_on_valgrind = 1;
20 if (UNLIKELY(running_on_valgrind)) {