From: Maria Matejka Date: Thu, 31 Jan 2019 14:03:43 +0000 (+0100) Subject: Perf: Write also BIRD version to have all the needed data in the logfile X-Git-Tag: v2.0.4~9^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7411b694c3ca9db4947f577f826b622ff23e570d;p=thirdparty%2Fbird.git Perf: Write also BIRD version to have all the needed data in the logfile --- diff --git a/proto/perf/perf.c b/proto/perf/perf.c index 6741f7cbf..07210a147 100644 --- a/proto/perf/perf.c +++ b/proto/perf/perf.c @@ -29,7 +29,7 @@ #include #include -#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)