diff options
author | Dave Barach <dave@barachs.net> | 2016-01-29 11:00:00 -0500 |
---|---|---|
committer | Dave Barach <dave@barachs.net> | 2016-01-29 11:00:13 -0500 |
commit | fc659e711520630d7f1f1ece3d72ffb398d5cef6 (patch) | |
tree | f3a2da826c47b460980e6e51b496caaa6eb6bdc8 /vpp/api/gmon.c | |
parent | ec21e13a13281066faee24ef962fa439c22528cb (diff) |
Rationalize metric names.
Change-Id: I3144e58f635ef94224387e8729bf8db6aa77a106
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'vpp/api/gmon.c')
-rw-r--r-- | vpp/api/gmon.c | 12 |
1 files changed, 6 insertions, 6 deletions
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; } |