diff options
author | Maria Matejka <mq@ucw.cz> | 2019-01-31 15:03:43 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2019-01-31 15:03:43 +0100 |
commit | 7411b694c3ca9db4947f577f826b622ff23e570d (patch) | |
tree | d7a663adb5acfde48d207ebbf5750fe2165c6b25 | |
parent | c65a9a05f9005d8b7369d07a3f0e99b2f205955b (diff) |
Perf: Write also BIRD version to have all the needed data in the logfile
-rw-r--r-- | proto/perf/perf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/perf/perf.c b/proto/perf/perf.c index 6741f7cb..07210a14 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) |