perf-sched.txt 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. OPTIONS for 'perf sched map'
  42. ----------------------------
  43. --compact::
  44. Show only CPUs with activity. Helps visualizing on high core
  45. count systems.
  46. --cpus::
  47. Show just entries with activities for the given CPUs.
  48. --color-cpus::
  49. Highlight the given cpus.
  50. --color-pids::
  51. Highlight the given pids.
  52. SEE ALSO
  53. --------
  54. linkperf:perf-record[1]