perf-timechart.txt 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. perf-timechart(1)
  2. =================
  3. NAME
  4. ----
  5. perf-timechart - Tool to visualize total system behavior during a workload
  6. SYNOPSIS
  7. --------
  8. [verse]
  9. 'perf timechart' record <command>
  10. 'perf timechart' [<options>]
  11. DESCRIPTION
  12. -----------
  13. There are two variants of perf timechart:
  14. 'perf timechart record <command>' to record the system level events
  15. of an arbitrary workload.
  16. 'perf timechart' to turn a trace into a Scalable Vector Graphics file,
  17. that can be viewed with popular SVG viewers such as 'Inkscape'.
  18. OPTIONS
  19. -------
  20. -o::
  21. --output=::
  22. Select the output file (default: output.svg)
  23. -i::
  24. --input=::
  25. Select the input file (default: perf.data unless stdin is a fifo)
  26. -w::
  27. --width=::
  28. Select the width of the SVG file (default: 1000)
  29. -P::
  30. --power-only::
  31. Only output the CPU power section of the diagram
  32. -p::
  33. --process::
  34. Select the processes to display, by name or PID
  35. --symfs=<directory>::
  36. Look for files with symbols relative to this directory.
  37. EXAMPLES
  38. --------
  39. $ perf timechart record git pull
  40. [ perf record: Woken up 13 times to write data ]
  41. [ perf record: Captured and wrote 4.253 MB perf.data (~185801 samples) ]
  42. $ perf timechart
  43. Written 10.2 seconds of trace to output.svg.
  44. SEE ALSO
  45. --------
  46. linkperf:perf-record[1]