X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=eta.c;h=2d549ee9c8f4798154a1f3f9e515b6762cab0ebf;hb=8393ca93334319f066ce6abb44d0f4b4921abbe1;hp=0b795263325bbef5372cfb8a6760ed3b089da521;hpb=358ffaa6c37acb26e0f507934ba8a6f98f34ffee;p=fio.git diff --git a/eta.c b/eta.c index 0b795263..2d549ee9 100644 --- a/eta.c +++ b/eta.c @@ -2,8 +2,12 @@ * Status and ETA code */ #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 +672,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); }