Scroll to navigation

OPREPORT(1) General Commands Manual OPREPORT(1)

NAME

opreport - produce symbol or binary image summaries

SYNOPSIS

opreport [ options ] [profile specification]

DESCRIPTION

opreport outputs binary image summaries, or per-symbol data, from OProfile profiling sessions. See oprofile(1) for how to write profile specifications.

OPTIONS

Accumulate sample and percentage counts in the symbol list.
Show source file and line for each symbol.
none: no demangling. normal: use default demangler (default) smart: use pattern-matching to make C++ symbol demangling more readable.
Show call graph information if available.
Show per-instruction details for all selected symbols.
Do not include application-specific images for libraries, kernel modules and the kernel. This option only makes sense if the profile session used --separate.
Exclude all the symbols in the given comma-separated list.
Make all percentages relative to the whole profile.
Show help message.
Comma-separated list of additional paths to search for binaries. This is needed to find modules in kernels 2.6 and upwards.
A path to a filesystem to search for additional binaries.
Only include symbols in the given comma-separated list.
Output full paths instead of basenames.
Merge any profiles separated in a --separate session.
Don't output a header detailing profiling parameters.
Output to the given file instead of stdout.
Reverse the sort from the default.
Use sample database from the specified directory dir_path instead of the default locations. If --session-dir is not specified, then opreport will search for samples in <current_dir>/oprofile_data first. If that directory does not exist, the standard session-dir of /var/lib/oprofile is used.
Show each symbol's VMA address.
Sort the list of symbols by, respectively, symbol address, number of samples, symbol name, debug filename and line number, binary image filename.
List per-symbol information instead of a binary image summary.
Usually, the total of all per-symbols samples for a given binary image equals the summary count for the binary image (shown by running opreport with no options). However, it's possible for some sample addresses to fall outside the range of any symbols for a given binary image. In such cases, the total number of per-symbols samples for the binary image may be less than the summary count for the image. Running opreport with the --verbose=debug option will display an informational message when this difference is detected. This difference is typically very small and can be ignored.
Only output data for symbols that have more than the given percentage of total samples.
Give verbose debugging output.
Show version.
Generate XML output.

ENVIRONMENT

No special environment variables are recognized by opreport.

FILES

<current_dir>/oprofile_data/samples

Or
/var/lib/oprofile/samples/

The location of the generated sample files.

VERSION

SEE ALSO

/usr/share/doc/oprofile/, oprofile(1)

Wed 31 October 2018 4th Berkeley Distribution