6 perf-record - Run a command and record its profile into perf.data
11 'perf record' [-e <EVENT> | --event=EVENT] [-l] [-a] <command>
12 'perf record' [-e <EVENT> | --event=EVENT] [-l] [-a] -- <command> [<options>]
16 This command runs a command and gathers a performance counter profile
17 from it, into perf.data - without displaying anything.
19 This file can then be inspected later on, using 'perf report'.
25 Any command you can specify in a shell.
29 Select the PMU event. Selection can be a symbolic event name
30 (use 'perf list' to list all events) or a raw PMU
31 event (eventsel+umask) in the form of rNNN where NNN is a
32 hexadecimal event descriptor.
35 System-wide collection.
42 Record events on existing pid.
46 Collect data with this RT SCHED_FIFO priority.
49 Append to the output file to do incremental profiling.
53 Overwrite existing data file.
57 Event period to sample.
65 Child tasks inherit counters.
68 Profile at this frequency.
72 Number of mmap data pages.
76 Do call-graph (stack chain/backtrace) recording.
80 Be more verbose (show counter open errors, etc).
96 linkperf:perf-stat[1], linkperf:perf-list[1]