perf-sched.txt 1.5 KB

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