diff options
author | 2017-09-06 20:23:24 +0100 | |
---|---|---|
committer | 2017-09-11 11:44:44 +0000 | |
commit | eb1ac1732f15f9a99edbeffeb94c525b9ff25c1d (patch) | |
tree | 3753d83d94c05904e3fcb64370e75661d0afa0bb /src/vpp | |
parent | a19e1054b58024891691eaebeb13700cdce57fea (diff) |
Recombine diags and minimum barrier open time changes (VPP-968)
Support logging to both syslog and elog
Also include DaveB is_mp_safe fix, which had been lost
Change-Id: If82f7969e2f43c63c3fed5b1a0c7434c90c1f380
Signed-off-by: Colin Tregenza Dancer <ctd@metaswitch.com>
Diffstat (limited to 'src/vpp')
-rw-r--r-- | src/vpp/vnet/main.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/vpp/vnet/main.c b/src/vpp/vnet/main.c index 76371dbe..b330f60f 100644 --- a/src/vpp/vnet/main.c +++ b/src/vpp/vnet/main.c @@ -294,6 +294,14 @@ os_exit (int code) exit (code); } +#ifdef BARRIER_TRACING +void +vl_msg_api_barrier_trace_context (const char *context) +{ + vlib_worker_threads[0].barrier_context = context; +} +#endif + void vl_msg_api_barrier_sync (void) { |