Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hutchinson <mhutchinson@novell.com>2010-02-09 02:20:19 +0300
committerMichael Hutchinson <mhutchinson@novell.com>2010-02-09 02:20:19 +0300
commitd93b356094588726d1160853b45519128e068df7 (patch)
tree1bdba49aecdb7de8ee404aa6eca52e8ad5ffbbe1 /main/Makefile.am
parent2b869cb3c86cb74d092b6c12df598838a901367d (diff)
* Makefile.am: Add trace targets.
svn path=/trunk/monodevelop/; revision=151067
Diffstat (limited to 'main/Makefile.am')
-rw-r--r--main/Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/Makefile.am b/main/Makefile.am
index 3162292b53..d2efbcbb1e 100644
--- a/main/Makefile.am
+++ b/main/Makefile.am
@@ -123,6 +123,13 @@ run-profile: $(PROGRAM)
run-profile-stat: $(PROGRAM)
$(MD_LAUNCH) --profile=logging:stat $(MD_BIN_PATH)/MonoDevelop.exe
+run-trace: $(PROGRAM)
+ $(MD_LAUNCH_SETUP) MONODEVELOP_TRACE=1 exec strace -ttt -f -o md.strace mono $(MD_BIN_PATH)/MonoDevelop.exe
+
+plot-trace:
+ if [ ! -e 'plot-timeline.py' ]; then wget http://gitorious.org/performance-scripts/mainline/blobs/raw/master/plot-timeline.py; fi
+ python plot-timeline.py -o md-trace.png md.strace
+
run-profile-heap: $(PROGRAM)
$(MD_LAUNCH) -O=inline --profile=heap:heaplog $(MD_BIN_PATH)/MonoDevelop.exe