[ltt-dev] [PATCH 3/3] lttv: Add option for "massif" heap profiling tool
Benjamin Poirier
benjamin.poirier at polymtl.ca
Wed Aug 12 09:19:27 EDT 2009
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
More information about the lttng-dev
mailing list