Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [ltt-dev] [PATCH 3/3] lttv: Add option for "massif" heap profiling tool
@ 2009-08-12 13:19 Benjamin Poirier
  0 siblings, 0 replies; only message in thread
From: Benjamin Poirier @ 2009-08-12 13:19 UTC (permalink / raw)


Valgrind rules!

Signed-off-by: Benjamin Poirier <benjamin.poirier at polymtl.ca>
---
 runlttv |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/runlttv b/runlttv
index f64d91d..5b17940 100755
--- a/runlttv
+++ b/runlttv
@@ -56,6 +56,9 @@ if [ "$HELPER" = "gdb" ]; then
 elif [ "$HELPER" = "valgrind" ]; then
 	shift
 	LD_LIBRARY_PATH=ltt/.libs valgrind --track-origins=yes --show-reachable=yes --leak-check=full --error-limit=no $LTTV_EXEC $ARGS $TRACEFILE $@
+elif [ "$HELPER" = "massif" ]; then
+	shift
+	LD_LIBRARY_PATH=ltt/.libs valgrind --tool=massif $LTTV_EXEC $ARGS $TRACEFILE $@
 elif [ "$HELPER" = "strace" ]; then
 	shift
 	LD_LIBRARY_PATH=ltt/.libs strace $LTTV_EXEC $ARGS $TRACEFILE $@
-- 
1.6.3.3




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-12 13:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-12 13:19 [ltt-dev] [PATCH 3/3] lttv: Add option for "massif" heap profiling tool Benjamin Poirier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox