summaryrefslogtreecommitdiffstats
path: root/src/tools/perftool/c2cpel.c
diff options
context:
space:
mode:
authorDave Barach <dbarach@wasa-ucs-12.linuxfoundation.org>2017-03-25 08:20:22 -0400
committerDave Barach <dbarach@cisco.com>2017-03-25 08:33:06 -0400
commitde9571f04a48bf109ea2807a374ac5e05f29c8c1 (patch)
tree3d17c9ae2eb9aae4c3a290fb8c4331d40f0b050e /src/tools/perftool/c2cpel.c
parent6abbc2884a0d2006f2b7cc1d9f5b74cefbb7ac78 (diff)
g2, c2cpel, and cpeldump: scale to 8M event log files
Change-Id: I7d7748c9c44132d033a9aff1687112ffcb44c460 Signed-off-by: Dave Barach <dbarach@cisco.com>
Diffstat (limited to 'src/tools/perftool/c2cpel.c')
-rw-r--r--src/tools/perftool/c2cpel.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/perftool/c2cpel.c b/src/tools/perftool/c2cpel.c
index 38e6fe52e55..379c2bc65f1 100644
--- a/src/tools/perftool/c2cpel.c
+++ b/src/tools/perftool/c2cpel.c
@@ -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>
@@ -197,6 +198,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]);