Add Callgrind as an Helper to run lttv
[lttv.git] / runlttv
diff --git a/runlttv b/runlttv
index a1be65facdf822fd871413cbe288a923240e1050..9ba5fd63a9ee38b01ba7795d1a0f08b42bbb13e3 100755 (executable)
--- a/runlttv
+++ b/runlttv
@@ -90,6 +90,8 @@ if [ "$HELPER" = "gdb" ]; then
        LD_LIBRARY_PATH=${BUILDPATH}/ltt/.libs gdb --args $LTTV_EXEC $LTTV_ARGS
 elif [ "$HELPER" = "valgrind" ]; then
        LD_LIBRARY_PATH=${BUILDPATH}/ltt/.libs G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind  --show-reachable=yes --leak-check=full --tool=memcheck --suppressions=debug/gtk.suppression --track-origins=yes --error-limit=no $LTTV_EXEC $LTTV_ARGS
+elif [ "$HELPER" = "callgrind" ]; then
+       LD_LIBRARY_PATH=${BUILDPATH}/ltt/.libs G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind --tool=callgrind $LTTV_EXEC $LTTV_ARGS
 elif [ "$HELPER" = "massif" ]; then
        LD_LIBRARY_PATH=${BUILDPATH}/ltt/.libs valgrind --tool=massif $LTTV_EXEC $LTTV_ARGS
 elif [ "$HELPER" = "strace" ]; then
This page took 0.023011 seconds and 4 git commands to generate.