From fc659e711520630d7f1f1ece3d72ffb398d5cef6 Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Fri, 29 Jan 2016 11:00:00 -0500 Subject: Rationalize metric names. Change-Id: I3144e58f635ef94224387e8729bf8db6aa77a106 Signed-off-by: Dave Barach --- vpp/api/gmon.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'vpp/api') diff --git a/vpp/api/gmon.c b/vpp/api/gmon.c index e256e83b..7d12d64c 100644 --- a/vpp/api/gmon.c +++ b/vpp/api/gmon.c @@ -116,18 +116,18 @@ gmon_init (vlib_main_t *vm) /* Find or create, set to zero */ vec_add1 (v, 0.0); svmdb_local_set_vec_variable(gm->svmdb_client, - "vlib_vector_rate", + "vpp_vector_rate", (char *)v, sizeof (*v)); vec_free(v); vec_add1 (v, 0.0); svmdb_local_set_vec_variable(gm->svmdb_client, - "vnet_input_rate", + "vpp_input_rate", (char *)v, sizeof (*v)); vec_free(v); vec_add1 (swp, 0.0); svmdb_local_set_vec_variable(gm->svmdb_client, - "vpef_pid", + "vpp_pid", (char *)swp, sizeof (*swp)); vec_free(swp); @@ -135,15 +135,15 @@ gmon_init (vlib_main_t *vm) gm->vector_rate_ptr = svmdb_local_get_variable_reference (gm->svmdb_client, SVMDB_NAMESPACE_VEC, - "vlib_vector_rate"); + "vpp_vector_rate"); gm->input_rate_ptr = svmdb_local_get_variable_reference (gm->svmdb_client, SVMDB_NAMESPACE_VEC, - "vnet_input_rate"); + "vpp_input_rate"); gm->vpef_pid_ptr = svmdb_local_get_variable_reference (gm->svmdb_client, SVMDB_NAMESPACE_VEC, - "vpef_pid"); + "vpp_pid"); return 0; } -- cgit 1.2.3-korg