[banshee] Add run-profile-heap target



commit 5515f00176f8bd30ec71824291d4563dc157e2c9
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Thu Feb 11 18:20:45 2010 -0800

    Add run-profile-heap target

 Makefile.am |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 3299c4e..345cd2f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -71,6 +71,9 @@ run-trace: $(MO_FILES)
 		--trace=$$(find . -name "*dll" | sed 's/\.\///' | sed 's/\.dll//' | sed 's/Mono.Data.Sqlite//' | sort | tr "\n" , | sed 's/,$$//') \
 		Nereid.exe --uninstalled $(BANSHEE_DEV_OPTIONS) > ../banshee.trace)
 
+run-profile-heap: $(MO_FILES)
+	(cd bin; $(MONO) --profile=logging:heap=all,gc-dumps=-1 --debug $(BANSHEE_DEV_MONO_OPTIONS) Nereid.exe --debug --uninstalled $(BANSHEE_DEV_OPTIONS))
+
 gdb:
 	@pushd bin; \
 	gdb mono --eval-command="handle SIGXCPU SIG35 SIGPWR nostop noprint" --eval-command="b g_return_if_fail_warning" --eval-command="r --debug Nereid.exe --debug --uninstalled"; \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]