aboutsummaryrefslogtreecommitdiffstats
path: root/vlib-api/vlibapi/api.h
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2016-05-13 12:55:01 -0400
committerDave Barach <dave@barachs.net>2016-05-21 10:04:06 -0400
commit6931f59e54c9643196c0edda20840e49e9eb1da1 (patch)
treeedc1d340cedcc6aca6b4149fbf96f41e65d61661 /vlib-api/vlibapi/api.h
parent6f7b992f56955b9eee2f9bd6357e2119645e80f7 (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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/vlib-api/vlibapi/api.h b/vlib-api/vlibapi/api.h
index 1f45a05738c..fc2c30cfa0a 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)