summaryrefslogtreecommitdiff
path: root/makegprof
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-01-02 01:48:38 +0200
committerAndrei Karas <akaras@inbox.ru>2011-01-02 02:41:24 +0200
commit3eeae12c498d1a4dbe969462d2ba841f77ee3ccb (patch)
treeff8eab35e732bc0749fc11677c8873a7b3a58704 /makegprof
downloadmv-3eeae12c498d1a4dbe969462d2ba841f77ee3ccb.tar.gz
mv-3eeae12c498d1a4dbe969462d2ba841f77ee3ccb.tar.bz2
mv-3eeae12c498d1a4dbe969462d2ba841f77ee3ccb.tar.xz
mv-3eeae12c498d1a4dbe969462d2ba841f77ee3ccb.zip
Initial commit.
This code based on mana client http://www.gitorious.org/mana/mana and my private repository.
Diffstat (limited to 'makegprof')
-rwxr-xr-xmakegprof5
1 files changed, 5 insertions, 0 deletions
diff --git a/makegprof b/makegprof
new file mode 100755
index 000000000..8cb63744c
--- /dev/null
+++ b/makegprof
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+mv run/gmon.out .
+gprof run/bin/manaplus >gprof.txt
+cat gprof.txt | gprof2dot.py | dot -Tpng -o gprof.png