Path: blob/master/tools/perf/Documentation/perf-report.txt
10821 views
perf-report(1)1==============23NAME4----5perf-report - Read perf.data (created by perf record) and display the profile67SYNOPSIS8--------9[verse]10'perf report' [-i <file> | --input=file]1112DESCRIPTION13-----------14This command displays the performance counter profile information recorded15via perf record.1617OPTIONS18-------19-i::20--input=::21Input file name. (default: perf.data)2223-v::24--verbose::25Be more verbose. (show symbol address, etc)2627-d::28--dsos=::29Only consider symbols in these dsos. CSV that understands30file://filename entries.31-n::32--show-nr-samples::33Show the number of samples for each symbol3435--showcpuutilization::36Show sample percentage for different cpu modes.3738-T::39--threads::40Show per-thread event counters41-C::42--comms=::43Only consider symbols in these comms. CSV that understands44file://filename entries.45-S::46--symbols=::47Only consider these symbols. CSV that understands48file://filename entries.4950-U::51--hide-unresolved::52Only display entries resolved to a symbol.5354-s::55--sort=::56Sort by key(s): pid, comm, dso, symbol, parent.5758-p::59--parent=<regex>::60regex filter to identify parent, see: '--sort parent'6162-x::63--exclude-other::64Only display entries with parent-match.6566-w::67--column-widths=<width[,width...]>::68Force each column width to the provided list, for large terminal69readability.7071-t::72--field-separator=::7374Use a special separator character and don't pad with spaces, replacing75all occurrences of this separator in symbol names (and other output)76with a '.' character, that thus it's the only non valid separator.7778-D::79--dump-raw-trace::80Dump raw trace in ASCII.8182-g [type,min]::83--call-graph::84Display call chains using type and min percent threshold.85type can be either:86- flat: single column, linear exposure of call chains.87- graph: use a graph tree, displaying absolute overhead rates.88- fractal: like graph, but displays relative rates. Each branch of89the tree is considered as a new profiled object. +90Default: fractal,0.5.9192--pretty=<key>::93Pretty printing style. key: normal, raw9495--stdio:: Use the stdio interface.9697--tui:: Use the TUI interface, that is integrated with annotate and allows98zooming into DSOs or threads, among other features. Use of --tui99requires a tty, if one is not present, as when piping to other100commands, the stdio interface is used.101102-k::103--vmlinux=<file>::104vmlinux pathname105106--kallsyms=<file>::107kallsyms pathname108109-m::110--modules::111Load module symbols. WARNING: This should only be used with -k and112a LIVE kernel.113114-f::115--force::116Don't complain, do it.117118--symfs=<directory>::119Look for files with symbols relative to this directory.120121SEE ALSO122--------123linkperf:perf-stat[1]124125126