stats: enable/disable segments polls 73/32473/11
authorRay Kinsella <mdr@ashroe.eu>
Wed, 26 May 2021 14:41:59 +0000 (15:41 +0100)
committerOle Tr�an <otroan@employees.org>
Tue, 31 Aug 2021 12:14:01 +0000 (12:14 +0000)
commit034bd1067eddb700c6d2bc67974056fe00012310
treed68e57a5adc128b7c4c65ed373807969c559f5b9
parentc30157811e4c8e870d2680b08ecd3a38dff2d53b
stats: enable/disable segments polls

Add an enable/disable field to stats segments poll. The is used by the
perfmon plugin to only poll for stats on an active bundle.

Type: improvement

Signed-off-by: Ray Kinsella <mdr@ashroe.eu>
Change-Id: I6404a7db50d8e922afea5da8ec15fdabe3d97157
src/vpp/stats/stat_segment.c
src/vpp/stats/stat_segment.h
src/vpp/stats/stat_segment_provider.c