]> git.baikalelectronics.ru Git - kernel.git/commit
perf record: Support recording running/enabled time
authorAndi Kleen <ak@linux.intel.com>
Tue, 24 Feb 2015 23:13:40 +0000 (15:13 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 25 Feb 2015 15:42:23 +0000 (12:42 -0300)
commit4a78f47c0958755da265b7e0127bf7c8444d5ff2
treeff85ad53d0f7ea05d8bea1aa685d7df33ad1f6ac
parente069c52bcf046c41189264310d9462e8c85a296c
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>
tools/perf/Documentation/perf-record.txt
tools/perf/builtin-record.c
tools/perf/perf.h
tools/perf/util/evsel.c