August 1999
Intermediate to advanced
1000 pages
83h 9m
English
/usr/ccs/bin/gprof [-abcCDlsz] [-e function-name] [-E function-name] [-f function-name] [-F function-name] [image-file [profile-file...]] [-n number-of-functions]
gprof produces an execution profile of a program. The effect of called routines is incorporated in the profile of each caller. The profile data is taken from the call-graph profile file that is created by programs compiled with the -xpg option of cc(1), or by the -pg option with other compilers, or by setting the LD_PROFILE environment variable for shared objects. See ld.so.1(1). These compiler options also link in versions of the library routines that are compiled for profiling. The symbol table in the executable image ...
Read now
Unlock full access