blob: 495210a612c4d218170f696dcf5d93323f22a571 [file] [log] [blame]
perf-report - Read (created by perf record) and display the profile
'perf report' [-i <file> | --input=file]
This command displays the performance counter profile information recorded
via perf record.
Input file name. (default: unless stdin is a fifo)
Be more verbose. (show symbol address, etc)
Only consider symbols in these dsos. CSV that understands
file://filename entries.
Show the number of samples for each symbol
Show sample percentage for different cpu modes.
Show per-thread event counters
Only consider symbols in these comms. CSV that understands
file://filename entries.
Only consider these symbols. CSV that understands
file://filename entries.
Only show symbols that match (partially) with this filter.
Only display entries resolved to a symbol.
Sort by key(s): pid, comm, dso, symbol, parent, srcline.
regex filter to identify parent, see: '--sort parent'
Only display entries with parent-match.
Force each column width to the provided list, for large terminal
Use a special separator character and don't pad with spaces, replacing
all occurrences of this separator in symbol names (and other output)
with a '.' character, that thus it's the only non valid separator.
Dump raw trace in ASCII.
-g [type,min[,limit],order]::
Display call chains using type, min percent threshold, optional print
limit and order.
type can be either:
- flat: single column, linear exposure of call chains.
- graph: use a graph tree, displaying absolute overhead rates.
- fractal: like graph, but displays relative rates. Each branch of
the tree is considered as a new profiled object. +
order can be either:
- callee: callee based call graph.
- caller: inverted caller based call graph.
Default: fractal,0.5,callee.
alias for inverted caller based call graph.
Pretty printing style. key: normal, raw
--stdio:: Use the stdio interface.
--tui:: Use the TUI interface, that is integrated with annotate and allows
zooming into DSOs or threads, among other features. Use of --tui
requires a tty, if one is not present, as when piping to other
commands, the stdio interface is used.
--gtk:: Use the GTK2 interface.
vmlinux pathname
kallsyms pathname
Load module symbols. WARNING: This should only be used with -k and
a LIVE kernel.
Don't complain, do it.
Look for files with symbols relative to this directory.
--cpu:: Only report samples for the list of CPUs provided. Multiple CPUs can
be provided as a comma-separated list with no space: 0,1. Ranges of
CPUs are specified with -: 0-2. Default is to report samples on all
--disassembler-style=:: Set disassembler style for objdump.
Interleave source code with assembly code. Enabled by default,
disable with --no-source.
Show raw instruction encoding of assembly instructions.
--show-total-period:: Show a column with the sum of periods.
Display extended information about the file. This adds
information which may be very large and thus may clutter the display.
It currently includes: cpu and numa topology of the host system.
Use the addresses of sampled taken branches instead of the instruction
address to build the histograms. To generate meaningful output, the file must have been obtained using perf record -b or
perf record --branch-filter xxx where xxx is a branch filter option.
perf report is able to auto-detect whether a file contains
branch stacks and it will automatically switch to the branch view mode,
unless --no-branch-stack is used.
linkperf:perf-stat[1], linkperf:perf-annotate[1]