Opennet Firmware
olsrd2_remove_timer_warning.patch
gehe zur Dokumentation dieser Datei
1 Remove excessive warnings about timer scheduling.
2 
3 Index: on_firmware/routing/oonf-olsrd2/patches/101_remove_timer_warning.patch
4 --- /dev/null
5 +++ on_firmware/routing/oonf-olsrd2/patches/101_remove_timer_warning.patch
6 @@ -0,0 +1,11 @@
7 +--- a/src-plugins/subsystems/oonf_timer.c
8 ++++ b/src-plugins/subsystems/oonf_timer.c
9 +@@ -280,7 +280,7 @@
10 + os_clock_gettime64(&end_time);
11 +
12 + if (end_time - start_time > OONF_TIMER_SLICE) {
13 +- OONF_WARN(LOG_TIMER, "Timer %s scheduling took %" PRIu64 " ms", timer->class->name, end_time - start_time);
14 ++ OONF_DEBUG(LOG_TIMER, "Timer %s scheduling took %" PRIu64 " ms", timer->class->name, end_time - start_time);
15 + info->_stat_long++;
16 + }
17 +