diff options
Diffstat (limited to 'vpp/stats/stats.c')
-rw-r--r-- | vpp/stats/stats.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vpp/stats/stats.c b/vpp/stats/stats.c index ee9a6a6d..c46e2d5a 100644 --- a/vpp/stats/stats.c +++ b/vpp/stats/stats.c @@ -88,6 +88,13 @@ dslock (stats_main_t * sm, int release_hint, int tag) } void +stats_dslock_with_hint (int hint, int tag) +{ + stats_main_t *sm = &stats_main; + dslock (sm, hint, tag); +} + +void dsunlock (stats_main_t * sm) { u32 thread_id; @@ -108,6 +115,13 @@ dsunlock (stats_main_t * sm) } } +void +stats_dsunlock (int hint, int tag) +{ + stats_main_t *sm = &stats_main; + dsunlock (sm); +} + static void do_simple_interface_counters (stats_main_t * sm) { |