Path: blob/master/tools/perf/Documentation/perf-sched.txt
10821 views
perf-sched(1)1==============23NAME4----5perf-sched - Tool to trace/measure scheduler properties (latencies)67SYNOPSIS8--------9[verse]10'perf sched' {record|latency|map|replay|trace}1112DESCRIPTION13-----------14There are five variants of perf sched:1516'perf sched record <command>' to record the scheduling events17of an arbitrary workload.1819'perf sched latency' to report the per task scheduling latencies20and other scheduling properties of the workload.2122'perf sched trace' to see a detailed trace of the workload that23was recorded.2425'perf sched replay' to simulate the workload that was recorded26via perf sched record. (this is done by starting up mockup threads27that mimic the workload based on the events in the trace. These28threads can then replay the timings (CPU runtime and sleep patterns)29of the workload as it occurred when it was recorded - and can repeat30it a number of times, measuring its performance.)3132'perf sched map' to print a textual context-switching outline of33workload captured via perf sched record. Columns stand for34individual CPUs, and the two-letter shortcuts stand for tasks that35are running on a CPU. A '*' denotes the CPU that had the event, and36a dot signals an idle CPU.3738OPTIONS39-------40-i::41--input=<file>::42Input file name. (default: perf.data)4344-v::45--verbose::46Be more verbose. (show symbol address, etc)4748-D::49--dump-raw-trace=::50Display verbose dump of the sched data.5152SEE ALSO53--------54linkperf:perf-record[1]555657