lkml.org 
[lkml]   [2015]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] perf, tools, record: Support recording running/enabled time
On 2/24/15 4:13 PM, Andi Kleen wrote:
> --- 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
> each sample. List of captured registers depends on the architecture. This option
> is off by default.
>
> +--running::
> +Record running and enabled time for read events (:S)
> +
> SEE ALSO
> --------
> linkperf:perf-stat[1], linkperf:perf-list[1]
> diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c
> index d0d02a8..4fdad06 100644
> --- a/tools/perf/builtin-record.c
> +++ b/tools/perf/builtin-record.c
> @@ -839,6 +839,8 @@ struct option __record_options[] = {
> "use per-thread mmaps"),
> OPT_BOOLEAN('I', "intr-regs", &record.opts.sample_intr_regs,
> "Sample machine registers on interrupt"),
> + OPT_BOOLEAN(0, "running-time", &record.opts.running_time,
> + "Record running/enabled time of read (:S) events"),
> OPT_END()

Documentation differs from option in the record command.

David



\
 
 \ /
  Last update: 2015-02-25 18:01    [W:2.149 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site