API: Use string type instead of u8.
[vpp.git] / src / tools / perftool / c2cpel.c
index 38e6fe5..e68d0dc 100644 (file)
@@ -28,6 +28,7 @@
 #include <vppinfra/vec.h>
 #include <vppinfra/hash.h>
 #include <vppinfra/elog.h>
+#include <vppinfra/mem.h>
 #include <pwd.h>
 #include <stdarg.h>
 #include <time.h>
@@ -156,6 +157,8 @@ int main (int argc, char **argv)
     char *outputfile = 0;
     FILE *ofp;
 
+    clib_mem_init_thread_safe (0, 256 << 20);
+
     if (argc < 3)
         goto usage;
 
@@ -197,6 +200,8 @@ int main (int argc, char **argv)
     if (vec_len(inputfiles) > 1)
         goto usage;
 
+    clib_mem_init (0, ((uword)3<<30));
+
     cpel_util_init();
 
     convert_clib_file (inputfiles[0]);