Path: blob/master/tools/perf/Documentation/perf-annotate.txt
10821 views
perf-annotate(1)1================23NAME4----5perf-annotate - Read perf.data (created by perf record) and display annotated code67SYNOPSIS8--------9[verse]10'perf annotate' [-i <file> | --input=file] [symbol_name]1112DESCRIPTION13-----------14This command reads the input file and displays an annotated version of the15code. If the object file has debug symbols then the source code will be16displayed alongside assembly code.1718If there is no debug info in the object, then annotated assembly is displayed.1920OPTIONS21-------22-i::23--input=::24Input file name. (default: perf.data)2526-d::27--dsos=<dso[,dso...]>::28Only consider symbols in these dsos.29-s::30--symbol=<symbol>::31Symbol to annotate.3233-f::34--force::35Don't complain, do it.3637-v::38--verbose::39Be more verbose. (Show symbol address, etc)4041-D::42--dump-raw-trace::43Dump raw trace in ASCII.4445-k::46--vmlinux=<file>::47vmlinux pathname.4849-m::50--modules::51Load module symbols. WARNING: use only with -k and LIVE kernel.5253-l::54--print-line::55Print matching source lines (may be slow).5657-P::58--full-paths::59Don't shorten the displayed pathnames.6061--stdio:: Use the stdio interface.6263--tui:: Use the TUI interface Use of --tui requires a tty, if one is not64present, as when piping to other commands, the stdio interface is65used. This interfaces starts by centering on the line with more66samples, TAB/UNTAB cycles through the lines with more samples.6768SEE ALSO69--------70linkperf:perf-record[1], linkperf:perf-report[1]717273