misc: use right include for fctnl.h and poll.h
[vpp.git] / src / tools / perftool / cpeldump.c
index 9011bd0..1ccfd6a 100644 (file)
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
-#include <sys/fcntl.h>
 #include <sys/mman.h>
 #include <unistd.h>
 #include <ctype.h>
 #include <vppinfra/clib.h>
 #include <vppinfra/vec.h>
 #include <vppinfra/hash.h>
+#include <vppinfra/mem.h>
 #include <pwd.h>
 #include <stdarg.h>
 #include <time.h>
@@ -593,6 +593,8 @@ int main (int argc, char **argv)
     if (cpel_file == 0)
         goto usage;
 
+    clib_mem_init (0, ((uword)3<<30));
+
     cpel = mapfile(cpel_file);
     if (cpel == 0) {
         fprintf(stderr, "Couldn't map %s...\n", cpel_file);