stats: fix per_worker vector rate heap 87/22387/2
authorOle Troan <[email protected]>
Wed, 18 Sep 2019 11:13:16 +0000 (13:13 +0200)
committerOle Trøan <[email protected]>
Mon, 30 Sep 2019 09:33:03 +0000 (09:33 +0000)
commitc90f4363aaf6e3fe5e7fa52272b65aca9c10d501
treeb9e19593e2c435a62662f873211482429f9027f2
parent2f77ee891911f6013997955e9f77d598aacd49ed
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 <[email protected]>
Change-Id: I370bf9cb033d264f42df2723e01b768dc270792b
(cherry picked from commit a41b0b78a4341478ee6c8701f9ec642b5c2d1cdd)
src/vpp/stats/stat_segment.c