diff options
Diffstat (limited to 'tools/perf/Documentation/perf-trace.txt')
-rw-r--r-- | tools/perf/Documentation/perf-trace.txt | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-trace.txt b/tools/perf/Documentation/perf-trace.txt new file mode 100644 index 000000000000..3a2ae37310a9 --- /dev/null +++ b/tools/perf/Documentation/perf-trace.txt | |||
@@ -0,0 +1,53 @@ | |||
1 | perf-trace(1) | ||
2 | ============= | ||
3 | |||
4 | NAME | ||
5 | ---- | ||
6 | perf-trace - strace inspired tool | ||
7 | |||
8 | SYNOPSIS | ||
9 | -------- | ||
10 | [verse] | ||
11 | 'perf trace' | ||
12 | |||
13 | DESCRIPTION | ||
14 | ----------- | ||
15 | This command will show the events associated with the target, initially | ||
16 | syscalls, but other system events like pagefaults, task lifetime events, | ||
17 | scheduling events, etc. | ||
18 | |||
19 | Initially this is a live mode only tool, but eventually will work with | ||
20 | perf.data files like the other tools, allowing a detached 'record' from | ||
21 | analysis phases. | ||
22 | |||
23 | OPTIONS | ||
24 | ------- | ||
25 | |||
26 | --all-cpus:: | ||
27 | System-wide collection from all CPUs. | ||
28 | |||
29 | -p:: | ||
30 | --pid=:: | ||
31 | Record events on existing process ID (comma separated list). | ||
32 | |||
33 | --tid=:: | ||
34 | Record events on existing thread ID (comma separated list). | ||
35 | |||
36 | --uid=:: | ||
37 | Record events in threads owned by uid. Name or number. | ||
38 | |||
39 | --no-inherit:: | ||
40 | Child tasks do not inherit counters. | ||
41 | |||
42 | --mmap-pages=:: | ||
43 | Number of mmap data pages. Must be a power of two. | ||
44 | |||
45 | --cpu:: | ||
46 | Collect samples only on the list of CPUs provided. Multiple CPUs can be provided as a | ||
47 | comma-separated list with no space: 0,1. Ranges of CPUs are specified with -: 0-2. | ||
48 | In per-thread mode with inheritance mode on (default), Events are captured only when | ||
49 | the thread executes on the designated CPUs. Default is to monitor all CPUs. | ||
50 | |||
51 | SEE ALSO | ||
52 | -------- | ||
53 | linkperf:perf-record[1], linkperf:perf-script[1] | ||