aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp/stats/stat_segment.h
diff options
context:
space:
mode:
authorRay Kinsella <mdr@ashroe.eu>2021-09-07 13:44:23 +0100
committerOle Tr�an <otroan@employees.org>2021-09-09 16:07:19 +0000
commit296f4a3056af8a0faeaa02e879801c552bddbacf (patch)
treedb4c716c2884b507e3bb04ca88c2ee21c7ad3e61 /src/vpp/stats/stat_segment.h
parent0bb670eb661890b92a1e87895e63f46fd78db903 (diff)
stats: revert enable/disable segments polls
This reverts commit 034bd1067eddb700c6d2bc67974056fe00012310. Type: refactor Signed-off-by: Ray Kinsella <mdr@ashroe.eu> Change-Id: Icce6052d6cf9616f7eac3185b4c9aace234aa59f
Diffstat (limited to 'src/vpp/stats/stat_segment.h')
-rw-r--r--src/vpp/stats/stat_segment.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/vpp/stats/stat_segment.h b/src/vpp/stats/stat_segment.h
index 42c30071c28..2858003bb73 100644
--- a/src/vpp/stats/stat_segment.h
+++ b/src/vpp/stats/stat_segment.h
@@ -68,7 +68,6 @@ typedef struct {
u32 directory_index;
stat_segment_update_fn fn;
u32 caller_index;
- u8 enabled;
} stat_segment_gauges_pool_t;
typedef struct
@@ -109,10 +108,8 @@ stat_segment_register_state_counter(u8 *name, u32 *index);
clib_error_t *
stat_segment_deregister_state_counter(u32 index);
void stat_segment_set_state_counter (u32 index, u64 value);
-uword stat_segment_poll_add (u32 vector_index,
- stat_segment_update_fn update_fn,
- u32 caller_index, u32 interval, u8 enabled);
-void stat_segment_poll_state (uword index, u8 enabled);
+void stat_segment_poll_add (u32 vector_index, stat_segment_update_fn update_fn,
+ u32 caller_index, u32 interval);
counter_t **stat_validate_counter_vector3 (counter_t **counters, u32 max1,
u32 max2);