diff options
author | Andi Kleen <ak@linux.intel.com> | 2015-02-24 18:13:40 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-02-25 10:42:23 -0500 |
commit | 85c273d2b6569706762cf400079ca0699e007d81 (patch) | |
tree | ff85ad53d0f7ea05d8bea1aa685d7df33ad1f6ac /tools/perf/Documentation | |
parent | 506740654db4fa5b6e1229147cee3cf8c7e07eca (diff) |
perf record: Support recording running/enabled time
Add an option to perf record to record running/enabled time for read
events, similar to what stat does.
This is useful to understand multiplexing problems.
Right now the report support is not great, but at least report -D
already supports it.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1424819620-16043-1-git-send-email-andi@firstfloor.org
[ Fixed the Documentation entry to match the OPT_BOOLEAN one ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Documentation')
-rw-r--r-- | tools/perf/Documentation/perf-record.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-record.txt b/tools/perf/Documentation/perf-record.txt index 1c7e50f62b1f..cae75c11120f 100644 --- a/tools/perf/Documentation/perf-record.txt +++ b/tools/perf/Documentation/perf-record.txt | |||
@@ -241,6 +241,9 @@ Capture machine state (registers) at interrupt, i.e., on counter overflows for | |||
241 | each sample. List of captured registers depends on the architecture. This option | 241 | each sample. List of captured registers depends on the architecture. This option |
242 | is off by default. | 242 | is off by default. |
243 | 243 | ||
244 | --running-time:: | ||
245 | Record running and enabled time for read events (:S) | ||
246 | |||
244 | SEE ALSO | 247 | SEE ALSO |
245 | -------- | 248 | -------- |
246 | linkperf:perf-stat[1], linkperf:perf-list[1] | 249 | linkperf:perf-stat[1], linkperf:perf-list[1] |