discomfitor pushed a commit to branch master.
commit 2d5056755670d6280d039752dccf702d52e9240f
Author: Mike Blumenkrantz <[email protected]>
Date: Tue May 21 14:58:05 2013 +0100
set valgrind num-callers to 40 in e_start
---
src/bin/e_start_main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/bin/e_start_main.c b/src/bin/e_start_main.c
index 2c68526..17a1b4c 100644
--- a/src/bin/e_start_main.c
+++ b/src/bin/e_start_main.c
@@ -96,7 +96,7 @@ next:
}
/* maximum number of arguments added above */
-#define VALGRIND_MAX_ARGS 10
+#define VALGRIND_MAX_ARGS 11
/* bitmask with all supported bits set */
#define VALGRIND_MODE_ALL 15
@@ -119,6 +119,7 @@ valgrind_append(char **dst, int valgrind_gdbserver, int
valgrind_mode, int valgr
if (valgrind_gdbserver) dst[i++] = "--db-attach=yes";
if (!valgrind_mode) return 0;
dst[i++] = valgrind_path;
+ dst[i++] = "--num-callers=40";
dst[i++] = "--track-origins=yes";
dst[i++] = "--malloc-fill=13"; /* invalid pointer, make it crash */
if (valgrind_log)
--
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may