Commit | Line | Data |
---|---|---|
d01f4e8d NK |
1 | perf-ftrace(1) |
2 | ============= | |
3 | ||
4 | NAME | |
5 | ---- | |
6 | perf-ftrace - simple wrapper for kernel's ftrace functionality | |
7 | ||
8 | ||
9 | SYNOPSIS | |
10 | -------- | |
11 | [verse] | |
12 | 'perf ftrace' <command> | |
13 | ||
14 | DESCRIPTION | |
15 | ----------- | |
16 | The 'perf ftrace' command is a simple wrapper of kernel's ftrace | |
17 | functionality. It only supports single thread tracing currently and | |
18 | just reads trace_pipe in text and then write it to stdout. | |
19 | ||
20 | The following options apply to perf ftrace. | |
21 | ||
22 | OPTIONS | |
23 | ------- | |
24 | ||
25 | -t:: | |
26 | --tracer=:: | |
27 | Tracer to use: function_graph or function. | |
28 | ||
29 | -v:: | |
30 | --verbose=:: | |
31 | Verbosity level. | |
32 | ||
a9af6be5 NK |
33 | -p:: |
34 | --pid=:: | |
35 | Trace on existing process id (comma separated list). | |
36 | ||
dc231032 NK |
37 | -a:: |
38 | --all-cpus:: | |
39 | Force system-wide collection. Scripts run without a <command> | |
40 | normally use -a by default, while scripts run with a <command> | |
41 | normally don't - this option allows the latter to be run in | |
42 | system-wide mode. | |
43 | ||
44 | -C:: | |
45 | --cpu=:: | |
46 | Only trace for the list of CPUs provided. Multiple CPUs can | |
47 | be provided as a comma separated list with no space like: 0,1. | |
48 | Ranges of CPUs are specified with -: 0-2. | |
49 | Default is to trace on all online CPUs. | |
50 | ||
d01f4e8d NK |
51 | |
52 | SEE ALSO | |
53 | -------- | |
54 | linkperf:perf-record[1], linkperf:perf-trace[1] |