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)
commit85c273d2b6569706762cf400079ca0699e007d81
treeff85ad53d0f7ea05d8bea1aa685d7df33ad1f6ac
parent506740654db4fa5b6e1229147cee3cf8c7e07eca
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