perf-trace.txt (cf40a76e7d5874bb25f4404eecc58a2e033af885) | perf-trace.txt (591421e151ddf95e43d690a5c9b291d8e1cb8065) |
---|---|
1perf-trace(1) 2============= 3 4NAME 5---- 6perf-trace - strace inspired tool 7 8SYNOPSIS --- 72 unchanged lines hidden (view full) --- 81 82-C:: 83--cpu:: 84Collect samples only on the list of CPUs provided. Multiple CPUs can be provided as a 85comma-separated list with no space: 0,1. Ranges of CPUs are specified with -: 0-2. 86In per-thread mode with inheritance mode on (default), Events are captured only when 87the thread executes on the designated CPUs. Default is to monitor all CPUs. 88 | 1perf-trace(1) 2============= 3 4NAME 5---- 6perf-trace - strace inspired tool 7 8SYNOPSIS --- 72 unchanged lines hidden (view full) --- 81 82-C:: 83--cpu:: 84Collect samples only on the list of CPUs provided. Multiple CPUs can be provided as a 85comma-separated list with no space: 0,1. Ranges of CPUs are specified with -: 0-2. 86In per-thread mode with inheritance mode on (default), Events are captured only when 87the thread executes on the designated CPUs. Default is to monitor all CPUs. 88 |
89--duration: | 89--duration:: |
90 Show only events that had a duration greater than N.M ms. 91 | 90 Show only events that had a duration greater than N.M ms. 91 |
92--sched: | 92--sched:: |
93 Accrue thread runtime and provide a summary at the end of the session. 94 | 93 Accrue thread runtime and provide a summary at the end of the session. 94 |
95-i 96--input | 95-i:: 96--input:: |
97 Process events from a given perf data file. 98 | 97 Process events from a given perf data file. 98 |
99-T 100--time | 99-T:: 100--time:: |
101 Print full timestamp rather time relative to first sample. 102 103--comm:: 104 Show process COMM right beside its ID, on by default, disable with --no-comm. 105 106-s:: 107--summary:: 108 Show only a summary of syscalls by thread with min, max, and average times 109 (in msec) and relative stddev. 110 111-S:: 112--with-summary:: 113 Show all syscalls followed by a summary by thread with min, max, and 114 average times (in msec) and relative stddev. 115 116--tool_stats:: 117 Show tool stats such as number of times fd->pathname was discovered thru 118 hooking the open syscall return + vfs_getname or via reading /proc/pid/fd, etc. 119 | 101 Print full timestamp rather time relative to first sample. 102 103--comm:: 104 Show process COMM right beside its ID, on by default, disable with --no-comm. 105 106-s:: 107--summary:: 108 Show only a summary of syscalls by thread with min, max, and average times 109 (in msec) and relative stddev. 110 111-S:: 112--with-summary:: 113 Show all syscalls followed by a summary by thread with min, max, and 114 average times (in msec) and relative stddev. 115 116--tool_stats:: 117 Show tool stats such as number of times fd->pathname was discovered thru 118 hooking the open syscall return + vfs_getname or via reading /proc/pid/fd, etc. 119 |
120-f:: 121--force:: 122 Don't complain, do it. 123 |
|
120-F=[all|min|maj]:: 121--pf=[all|min|maj]:: 122 Trace pagefaults. Optionally, you can specify whether you want minor, 123 major or all pagefaults. Default value is maj. 124 125--syscalls:: 126 Trace system calls. This options is enabled by default, disable with 127 --no-syscalls. --- 26 unchanged lines hidden (view full) --- 154 155--min-stack:: 156 Set the stack depth limit when parsing the callchain, anything 157 below the specified depth will be ignored. Disabled by default. 158 159 Implies '--call-graph dwarf' when --call-graph not present on the 160 command line, on systems where DWARF unwinding was built in. 161 | 124-F=[all|min|maj]:: 125--pf=[all|min|maj]:: 126 Trace pagefaults. Optionally, you can specify whether you want minor, 127 major or all pagefaults. Default value is maj. 128 129--syscalls:: 130 Trace system calls. This options is enabled by default, disable with 131 --no-syscalls. --- 26 unchanged lines hidden (view full) --- 158 159--min-stack:: 160 Set the stack depth limit when parsing the callchain, anything 161 below the specified depth will be ignored. Disabled by default. 162 163 Implies '--call-graph dwarf' when --call-graph not present on the 164 command line, on systems where DWARF unwinding was built in. 165 |
166--print-sample:: 167 Print the PERF_RECORD_SAMPLE PERF_SAMPLE_ info for the 168 raw_syscalls:sys_{enter,exit} tracepoints, for debugging. 169 |
|
162--proc-map-timeout:: 163 When processing pre-existing threads /proc/XXX/mmap, it may take a long time, 164 because the file may be huge. A time out is needed in such cases. 165 This option sets the time out limit. The default value is 500 ms. 166 167PAGEFAULTS 168---------- 169 --- 38 unchanged lines hidden --- | 170--proc-map-timeout:: 171 When processing pre-existing threads /proc/XXX/mmap, it may take a long time, 172 because the file may be huge. A time out is needed in such cases. 173 This option sets the time out limit. The default value is 500 ms. 174 175PAGEFAULTS 176---------- 177 --- 38 unchanged lines hidden --- |