aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/Documentation
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/Documentation')
-rw-r--r--tools/perf/Documentation/Makefile79
-rw-r--r--tools/perf/Documentation/perf-buildid-cache.txt13
-rw-r--r--tools/perf/Documentation/perf-kvm.txt4
-rw-r--r--tools/perf/Documentation/perf-lock.txt2
-rw-r--r--tools/perf/Documentation/perf-record.txt25
-rw-r--r--tools/perf/Documentation/perf-report.txt16
-rw-r--r--tools/perf/Documentation/perf-stat.txt5
-rw-r--r--tools/perf/Documentation/perf-timechart.txt15
-rw-r--r--tools/perf/Documentation/perf-top.txt33
-rw-r--r--tools/perf/Documentation/perf-trace.txt31
10 files changed, 156 insertions, 67 deletions
diff --git a/tools/perf/Documentation/Makefile b/tools/perf/Documentation/Makefile
index 5a37a7c84e69..3ba1c0b09908 100644
--- a/tools/perf/Documentation/Makefile
+++ b/tools/perf/Documentation/Makefile
@@ -145,16 +145,17 @@ endif
145 145
146ifneq ($(findstring $(MAKEFLAGS),s),s) 146ifneq ($(findstring $(MAKEFLAGS),s),s)
147ifneq ($(V),1) 147ifneq ($(V),1)
148 QUIET_ASCIIDOC = @echo ' ' ASCIIDOC $@; 148 QUIET_ASCIIDOC = @echo ' ASCIIDOC '$@;
149 QUIET_XMLTO = @echo ' ' XMLTO $@; 149 QUIET_XMLTO = @echo ' XMLTO '$@;
150 QUIET_DB2TEXI = @echo ' ' DB2TEXI $@; 150 QUIET_DB2TEXI = @echo ' DB2TEXI '$@;
151 QUIET_MAKEINFO = @echo ' ' MAKEINFO $@; 151 QUIET_MAKEINFO = @echo ' MAKEINFO '$@;
152 QUIET_DBLATEX = @echo ' ' DBLATEX $@; 152 QUIET_DBLATEX = @echo ' DBLATEX '$@;
153 QUIET_XSLTPROC = @echo ' ' XSLTPROC $@; 153 QUIET_XSLTPROC = @echo ' XSLTPROC '$@;
154 QUIET_GEN = @echo ' ' GEN $@; 154 QUIET_GEN = @echo ' GEN '$@;
155 QUIET_STDERR = 2> /dev/null 155 QUIET_STDERR = 2> /dev/null
156 QUIET_SUBDIR0 = +@subdir= 156 QUIET_SUBDIR0 = +@subdir=
157 QUIET_SUBDIR1 = ;$(NO_SUBDIR) echo ' ' SUBDIR $$subdir; \ 157 QUIET_SUBDIR1 = ;$(NO_SUBDIR) \
158 echo ' SUBDIR ' $$subdir; \
158 $(MAKE) $(PRINT_DIR) -C $$subdir 159 $(MAKE) $(PRINT_DIR) -C $$subdir
159 export V 160 export V
160endif 161endif
@@ -183,47 +184,43 @@ ifdef missing_tools
183endif 184endif
184 185
185do-install-man: man 186do-install-man: man
186 $(INSTALL) -d -m 755 $(DESTDIR)$(man1dir) 187 $(call QUIET_INSTALL, Documentation-man) \
187# $(INSTALL) -d -m 755 $(DESTDIR)$(man5dir) 188 $(INSTALL) -d -m 755 $(DESTDIR)$(man1dir); \
188# $(INSTALL) -d -m 755 $(DESTDIR)$(man7dir) 189# $(INSTALL) -d -m 755 $(DESTDIR)$(man5dir); \
189 $(INSTALL) -m 644 $(DOC_MAN1) $(DESTDIR)$(man1dir) 190# $(INSTALL) -d -m 755 $(DESTDIR)$(man7dir); \
190# $(INSTALL) -m 644 $(DOC_MAN5) $(DESTDIR)$(man5dir) 191 $(INSTALL) -m 644 $(DOC_MAN1) $(DESTDIR)$(man1dir); \
191# $(INSTALL) -m 644 $(DOC_MAN7) $(DESTDIR)$(man7dir) 192# $(INSTALL) -m 644 $(DOC_MAN5) $(DESTDIR)$(man5dir); \
193# $(INSTALL) -m 644 $(DOC_MAN7) $(DESTDIR)$(man7dir)
192 194
193install-man: check-man-tools man 195install-man: check-man-tools man
194 196
195try-install-man:
196ifdef missing_tools 197ifdef missing_tools
197 $(warning Please install $(missing_tools) to have the man pages installed) 198 DO_INSTALL_MAN = $(warning Please install $(missing_tools) to have the man pages installed)
198else 199else
199 $(MAKE) do-install-man 200 DO_INSTALL_MAN = do-install-man
200endif 201endif
201 202
203try-install-man: $(DO_INSTALL_MAN)
204
202install-info: info 205install-info: info
203 $(INSTALL) -d -m 755 $(DESTDIR)$(infodir) 206 $(call QUIET_INSTALL, Documentation-info) \
204 $(INSTALL) -m 644 $(OUTPUT)perf.info $(OUTPUT)perfman.info $(DESTDIR)$(infodir) 207 $(INSTALL) -d -m 755 $(DESTDIR)$(infodir); \
208 $(INSTALL) -m 644 $(OUTPUT)perf.info $(OUTPUT)perfman.info $(DESTDIR)$(infodir); \
205 if test -r $(DESTDIR)$(infodir)/dir; then \ 209 if test -r $(DESTDIR)$(infodir)/dir; then \
206 $(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) perf.info ;\ 210 $(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) perf.info ;\
207 $(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) perfman.info ;\ 211 $(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) perfman.info ;\
208 else \ 212 else \
209 echo "No directory found in $(DESTDIR)$(infodir)" >&2 ; \ 213 echo "No directory found in $(DESTDIR)$(infodir)" >&2 ; \
210 fi 214 fi
211 215
212install-pdf: pdf 216install-pdf: pdf
213 $(INSTALL) -d -m 755 $(DESTDIR)$(pdfdir) 217 $(call QUIET_INSTALL, Documentation-pdf) \
214 $(INSTALL) -m 644 $(OUTPUT)user-manual.pdf $(DESTDIR)$(pdfdir) 218 $(INSTALL) -d -m 755 $(DESTDIR)$(pdfdir); \
219 $(INSTALL) -m 644 $(OUTPUT)user-manual.pdf $(DESTDIR)$(pdfdir)
215 220
216#install-html: html 221#install-html: html
217# '$(SHELL_PATH_SQ)' ./install-webdoc.sh $(DESTDIR)$(htmldir) 222# '$(SHELL_PATH_SQ)' ./install-webdoc.sh $(DESTDIR)$(htmldir)
218 223
219ifneq ($(MAKECMDGOALS),clean)
220ifneq ($(MAKECMDGOALS),tags)
221$(OUTPUT)PERF-VERSION-FILE: .FORCE-PERF-VERSION-FILE
222 $(QUIET_SUBDIR0)../ $(QUIET_SUBDIR1) $(OUTPUT)PERF-VERSION-FILE
223
224-include $(OUTPUT)PERF-VERSION-FILE
225endif
226endif
227 224
228# 225#
229# Determine "include::" file references in asciidoc files. 226# Determine "include::" file references in asciidoc files.
@@ -253,15 +250,17 @@ $(OUTPUT)cmd-list.made: cmd-list.perl ../command-list.txt $(MAN1_TXT)
253 $(PERL_PATH) ./cmd-list.perl ../command-list.txt $(QUIET_STDERR) && \ 250 $(PERL_PATH) ./cmd-list.perl ../command-list.txt $(QUIET_STDERR) && \
254 date >$@ 251 date >$@
255 252
253CLEAN_FILES = \
254 $(MAN_XML) $(addsuffix +,$(MAN_XML)) \
255 $(MAN_HTML) $(addsuffix +,$(MAN_HTML)) \
256 $(DOC_HTML) $(DOC_MAN1) $(DOC_MAN5) $(DOC_MAN7) \
257 $(OUTPUT)*.texi $(OUTPUT)*.texi+ $(OUTPUT)*.texi++ \
258 $(OUTPUT)perf.info $(OUTPUT)perfman.info \
259 $(OUTPUT)howto-index.txt $(OUTPUT)howto/*.html $(OUTPUT)doc.dep \
260 $(OUTPUT)technical/api-*.html $(OUTPUT)technical/api-index.txt \
261 $(cmds_txt) $(OUTPUT)*.made
256clean: 262clean:
257 $(RM) $(MAN_XML) $(addsuffix +,$(MAN_XML)) 263 $(call QUIET_CLEAN, Documentation) $(RM) $(CLEAN_FILES)
258 $(RM) $(MAN_HTML) $(addsuffix +,$(MAN_HTML))
259 $(RM) $(DOC_HTML) $(DOC_MAN1) $(DOC_MAN5) $(DOC_MAN7)
260 $(RM) $(OUTPUT)*.texi $(OUTPUT)*.texi+ $(OUTPUT)*.texi++
261 $(RM) $(OUTPUT)perf.info $(OUTPUT)perfman.info
262 $(RM) $(OUTPUT)howto-index.txt $(OUTPUT)howto/*.html $(OUTPUT)doc.dep
263 $(RM) $(OUTPUT)technical/api-*.html $(OUTPUT)technical/api-index.txt
264 $(RM) $(cmds_txt) $(OUTPUT)*.made
265 264
266$(MAN_HTML): $(OUTPUT)%.html : %.txt 265$(MAN_HTML): $(OUTPUT)%.html : %.txt
267 $(QUIET_ASCIIDOC)$(RM) $@+ $@ && \ 266 $(QUIET_ASCIIDOC)$(RM) $@+ $@ && \
@@ -342,5 +341,3 @@ $(patsubst %.txt,%.html,$(wildcard howto/*.txt)): %.html : %.txt
342 341
343#quick-install-html: 342#quick-install-html:
344# '$(SHELL_PATH_SQ)' ./install-doc-quick.sh $(HTML_REF) $(DESTDIR)$(htmldir) 343# '$(SHELL_PATH_SQ)' ./install-doc-quick.sh $(HTML_REF) $(DESTDIR)$(htmldir)
345
346.PHONY: .FORCE-PERF-VERSION-FILE
diff --git a/tools/perf/Documentation/perf-buildid-cache.txt b/tools/perf/Documentation/perf-buildid-cache.txt
index e9a8349a7172..fd77d81ea748 100644
--- a/tools/perf/Documentation/perf-buildid-cache.txt
+++ b/tools/perf/Documentation/perf-buildid-cache.txt
@@ -21,6 +21,19 @@ OPTIONS
21-a:: 21-a::
22--add=:: 22--add=::
23 Add specified file to the cache. 23 Add specified file to the cache.
24-k::
25--kcore::
26 Add specified kcore file to the cache. For the current host that is
27 /proc/kcore which requires root permissions to read. Be aware that
28 running 'perf buildid-cache' as root may update root's build-id cache
29 not the user's. Use the -v option to see where the file is created.
30 Note that the copied file contains only code sections not the whole core
31 image. Note also that files "kallsyms" and "modules" must also be in the
32 same directory and are also copied. All 3 files are created with read
33 permissions for root only. kcore will not be added if there is already a
34 kcore in the cache (with the same build-id) that has the same modules at
35 the same addresses. Use the -v option to see if a copy of kcore is
36 actually made.
24-r:: 37-r::
25--remove=:: 38--remove=::
26 Remove specified file from the cache. 39 Remove specified file from the cache.
diff --git a/tools/perf/Documentation/perf-kvm.txt b/tools/perf/Documentation/perf-kvm.txt
index ac84db2d2334..6a06cefe9642 100644
--- a/tools/perf/Documentation/perf-kvm.txt
+++ b/tools/perf/Documentation/perf-kvm.txt
@@ -109,7 +109,9 @@ STAT LIVE OPTIONS
109 109
110-m:: 110-m::
111--mmap-pages=:: 111--mmap-pages=::
112 Number of mmap data pages. Must be a power of two. 112 Number of mmap data pages (must be a power of two) or size
113 specification with appended unit character - B/K/M/G. The
114 size is rounded up to have nearest pages power of two value.
113 115
114-a:: 116-a::
115--all-cpus:: 117--all-cpus::
diff --git a/tools/perf/Documentation/perf-lock.txt b/tools/perf/Documentation/perf-lock.txt
index c7f5f55634ac..ab25be28c9dc 100644
--- a/tools/perf/Documentation/perf-lock.txt
+++ b/tools/perf/Documentation/perf-lock.txt
@@ -48,7 +48,7 @@ REPORT OPTIONS
48-k:: 48-k::
49--key=<value>:: 49--key=<value>::
50 Sorting key. Possible values: acquired (default), contended, 50 Sorting key. Possible values: acquired (default), contended,
51 wait_total, wait_max, wait_min. 51 avg_wait, wait_total, wait_max, wait_min.
52 52
53INFO OPTIONS 53INFO OPTIONS
54------------ 54------------
diff --git a/tools/perf/Documentation/perf-record.txt b/tools/perf/Documentation/perf-record.txt
index e297b74471b8..052f7c4dc00c 100644
--- a/tools/perf/Documentation/perf-record.txt
+++ b/tools/perf/Documentation/perf-record.txt
@@ -87,11 +87,25 @@ OPTIONS
87 87
88-m:: 88-m::
89--mmap-pages=:: 89--mmap-pages=::
90 Number of mmap data pages. Must be a power of two. 90 Number of mmap data pages (must be a power of two) or size
91 specification with appended unit character - B/K/M/G. The
92 size is rounded up to have nearest pages power of two value.
91 93
92-g:: 94-g::
95 Enables call-graph (stack chain/backtrace) recording.
96
93--call-graph:: 97--call-graph::
94 Do call-graph (stack chain/backtrace) recording. 98 Setup and enable call-graph (stack chain/backtrace) recording,
99 implies -g.
100
101 Allows specifying "fp" (frame pointer) or "dwarf"
102 (DWARF's CFI - Call Frame Information) as the method to collect
103 the information used to show the call graphs.
104
105 In some systems, where binaries are build with gcc
106 --fomit-frame-pointer, using the "fp" method will produce bogus
107 call graphs, using "dwarf", if available (perf tools linked to
108 the libunwind library) should be used instead.
95 109
96-q:: 110-q::
97--quiet:: 111--quiet::
@@ -166,6 +180,9 @@ following filters are defined:
166 - u: only when the branch target is at the user level 180 - u: only when the branch target is at the user level
167 - k: only when the branch target is in the kernel 181 - k: only when the branch target is in the kernel
168 - hv: only when the target is at the hypervisor level 182 - hv: only when the target is at the hypervisor level
183 - in_tx: only when the target is in a hardware transaction
184 - no_tx: only when the target is not in a hardware transaction
185 - abort_tx: only when the target is a hardware transaction abort
169 186
170+ 187+
171The option requires at least one branch type among any, any_call, any_ret, ind_call. 188The option requires at least one branch type among any, any_call, any_ret, ind_call.
@@ -176,12 +193,14 @@ is enabled for all the sampling events. The sampled branch type is the same for
176The various filters must be specified as a comma separated list: --branch-filter any_ret,u,k 193The various filters must be specified as a comma separated list: --branch-filter any_ret,u,k
177Note that this feature may not be available on all processors. 194Note that this feature may not be available on all processors.
178 195
179-W::
180--weight:: 196--weight::
181Enable weightened sampling. An additional weight is recorded per sample and can be 197Enable weightened sampling. An additional weight is recorded per sample and can be
182displayed with the weight and local_weight sort keys. This currently works for TSX 198displayed with the weight and local_weight sort keys. This currently works for TSX
183abort events and some memory events in precise mode on modern Intel CPUs. 199abort events and some memory events in precise mode on modern Intel CPUs.
184 200
201--transaction::
202Record transaction flags for transaction related events.
203
185SEE ALSO 204SEE ALSO
186-------- 205--------
187linkperf:perf-stat[1], linkperf:perf-list[1] 206linkperf:perf-stat[1], linkperf:perf-list[1]
diff --git a/tools/perf/Documentation/perf-report.txt b/tools/perf/Documentation/perf-report.txt
index 2b8097ee39d8..10a279871251 100644
--- a/tools/perf/Documentation/perf-report.txt
+++ b/tools/perf/Documentation/perf-report.txt
@@ -71,7 +71,11 @@ OPTIONS
71 entries are displayed as "[other]". 71 entries are displayed as "[other]".
72 - cpu: cpu number the task ran at the time of sample 72 - cpu: cpu number the task ran at the time of sample
73 - srcline: filename and line number executed at the time of sample. The 73 - srcline: filename and line number executed at the time of sample. The
74 DWARF debuggin info must be provided. 74 DWARF debugging info must be provided.
75 - weight: Event specific weight, e.g. memory latency or transaction
76 abort cost. This is the global weight.
77 - local_weight: Local weight version of the weight above.
78 - transaction: Transaction abort flags.
75 79
76 By default, comm, dso and symbol keys are used. 80 By default, comm, dso and symbol keys are used.
77 (i.e. --sort comm,dso,symbol) 81 (i.e. --sort comm,dso,symbol)
@@ -85,6 +89,8 @@ OPTIONS
85 - symbol_from: name of function branched from 89 - symbol_from: name of function branched from
86 - symbol_to: name of function branched to 90 - symbol_to: name of function branched to
87 - mispredict: "N" for predicted branch, "Y" for mispredicted branch 91 - mispredict: "N" for predicted branch, "Y" for mispredicted branch
92 - in_tx: branch in TSX transaction
93 - abort: TSX transaction abort.
88 94
89 And default sort keys are changed to comm, dso_from, symbol_from, dso_to 95 And default sort keys are changed to comm, dso_from, symbol_from, dso_to
90 and symbol_to, see '--branch-stack'. 96 and symbol_to, see '--branch-stack'.
@@ -135,6 +141,14 @@ OPTIONS
135 141
136 Default: fractal,0.5,callee,function. 142 Default: fractal,0.5,callee,function.
137 143
144--max-stack::
145 Set the stack depth limit when parsing the callchain, anything
146 beyond the specified depth will be ignored. This is a trade-off
147 between information loss and faster processing especially for
148 workloads that can have a very long callchain stack.
149
150 Default: 127
151
138-G:: 152-G::
139--inverted:: 153--inverted::
140 alias for inverted caller based call graph. 154 alias for inverted caller based call graph.
diff --git a/tools/perf/Documentation/perf-stat.txt b/tools/perf/Documentation/perf-stat.txt
index 73c9759005a3..80c7da6732f2 100644
--- a/tools/perf/Documentation/perf-stat.txt
+++ b/tools/perf/Documentation/perf-stat.txt
@@ -137,6 +137,11 @@ core number and the number of online logical processors on that physical process
137After starting the program, wait msecs before measuring. This is useful to 137After starting the program, wait msecs before measuring. This is useful to
138filter out the startup phase of the program, which is often very different. 138filter out the startup phase of the program, which is often very different.
139 139
140-T::
141--transaction::
142
143Print statistics of transactional execution if supported.
144
140EXAMPLES 145EXAMPLES
141-------- 146--------
142 147
diff --git a/tools/perf/Documentation/perf-timechart.txt b/tools/perf/Documentation/perf-timechart.txt
index 1632b0efc757..3ff8bd4f0b4d 100644
--- a/tools/perf/Documentation/perf-timechart.txt
+++ b/tools/perf/Documentation/perf-timechart.txt
@@ -8,7 +8,8 @@ perf-timechart - Tool to visualize total system behavior during a workload
8SYNOPSIS 8SYNOPSIS
9-------- 9--------
10[verse] 10[verse]
11'perf timechart' {record} 11'perf timechart' record <command>
12'perf timechart' [<options>]
12 13
13DESCRIPTION 14DESCRIPTION
14----------- 15-----------
@@ -41,6 +42,18 @@ OPTIONS
41--symfs=<directory>:: 42--symfs=<directory>::
42 Look for files with symbols relative to this directory. 43 Look for files with symbols relative to this directory.
43 44
45EXAMPLES
46--------
47
48$ perf timechart record git pull
49
50 [ perf record: Woken up 13 times to write data ]
51 [ perf record: Captured and wrote 4.253 MB perf.data (~185801 samples) ]
52
53$ perf timechart
54
55 Written 10.2 seconds of trace to output.svg.
56
44SEE ALSO 57SEE ALSO
45-------- 58--------
46linkperf:perf-record[1] 59linkperf:perf-record[1]
diff --git a/tools/perf/Documentation/perf-top.txt b/tools/perf/Documentation/perf-top.txt
index 58d6598a9686..7de01dd79688 100644
--- a/tools/perf/Documentation/perf-top.txt
+++ b/tools/perf/Documentation/perf-top.txt
@@ -68,7 +68,9 @@ Default is to monitor all CPUS.
68 68
69-m <pages>:: 69-m <pages>::
70--mmap-pages=<pages>:: 70--mmap-pages=<pages>::
71 Number of mmapped data pages. 71 Number of mmap data pages (must be a power of two) or size
72 specification with appended unit character - B/K/M/G. The
73 size is rounded up to have nearest pages power of two value.
72 74
73-p <pid>:: 75-p <pid>::
74--pid=<pid>:: 76--pid=<pid>::
@@ -112,7 +114,8 @@ Default is to monitor all CPUS.
112 114
113-s:: 115-s::
114--sort:: 116--sort::
115 Sort by key(s): pid, comm, dso, symbol, parent, srcline, weight, local_weight. 117 Sort by key(s): pid, comm, dso, symbol, parent, srcline, weight,
118 local_weight, abort, in_tx, transaction
116 119
117-n:: 120-n::
118--show-nr-samples:: 121--show-nr-samples::
@@ -140,20 +143,20 @@ Default is to monitor all CPUS.
140--asm-raw:: 143--asm-raw::
141 Show raw instruction encoding of assembly instructions. 144 Show raw instruction encoding of assembly instructions.
142 145
143-G [type,min,order]:: 146-G::
147 Enables call-graph (stack chain/backtrace) recording.
148
144--call-graph:: 149--call-graph::
145 Display call chains using type, min percent threshold and order. 150 Setup and enable call-graph (stack chain/backtrace) recording,
146 type can be either: 151 implies -G.
147 - flat: single column, linear exposure of call chains. 152
148 - graph: use a graph tree, displaying absolute overhead rates. 153--max-stack::
149 - fractal: like graph, but displays relative rates. Each branch of 154 Set the stack depth limit when parsing the callchain, anything
150 the tree is considered as a new profiled object. 155 beyond the specified depth will be ignored. This is a trade-off
151 156 between information loss and faster processing especially for
152 order can be either: 157 workloads that can have a very long callchain stack.
153 - callee: callee based call graph. 158
154 - caller: inverted caller based call graph. 159 Default: 127
155
156 Default: fractal,0.5,callee.
157 160
158--ignore-callees=<regex>:: 161--ignore-callees=<regex>::
159 Ignore callees of the function(s) matching the given regex. 162 Ignore callees of the function(s) matching the given regex.
diff --git a/tools/perf/Documentation/perf-trace.txt b/tools/perf/Documentation/perf-trace.txt
index daccd2c0a48f..7b0497f95a75 100644
--- a/tools/perf/Documentation/perf-trace.txt
+++ b/tools/perf/Documentation/perf-trace.txt
@@ -9,6 +9,7 @@ SYNOPSIS
9-------- 9--------
10[verse] 10[verse]
11'perf trace' 11'perf trace'
12'perf trace record'
12 13
13DESCRIPTION 14DESCRIPTION
14----------- 15-----------
@@ -16,9 +17,14 @@ This command will show the events associated with the target, initially
16syscalls, but other system events like pagefaults, task lifetime events, 17syscalls, but other system events like pagefaults, task lifetime events,
17scheduling events, etc. 18scheduling events, etc.
18 19
19Initially this is a live mode only tool, but eventually will work with 20This is a live mode tool in addition to working with perf.data files like
20perf.data files like the other tools, allowing a detached 'record' from 21the other perf tools. Files can be generated using the 'perf record' command
21analysis phases. 22but the session needs to include the raw_syscalls events (-e 'raw_syscalls:*').
23Alernatively, the 'perf trace record' can be used as a shortcut to
24automatically include the raw_syscalls events when writing events to a file.
25
26The following options apply to perf trace; options to perf trace record are
27found in the perf record man page.
22 28
23OPTIONS 29OPTIONS
24------- 30-------
@@ -59,7 +65,9 @@ OPTIONS
59 65
60-m:: 66-m::
61--mmap-pages=:: 67--mmap-pages=::
62 Number of mmap data pages. Must be a power of two. 68 Number of mmap data pages (must be a power of two) or size
69 specification with appended unit character - B/K/M/G. The
70 size is rounded up to have nearest pages power of two value.
63 71
64-C:: 72-C::
65--cpu:: 73--cpu::
@@ -78,6 +86,21 @@ the thread executes on the designated CPUs. Default is to monitor all CPUs.
78--input 86--input
79 Process events from a given perf data file. 87 Process events from a given perf data file.
80 88
89-T
90--time
91 Print full timestamp rather time relative to first sample.
92
93--comm::
94 Show process COMM right beside its ID, on by default, disable with --no-comm.
95
96--summary::
97 Show a summary of syscalls by thread with min, max, and average times (in
98 msec) and relative stddev.
99
100--tool_stats::
101 Show tool stats such as number of times fd->pathname was discovered thru
102 hooking the open syscall return + vfs_getname or via reading /proc/pid/fd, etc.
103
81SEE ALSO 104SEE ALSO
82-------- 105--------
83linkperf:perf-record[1], linkperf:perf-script[1] 106linkperf:perf-record[1], linkperf:perf-script[1]