summaryrefslogtreecommitdiff
path: root/build/makegprof
blob: bfe6922d75e4a9705712acb536020ba31f3b0f00 (plain) (blame)
1
2
3
4
5
6
7
#!/bin/sh

mv ../run/gmon.out .
gprof ../run/bin/manaplus >gprof.txt
gprof --inline-file-names ../run/bin/manaplus >gprofi.txt
cat gprof.txt | gprof2dot.py >gprof.dot
cat gprof.dot | dot -Tpng -o gprof.png