diff options
author | 2016-05-13 12:55:01 -0400 | |
---|---|---|
committer | 2016-05-21 10:04:06 -0400 | |
commit | 6931f59e54c9643196c0edda20840e49e9eb1da1 (patch) | |
tree | edc1d340cedcc6aca6b4149fbf96f41e65d61661 /vlib-api/vlibapi/api.h | |
parent | 6f7b992f56955b9eee2f9bd6357e2119645e80f7 (diff) |
Add per-thread, per-node runtime stats serialization
Change-Id: Ic4009cdbac67b7cd53c88079439496b9d9dfaa35
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'vlib-api/vlibapi/api.h')
-rw-r--r-- | vlib-api/vlibapi/api.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vlib-api/vlibapi/api.h b/vlib-api/vlibapi/api.h index 1f45a057..fc2c30cf 100644 --- a/vlib-api/vlibapi/api.h +++ b/vlib-api/vlibapi/api.h @@ -216,7 +216,9 @@ void vl_msg_api_set_first_available_msg_id (u16 first_avail); u16 vl_msg_api_get_msg_ids (char * name, int n); /* node_serialize.c prototypes */ -u8 * vlib_node_serialize (vlib_node_main_t *nm, u8 * vector); +u8 * vlib_node_serialize (vlib_node_main_t *nm, u8 * vector, + u32 max_threads, int include_nexts, + int include_stats); vlib_node_t ** vlib_node_unserialize (u8 * vector); #define VLIB_API_INIT_FUNCTION(x) VLIB_DECLARE_INIT_FUNCTION(x,api_init) |