0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 01:31:55 +00:00

Perf: Write also BIRD version to have all the needed data in the logfile

This commit is contained in:
Maria Matejka 2019-01-31 15:03:43 +01:00
parent c65a9a05f9
commit 7411b694c3

View File

@ -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)