diff options
Diffstat (limited to 'src/tools/perftool/cpeldump.c')
-rw-r--r-- | src/tools/perftool/cpeldump.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/perftool/cpeldump.c b/src/tools/perftool/cpeldump.c index 9011bd039ec..be0a70df24e 100644 --- a/src/tools/perftool/cpeldump.c +++ b/src/tools/perftool/cpeldump.c @@ -28,6 +28,7 @@ #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 +594,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); |