X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvpp%2Fstats%2Fstats_to_be_deprecated.h;fp=src%2Fvpp%2Fstats%2Fstats.h;h=9259527661b5b68ab8b95e16d2b61076c1638743;hb=f94c63ea392a79b509a7b8263f5a9372a58786f9;hp=f21451d352bcdbfa9ad6633b5ff3669855f46936;hpb=09cce66888f622af285e92ae05f76462a5a6d3b5;p=vpp.git diff --git a/src/vpp/stats/stats.h b/src/vpp/stats/stats_to_be_deprecated.h similarity index 89% rename from src/vpp/stats/stats.h rename to src/vpp/stats/stats_to_be_deprecated.h index f21451d352b..9259527661b 100644 --- a/src/vpp/stats/stats.h +++ b/src/vpp/stats/stats_to_be_deprecated.h @@ -26,7 +26,6 @@ #include #include #include -#include typedef struct { @@ -156,20 +155,6 @@ typedef struct vpe_client_stats_registration_t **regs_tmp; vpe_client_registration_t **clients_tmp; - /* statistics segment */ - uword *directory_vector_by_name; - stat_segment_directory_entry_t *directory_vector; - clib_spinlock_t *stat_segment_lockp; - clib_socket_t *socket; - u8 *socket_name; - ssize_t memory_size; - u8 node_counters_enabled; - void *heap; - stat_segment_shared_header_t *shared_header; /* pointer to shared memory segment */ - int memfd; - - u64 last_input_packets; - /* convenience */ vlib_main_t *vlib_main; vnet_main_t *vnet_main; @@ -179,8 +164,6 @@ typedef struct extern stats_main_t stats_main; -void do_stat_segment_updates (stats_main_t * sm); - #endif /* __included_stats_h__ */ /*