perf-record.txt 920 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. perf-record(1)
  2. ==============
  3. NAME
  4. ----
  5. perf-record - Run a command and record its profile into perf.data
  6. SYNOPSIS
  7. --------
  8. [verse]
  9. 'perf record' [-e <EVENT> | --event=EVENT] [-l] [-a] <command>
  10. 'perf record' [-e <EVENT> | --event=EVENT] [-l] [-a] -- <command> [<options>]
  11. DESCRIPTION
  12. -----------
  13. This command runs a command and gathers a performance counter profile
  14. from it, into perf.data - without displaying anything.
  15. This file can then be inspected later on, using 'perf report'.
  16. OPTIONS
  17. -------
  18. <command>...::
  19. Any command you can specify in a shell.
  20. -e::
  21. --event=::
  22. Select the PMU event. Selection can be a symbolic event name
  23. (use 'perf list' to list all events) or a raw PMU
  24. event (eventsel+umask) in the form of rNNN where NNN is a
  25. hexadecimal event descriptor.
  26. -a::
  27. system-wide collection
  28. -l::
  29. scale counter values
  30. SEE ALSO
  31. --------
  32. linkperf:perf-stat[1], linkperf:perf-list[1]