API: Adapt make test to Python API changes.
[vpp.git] / vpp / stats / stats.c
index ee9a6a6..c46e2d5 100644 (file)
@@ -87,6 +87,13 @@ dslock (stats_main_t * sm, int release_hint, int tag)
   l->count = 1;
 }
 
+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)
 {
@@ -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)
 {