summaryrefslogtreecommitdiff
path: root/proto/perf/perf.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2019-01-31 15:03:43 +0100
committerMaria Matejka <mq@ucw.cz>2019-01-31 15:03:43 +0100
commit7411b694c3ca9db4947f577f826b622ff23e570d (patch)
treed7a663adb5acfde48d207ebbf5750fe2165c6b25 /proto/perf/perf.c
parentc65a9a05f9005d8b7369d07a3f0e99b2f205955b (diff)
Perf: Write also BIRD version to have all the needed data in the logfile
Diffstat (limited to 'proto/perf/perf.c')
-rw-r--r--proto/perf/perf.c2
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)