CmdID

CmdID / Commands

sprof

Read and display shared object profiling data. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Read and display shared object profiling data. Note: Requires profile data generated via the $LD_PROFILE environment variable.

Generate a flat profile and call graph (default output)

sprof path/to/library.so path/to/library.so.profileIdentify

Generate a flat profile with counts and ticks

sprof --flat-profile path/to/library.so path/to/library.so.profileIdentify

Generate a call graph

sprof --graph path/to/library.so path/to/library.so.profileIdentify

Print call pairs and their usage counts

sprof --call-pairs path/to/library.so path/to/library.so.profileIdentify

Use profile data from current directory (auto-detected by soname)

sprof path/to/library.soIdentify