diff options
Diffstat (limited to 'proto/perf/perf.c')
-rw-r--r-- | proto/perf/perf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/proto/perf/perf.c b/proto/perf/perf.c index 6741f7cb..8412254a 100644 --- a/proto/perf/perf.c +++ b/proto/perf/perf.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include <time.h> -#define PLOG(msg, ...) log(L_INFO "Perf %s " msg, p->p.name, ##__VA_ARGS__) +#define PLOG(msg, ...) log(L_INFO "Perf %s %s " msg, BIRD_VERSION, p->p.name, ##__VA_ARGS__) static inline void random_data(void *p, uint len) @@ -206,6 +206,7 @@ perf_loop(void *data) p->exp++; } + rt_schedule_prune(P->main_channel->table); ev_schedule(p->loop); } |