1PERF-SCHED(1) perf Manual PERF-SCHED(1)
2
3
4
6 perf-sched - Tool to trace/measure scheduler properties (latencies)
7
9 perf sched {record|latency|map|replay|script}
10
12 There are five variants of perf sched:
13
14 ´perf sched record <command>´ to record the scheduling events
15 of an arbitrary workload.
16
17 ´perf sched latency´ to report the per task scheduling latencies
18 and other scheduling properties of the workload.
19
20 ´perf sched script´ to see a detailed trace of the workload that
21 was recorded (aliased to ´perf script´ for now).
22
23 ´perf sched replay´ to simulate the workload that was recorded
24 via perf sched record. (this is done by starting up mockup threads
25 that mimic the workload based on the events in the trace. These
26 threads can then replay the timings (CPU runtime and sleep patterns)
27 of the workload as it occurred when it was recorded - and can repeat
28 it a number of times, measuring its performance.)
29
30 ´perf sched map´ to print a textual context-switching outline of
31 workload captured via perf sched record. Columns stand for
32 individual CPUs, and the two-letter shortcuts stand for tasks that
33 are running on a CPU. A ´*´ denotes the CPU that had the event, and
34 a dot signals an idle CPU.
35
37 -i, --input=<file>
38 Input file name. (default: perf.data unless stdin is a fifo)
39
40 -v, --verbose
41 Be more verbose. (show symbol address, etc)
42
43 -D, --dump-raw-trace=
44 Display verbose dump of the sched data.
45
47 perf-record(1)
48
49
50
51perf 06/18/2019 PERF-SCHED(1)