diff options
Diffstat (limited to 'src/vlib/threads.c')
-rw-r--r-- | src/vlib/threads.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vlib/threads.c b/src/vlib/threads.c index 7c796f5d0ea..499a626e470 100644 --- a/src/vlib/threads.c +++ b/src/vlib/threads.c @@ -654,6 +654,7 @@ start_workers (vlib_main_t * vm) u32 n_vlib_mains = tm->n_vlib_mains; u32 worker_thread_index; clib_mem_heap_t *main_heap = clib_mem_get_per_cpu_heap (); + vlib_stats_register_mem_heap (main_heap); vec_reset_length (vlib_worker_threads); |