]> git.ipfire.org Git - thirdparty/bird.git/blobdiff - proto/perf/perf.c
Perf: Prune the table after every loop to have clean state.
[thirdparty/bird.git] / proto / perf / perf.c
index 07210a14742e4cadf7e8acf240133eb77b654c2f..8412254a630490cc5bb6616c49a4d0a900a43f6e 100644 (file)
@@ -206,6 +206,7 @@ perf_loop(void *data)
     p->exp++;
   }
 
+  rt_schedule_prune(P->main_channel->table);
   ev_schedule(p->loop);
 }