From ad1e986d26a5c5a4a5b47b3126f5f1e902019cf5 Mon Sep 17 00:00:00 2001
From: Cedric Roux <cedric.roux@eurecom.fr>
Date: Thu, 12 Dec 2013 10:57:20 +0000
Subject: [PATCH] - Valgrind script to track memories leackages

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4688 818b1a75-f10b-46b9-bf7c-635c3b92a50f
---
 targets/SIMU/USER/valgrind.sh | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100755 targets/SIMU/USER/valgrind.sh

diff --git a/targets/SIMU/USER/valgrind.sh b/targets/SIMU/USER/valgrind.sh
new file mode 100755
index 0000000000..4cb856107f
--- /dev/null
+++ b/targets/SIMU/USER/valgrind.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+valgrind --tool=memcheck --leak-check=full --show-reachable=yes --num-callers=20 --track-origins=yes --track-fds=yes ./oaisim -b1 -u1 -F -n100 2>leakage
-- 
GitLab