X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Ftimeval.c;h=3cca338fbac72d813a85dc83fe0ac705bd05fb75;hb=6bc995e;hp=4c34a1731852fc0219a3bb4b7c78541b9b88265c;hpb=b16fdafe572f4d91b480c2c84758c643a41376af;p=openvswitch diff --git a/lib/timeval.c b/lib/timeval.c index 4c34a173..3cca338f 100644 --- a/lib/timeval.c +++ b/lib/timeval.c @@ -294,7 +294,12 @@ log_poll_interval(long long int last_wakeup, const struct rusage *last_rusage) rusage.ru_nvcsw - last_rusage->ru_nvcsw, rusage.ru_nivcsw - last_rusage->ru_nivcsw); } - coverage_log(VLL_WARN, true); + + /* Care should be taken in the value chosen for logging. Depending + * on the configuration, syslog can write changes synchronously, + * which can cause the coverage messages to take longer to log + * than the processing delay that triggered it. */ + coverage_log(VLL_INFO, true); } /* Update exponentially weighted moving average. With these parameters, a