summaryrefslogtreecommitdiffstats
path: root/src/tools/perftool/c2cpel.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2018-09-25 16:27:51 -0700
committerDamjan Marion <dmarion@me.com>2018-09-26 15:51:17 +0000
commit2ac7edeeaf01dc21d9b87e764b6147c035a87c58 (patch)
tree489e644aef564de39a2b208c65ac1478d160e1c6 /src/tools/perftool/c2cpel.c
parentfc91a17600cb0ba1ef5074338eb30875630940bf (diff)
perftool: fix c2cpel
Change-Id: I0f39477bbf88d490409fdcd5f58df55cfe2ec531 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/tools/perftool/c2cpel.c')
-rw-r--r--src/tools/perftool/c2cpel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/perftool/c2cpel.c b/src/tools/perftool/c2cpel.c
index 379c2bc65f1..e68d0dcaad2 100644
--- a/src/tools/perftool/c2cpel.c
+++ b/src/tools/perftool/c2cpel.c
@@ -157,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;