Performance analysis tool for many programming languages. It profiles the function executions of a program. More information: https://ftp.gnu.org/old-gnu/Manuals/gprof/html_mono/gprof.html.
a.out with gprof information and run it to get gmon.out:gcc {{[-p|-pg]}} {{program.c}} && ./a.out
a.out and gmon.out to obtain profile output:gprof
gprof {{path/to/binary}} {{path/to/gmon.out}}
gprof {{[-b|--brief]}}
gprof {{[-bz|--brief --display-unused-functions]}}