---
name: "opreport"
section: "1"
platform: "linux"
package: "oprofile"
version: "0.9.6-1.1+squeeze2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/opreport"
---

# opreport(1)

produce symbol or binary image summaries

## 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)](/oprofile/1.md) for how to write profile specifications.

## OPTIONS

- **--accumulated / -a**

  Accumulate sample and percentage counts in the symbol list.\

- **--debug-info / -g**

  Show source file and line for each symbol.\

- **--demangle / -D none\|smart\|normal**

  none: no demangling. normal: use default demangler (default) smart: use pattern-matching to make C++ symbol demangling more readable.\

- **--callgraph / -c**

  Show call graph information if available.\

- **--details / -d**

  Show per-instruction details for all selected symbols.\

- **--exclude-dependent / -x**

  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-symbols / -e \[symbols\]**

  Exclude all the symbols in the given comma-separated list.\

- **--global-percent / -%**

  Make all percentages relative to the whole profile.\

- **--help / -? / --usage**

  Show help message.\

- **--image-path / -p \[paths\]**

  Comma-separated list of additional paths to search for binaries. This is needed to find modules in kernels 2.6 and upwards.\

- **--root / -R \[path\]**

  A path to a filesystem to search for additional binaries.\

- **--include-symbols / -i \[symbols\]**

  Only include symbols in the given comma-separated list.\

- **--long-filenames / -f**

  Output full paths instead of basenames.\

- **--merge / -m \[lib,cpu,tid,tgid,unitmask,all\]**

  Merge any profiles separated in a --separate session.\

- **--no-header**

  Don't output a header detailing profiling parameters.\

- **--output-file / -o \[file\]**

  Output to the given file instead of stdout.\

- **--reverse-sort / -r**

  Reverse the sort from the default.\

- **--session-dir=***dir\_path*

  Use sample database out of directory dir\_path instead of the default location (/var/lib/oprofile).\

- **--show-address / -w**

  Show each symbol's VMA address.\

- **--sort / -s \[vma,sample,symbol,debug,image\]**

  Sort the list of symbols by, respectively, symbol address, number of samples, symbol name, debug filename and line number, binary image filename.\

- **--symbols / -l**

  List per-symbol information instead of a binary image summary.\

- **--threshold / -t \[percentage\]**

  Only output data for symbols that have more than the given percentage of total samples.\

- **--verbose / -V \[options\]**

  Give verbose debugging output.\

- **--version / -v**

  Show version.\

- **--xml / -X**

  Generate XML output.

## ENVIRONMENT

No special environment variables are recognised by opreport.

## FILES

- */var/lib/oprofile/samples/*

  The location of the generated sample files.

## VERSION

- This man page is current for oprofile-0.9.6.

  ## SEE ALSO

**/usr/share/doc/oprofile/,** **[oprofile(1)](/oprofile/1.md)**
