From 82b742533bdbf977ec95997fc0011a47a672bcc8 Mon Sep 17 00:00:00 2001 From: Maria Matějka Date: Fri, 26 Oct 2018 09:32:35 +0200 Subject: Perf: Protocol to measure BIRD performance internally This protocol is highly experimental and nobody should use it in production. Anyway it may help you getting some insight into what eats so much time in filter processing. --- nest/proto.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nest/proto.c') diff --git a/nest/proto.c b/nest/proto.c index de727dac..fadce6c7 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -1379,6 +1379,9 @@ protos_build(void) #ifdef CONFIG_RPKI proto_build(&proto_rpki); #endif +#ifdef CONFIG_PERF + proto_build(&proto_perf); +#endif proto_pool = rp_new(&root_pool, "Protocols"); proto_shutdown_timer = tm_new(proto_pool); -- cgit v1.2.3