diff options
author | Dave Barach <dave@barachs.net> | 2016-03-28 17:12:19 -0400 |
---|---|---|
committer | Dave Barach <dave@barachs.net> | 2016-03-28 17:12:36 -0400 |
commit | e5389bb05330a9bd2f24478f996adbcce532ded5 (patch) | |
tree | 09243972dbf1e63c3fa746a1fb86221759da719e /vppinfra | |
parent | fb6e59d839001b37bbb70e253627d5b1331ae918 (diff) |
event logger skeletons, improve debug CLI
Change-Id: Ieb2e4043fc7bc3b4a5436a7a6aa35f573d8d4506
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'vppinfra')
-rw-r--r-- | vppinfra/vppinfra/elog.c | 2 | ||||
-rw-r--r-- | vppinfra/vppinfra/elog.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/vppinfra/vppinfra/elog.c b/vppinfra/vppinfra/elog.c index 222c55fd63e..b748963933c 100644 --- a/vppinfra/vppinfra/elog.c +++ b/vppinfra/vppinfra/elog.c @@ -419,7 +419,7 @@ elog_nsec_per_clock (elog_main_t * em) &em->init_time)); } -static void elog_alloc (elog_main_t * em, u32 n_events) +void elog_alloc (elog_main_t * em, u32 n_events) { if (em->event_ring) vec_free (em->event_ring); diff --git a/vppinfra/vppinfra/elog.h b/vppinfra/vppinfra/elog.h index db84c95f7ca..afa677338e5 100644 --- a/vppinfra/vppinfra/elog.h +++ b/vppinfra/vppinfra/elog.h @@ -408,6 +408,7 @@ void serialize_elog_main (serialize_main_t * m, va_list * va); void unserialize_elog_main (serialize_main_t * m, va_list * va); void elog_init (elog_main_t * em, u32 n_events); +void elog_alloc (elog_main_t * em, u32 n_events); #ifdef CLIB_UNIX always_inline clib_error_t * |