summaryrefslogtreecommitdiffstats
path: root/src/vlib/stats
diff options
context:
space:
mode:
Diffstat (limited to 'src/vlib/stats')
-rw-r--r--src/vlib/stats/provider_mem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vlib/stats/provider_mem.c b/src/vlib/stats/provider_mem.c
index 1f6d646011a..f3a3f5d3ed4 100644
--- a/src/vlib/stats/provider_mem.c
+++ b/src/vlib/stats/provider_mem.c
@@ -58,8 +58,8 @@ vlib_stats_register_mem_heap (clib_mem_heap_t *heap)
vlib_stats_validate (idx, 0, STAT_MEM_RELEASABLE);
/* Create symlink */
- vlib_stats_add_symlink (idx, STAT_MEM_TOTAL, "/mem/%s/used", heap->name);
- vlib_stats_add_symlink (idx, STAT_MEM_USED, "/mem/%s/total", heap->name);
+ vlib_stats_add_symlink (idx, STAT_MEM_USED, "/mem/%s/used", heap->name);
+ vlib_stats_add_symlink (idx, STAT_MEM_TOTAL, "/mem/%s/total", heap->name);
vlib_stats_add_symlink (idx, STAT_MEM_FREE, "/mem/%s/free", heap->name);
r.private_data = vec_len (memory_heaps_vec) - 1;