You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
920 B
43 lines
920 B
16 years ago
|
perf-record(1)
|
||
16 years ago
|
==============
|
||
16 years ago
|
|
||
|
NAME
|
||
|
----
|
||
16 years ago
|
perf-record - Run a command and record its profile into perf.data
|
||
16 years ago
|
|
||
|
SYNOPSIS
|
||
|
--------
|
||
|
[verse]
|
||
|
'perf record' [-e <EVENT> | --event=EVENT] [-l] [-a] <command>
|
||
16 years ago
|
'perf record' [-e <EVENT> | --event=EVENT] [-l] [-a] -- <command> [<options>]
|
||
16 years ago
|
|
||
|
DESCRIPTION
|
||
|
-----------
|
||
|
This command runs a command and gathers a performance counter profile
|
||
16 years ago
|
from it, into perf.data - without displaying anything.
|
||
16 years ago
|
|
||
|
This file can then be inspected later on, using 'perf report'.
|
||
|
|
||
|
|
||
|
OPTIONS
|
||
|
-------
|
||
|
<command>...::
|
||
|
Any command you can specify in a shell.
|
||
|
|
||
|
-e::
|
||
|
--event=::
|
||
16 years ago
|
Select the PMU event. Selection can be a symbolic event name
|
||
|
(use 'perf list' to list all events) or a raw PMU
|
||
|
event (eventsel+umask) in the form of rNNN where NNN is a
|
||
|
hexadecimal event descriptor.
|
||
16 years ago
|
|
||
|
-a::
|
||
|
system-wide collection
|
||
|
|
||
|
-l::
|
||
|
scale counter values
|
||
|
|
||
|
SEE ALSO
|
||
|
--------
|
||
16 years ago
|
linkperf:perf-stat[1], linkperf:perf-list[1]
|