X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=eta.c;h=3126f217d490ba27e05abe65394be285354f77a2;hp=0b795263325bbef5372cfb8a6760ed3b089da521;hb=4f37732a580d7983467ea1ba11f963da4e8cf06e;hpb=17031c6df30913608de1f66ca952ed75dd1324be diff --git a/eta.c b/eta.c index 0b795263..3126f217 100644 --- a/eta.c +++ b/eta.c @@ -4,6 +4,11 @@ #include #include #include +#ifdef CONFIG_VALGRIND_DEV +#include +#else +#define DRD_IGNORE_VAR(x) do { } while (0) +#endif #include "fio.h" #include "lib/pow2.h" @@ -668,6 +673,7 @@ void print_thread_status(void) void print_status_init(int thr_number) { + DRD_IGNORE_VAR(__run_str); __run_str[thr_number] = 'P'; update_condensed_str(__run_str, run_str); }