summaryrefslogtreecommitdiffstats
path: root/src/vlib/stat_weak_inlines.h
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2020-04-21 17:54:41 +0200
committerNeale Ranns <nranns@cisco.com>2020-04-28 09:39:47 +0000
commita568a19b2956ed8b94b11c2ef041412473dc8442 (patch)
treef67f766c42d24e784148cf298dcb3b583bc9ea78 /src/vlib/stat_weak_inlines.h
parentc0e9441e79b63ea09d5b282910d104960d45026d (diff)
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
Diffstat (limited to 'src/vlib/stat_weak_inlines.h')
-rw-r--r--src/vlib/stat_weak_inlines.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vlib/stat_weak_inlines.h b/src/vlib/stat_weak_inlines.h
index d288a04c477..a1311e864b3 100644
--- a/src/vlib/stat_weak_inlines.h
+++ b/src/vlib/stat_weak_inlines.h
@@ -57,5 +57,10 @@ void
vlib_stat_segment_unlock (void)
{
}
+void vlib_stats_delete_cm (void *) __attribute__ ((weak));
+void
+vlib_stats_delete_cm (void *notused)
+{
+}
#endif