Skip to content

Commit

Permalink
perf record: Document missing options
Browse files Browse the repository at this point in the history
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1291168642-11402-9-git-send-email-shawn.bohrer@gmail.com>
Signed-off-by: Shawn Bohrer <shawn.bohrer@gmail.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
  • Loading branch information
Shawn Bohrer authored and Arnaldo Carvalho de Melo committed Dec 1, 2010
1 parent 9d5b7f5 commit 08dbd7e
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions tools/perf/Documentation/perf-record.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,24 @@ OPTIONS
be passed as follows: '\mem:addr[:[r][w][x]]'.
If you want to profile read-write accesses in 0x1000, just set
'mem:0x1000:rw'.

--filter=<filter>::
Event filter.

-a::
System-wide collection.
--all-cpus::
System-wide collection from all CPUs.

-l::
Scale counter values.

-p::
--pid=::
Record events on existing pid.
Record events on existing process ID.

-t::
--tid=::
Record events on existing thread ID.

-r::
--realtime=::
Expand Down Expand Up @@ -109,8 +118,8 @@ Collect raw sample records from all opened counters (default for tracepoint coun

-C::
--cpu::
Collect samples only on the list of cpus provided. Multiple CPUs can be provided as a
comma-sperated list with no space: 0,1. Ranges of CPUs are specified with -: 0-2.
Collect samples only on the list of CPUs provided. Multiple CPUs can be provided as a
comma-separated list with no space: 0,1. Ranges of CPUs are specified with -: 0-2.
In per-thread mode with inheritance mode on (default), samples are captured only when
the thread executes on the designated CPUs. Default is to monitor all CPUs.

Expand Down

0 comments on commit 08dbd7e

Please sign in to comment.