return;
}
+ coverage_init();
+
inited = true;
gettimeofday(&now, NULL);
tick = false;
rusage.ru_nvcsw - last_rusage->ru_nvcsw,
rusage.ru_nivcsw - last_rusage->ru_nivcsw);
}
- coverage_log(VLL_WARN);
+
+ /* 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