stats: fix per_worker vector rate heap 19/22119/2
authorOle Troan <ot@cisco.com>
Wed, 18 Sep 2019 11:13:16 +0000 (13:13 +0200)
committerOle Trøan <otroan@employees.org>
Wed, 18 Sep 2019 15:09:47 +0000 (15:09 +0000)
commita41b0b78a4341478ee6c8701f9ec642b5c2d1cdd
treeab53594a2243f141e8b434db184b08547b530d4c
parentb28349e891a5a6c69b9ee731bdee35405770519d
stats: fix per_worker vector rate heap

The per_worker counters were outside of the stats heap.
Also fixes the length of the per_vector counter.
A simple vector is two dimensional including a thread dimension.

Fixes: f89a6de8f0
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I370bf9cb033d264f42df2723e01b768dc270792b
src/vpp/stats/stat_segment.c