stats: add apis to delete simple/combined counters 33/28433/1
authorOle Troan <ot@cisco.com>
Tue, 21 Apr 2020 15:54:41 +0000 (17:54 +0200)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Tue, 18 Aug 2020 08:50:04 +0000 (08:50 +0000)
commit6a974ff25e7a0ea6ad65c3e1285fd3bd0a25c1de
tree559a5056b4d8dd93047d08c37a5ccfe354fa9558
parent16845adf79f2dcd2fc33147713fa5d4ae9c1beaa
stats: add apis to delete simple/combined counters

vlib_free_simple_counter()
vlib_free_combined_counter()

Frees the name and two dimensional vector from the stats segment.

Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: If1becf7d09520ba41a3d59e2df94958ecfcf6948
(cherry picked from commit a568a19b2956ed8b94b11c2ef041412473dc8442)
src/vlib/counter.c
src/vlib/counter.h
src/vlib/stat_weak_inlines.h
src/vpp/stats/stat_segment.c