perf-report.txt 2.6 KB
Newer Older
I
Ingo Molnar 已提交
1
perf-report(1)
2
==============
I
Ingo Molnar 已提交
3 4 5

NAME
----
6
perf-report - Read perf.data (created by perf record) and display the profile
I
Ingo Molnar 已提交
7 8 9 10 11 12 13 14 15

SYNOPSIS
--------
[verse]
'perf report' [-i <file> | --input=file]

DESCRIPTION
-----------
This command displays the performance counter profile information recorded
I
Ingo Molnar 已提交
16
via perf record.
I
Ingo Molnar 已提交
17 18 19 20 21

OPTIONS
-------
-i::
--input=::
22
        Input file name. (default: perf.data)
23 24 25 26 27

-v::
--verbose::
        Be more verbose. (show symbol address, etc)

28 29 30 31
-d::
--dsos=::
	Only consider symbols in these dsos. CSV that understands
	file://filename entries.
32 33
-n::
--show-nr-samples::
34
	Show the number of samples for each symbol
35 36 37 38

--showcpuutilization::
        Show sample percentage for different cpu modes.

39 40
-T::
--threads::
41
	Show per-thread event counters
42 43 44 45
-C::
--comms=::
	Only consider symbols in these comms. CSV that understands
	file://filename entries.
46 47 48 49
-S::
--symbols=::
	Only consider these symbols. CSV that understands
	file://filename entries.
I
Ingo Molnar 已提交
50

51 52 53 54
-U::
--hide-unresolved::
        Only display entries resolved to a symbol.

55 56 57 58
-s::
--sort=::
	Sort by key(s): pid, comm, dso, symbol, parent.

59 60 61 62 63 64 65 66
-p::
--parent=<regex>::
        regex filter to identify parent, see: '--sort parent'

-x::
--exclude-other::
        Only display entries with parent-match.

67
-w::
68
--column-widths=<width[,width...]>::
69 70 71 72 73 74 75
	Force each column width to the provided list, for large terminal
	readability.

-t::
--field-separator=::

	Use a special separator character and don't pad with spaces, replacing
76
	all occurrences of this separator in symbol names (and other output)
77 78
	with a '.' character, that thus it's the only non valid separator.

79 80 81 82
-D::
--dump-raw-trace::
        Dump raw trace in ASCII.

83 84
-g [type,min]::
--call-graph::
85
        Display call chains using type and min percent threshold.
86
	type can be either:
87
	- flat: single column, linear exposure of call chains.
88 89 90 91 92
	- 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. +
	Default: fractal,0.5.

93 94 95
--pretty=<key>::
        Pretty printing style.  key: normal, raw

96 97 98 99 100 101 102
--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.

103 104 105 106 107 108 109 110 111 112 113 114 115
-k::
--vmlinux=<file>::
        vmlinux pathname

-m::
--modules::
        Load module symbols. WARNING: This should only be used with -k and
        a LIVE kernel.

-f::
--force::
        Don't complain, do it.

I
Ingo Molnar 已提交
116 117 118
SEE ALSO
--------
linkperf:perf-stat[1]