OS Manuals

/usr/bin/sprof

GLIBC tracing and profiling utilities

From glibc-2.43-tracing 2.43-r23 (os), captured 2026-11-07 by running sprof --help (exit 0). permalink

Usage: sprof [OPTION...] SHOBJ [PROFDATA]
Read and display shared object profiling data.

 Output selection:
  -c, --call-pairs           print list of count paths and their number of use
  -p, --flat-profile         generate flat profile with counts and ticks
  -q, --graph                generate call graph

  -?, --help                 Give this help list
      --usage                Give a short usage message
  -V, --version              Print program version

For bug reporting instructions, please see:
<https://www.gnu.org/software/libc/bugs.html>.
Options (6)
OptionDescriptionSource
-c, --call-pairsprint list of count paths and their number of usehelp
-p, --flat-profilegenerate flat profile with counts and tickshelp
-q, --graphgenerate call graphhelp
-?, --helpGive this help listhelp
--usageGive a short usage messagehelp
-V, --versionPrint program versionhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.