353db1bb98abfb0a663dc24f4c81596c2f38b142
[deliverable/linux.git] / Documentation / perf_counter / Documentation / perf-record.txt
1 perf-record(1)
2 ==========
3
4 NAME
5 ----
6 perf-record - Run a command and record its profile into perf.data
7
8 SYNOPSIS
9 --------
10 [verse]
11 'perf record' [-e <EVENT> | --event=EVENT] [-l] [-a] <command>
12
13 DESCRIPTION
14 -----------
15 This command runs a command and gathers a performance counter profile
16 from it, into perf.data - without displaying anything.
17
18 This file can then be inspected later on, using 'perf report'.
19
20
21 OPTIONS
22 -------
23 <command>...::
24 Any command you can specify in a shell.
25
26 -e::
27 --event=::
28 0:0: cpu-cycles
29 0:0: cycles
30 0:1: instructions
31 0:2: cache-references
32 0:3: cache-misses
33 0:4: branch-instructions
34 0:4: branches
35 0:5: branch-misses
36 0:6: bus-cycles
37 1:0: cpu-clock
38 1:1: task-clock
39 1:2: page-faults
40 1:2: faults
41 1:5: minor-faults
42 1:6: major-faults
43 1:3: context-switches
44 1:3: cs
45 1:4: cpu-migrations
46 1:4: migrations
47 rNNN: raw PMU events (eventsel+umask)
48
49 -a::
50 system-wide collection
51
52 -l::
53 scale counter values
54
55 Configuration
56 -------------
57
58 EXAMPLES
59 --------
60
61 SEE ALSO
62 --------
63 linkperf:git-stat[1]
This page took 0.044315 seconds and 4 git commands to generate.