summaryrefslogtreecommitdiff
path: root/build/makegprof
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-10-17 22:07:24 +0300
committerAndrei Karas <akaras@inbox.ru>2011-10-17 22:07:24 +0300
commitd14bb7a27ee23cc83b3af1db2f1976eaaa55d78a (patch)
tree5f128768c66436eefd70632f02889607596609d4 /build/makegprof
parentf1e92aca00a4859047e83fab76220767b9a2f814 (diff)
parente93e6beb456d105987da3190c2a80847b6900081 (diff)
downloadplus-stripped1.1.10.16.tar.gz
plus-stripped1.1.10.16.tar.bz2
plus-stripped1.1.10.16.tar.xz
plus-stripped1.1.10.16.zip
Merge branch 'master' into strippedstripped1.1.10.16
Conflicts: data/fonts/mplus-1p-bold.ttf data/fonts/mplus-1p-regular.ttf
Diffstat (limited to 'build/makegprof')
-rwxr-xr-xbuild/makegprof6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/makegprof b/build/makegprof
new file mode 100755
index 000000000..d408bf0d3
--- /dev/null
+++ b/build/makegprof
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+mv ../run/gmon.out .
+gprof ../run/bin/manaplus >gprof.txt
+cat gprof.txt | gprof2dot.py >gprof.dot
+cat gprof.dot | dot -Tpng -o gprof.png