X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Ftimeval.c;h=3cca338fbac72d813a85dc83fe0ac705bd05fb75;hb=c0e5f6cabeeb8153144fead66c1f37a5014d9060;hp=4c34a1731852fc0219a3bb4b7c78541b9b88265c;hpb=f5c6854a73cb6242297e3aac02ccf2d6a22876b0;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