diff options
Diffstat (limited to 'tools/perf/Documentation/perf-record.txt')
-rw-r--r-- | tools/perf/Documentation/perf-record.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-record.txt b/tools/perf/Documentation/perf-record.txt index e032716c839b..5a520f825295 100644 --- a/tools/perf/Documentation/perf-record.txt +++ b/tools/perf/Documentation/perf-record.txt | |||
@@ -137,6 +137,17 @@ Do not update the builid cache. This saves some overhead in situations | |||
137 | where the information in the perf.data file (which includes buildids) | 137 | where the information in the perf.data file (which includes buildids) |
138 | is sufficient. | 138 | is sufficient. |
139 | 139 | ||
140 | -G name,...:: | ||
141 | --cgroup name,...:: | ||
142 | monitor only in the container (cgroup) called "name". This option is available only | ||
143 | in per-cpu mode. The cgroup filesystem must be mounted. All threads belonging to | ||
144 | container "name" are monitored when they run on the monitored CPUs. Multiple cgroups | ||
145 | can be provided. Each cgroup is applied to the corresponding event, i.e., first cgroup | ||
146 | to first event, second cgroup to second event and so on. It is possible to provide | ||
147 | an empty cgroup (monitor all the time) using, e.g., -G foo,,bar. Cgroups must have | ||
148 | corresponding events, i.e., they always refer to events defined earlier on the command | ||
149 | line. | ||
150 | |||
140 | SEE ALSO | 151 | SEE ALSO |
141 | -------- | 152 | -------- |
142 | linkperf:perf-stat[1], linkperf:perf-list[1] | 153 | linkperf:perf-stat[1], linkperf:perf-list[1] |