perf top: Improve interactive key handling
[linux-2.6-block.git] / tools / perf / Documentation / perf-top.txt
CommitLineData
1d8c8b20 1perf-top(1)
6e6b754f 2===========
1d8c8b20
IM
3
4NAME
5----
6perf-top - Run a command and profile it
7
8SYNOPSIS
9--------
10[verse]
11'perf top' [-e <EVENT> | --event=EVENT] [-l] [-a] <command>
12
13DESCRIPTION
14-----------
15This command runs a command and gathers a performance counter profile
16from it.
17
18
19OPTIONS
20-------
21<command>...::
22 Any command you can specify in a shell.
23
24-e::
25--event=::
386b05e3
TG
26 Select the PMU event. Selection can be a symbolic event name
27 (use 'perf list' to list all events) or a raw PMU
28 event (eventsel+umask) in the form of rNNN where NNN is a
29 hexadecimal event descriptor.
1d8c8b20
IM
30
31-a::
32 system-wide collection
33
34-l::
35 scale counter values
36
1d8c8b20
IM
37SEE ALSO
38--------
386b05e3 39linkperf:perf-stat[1], linkperf:perf-list[1]