$ perf record <executable-file>
perf.data
$ perf report
gmon.out
$ gprof <executable-program> gmon.out