lkml.org 
[lkml]   [2018]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] perf stat: enable 1ms interval for printing event counters values
On Tue, Apr 03, 2018 at 09:18:33PM +0300, Alexey Budankov wrote:
>
> Currently print count interval for performance counters values is
> limited by 10ms so reading the values at frequencies higher than 100Hz
> is restricted by the tool.
>
> This change makes perf stat -I possible on frequencies up to 1KHz and,
> to some extent, makes perf stat -I to be on-par with perf record
> sampling profiling.
>
> When running perf stat -I for monitoring e.g. PCIe uncore counters and
> at the same time profiling some I/O workload by perf record e.g. for
> cpu-cycles and context switches, it is then possible to observe
> consolidated CPU/OS/IO(Uncore) performance picture for that workload.
>
> Tool overhead warning printed when specifying -v option can be missed
> due to screen scrolling in case you have output to the console
> so message is moved into help available by running perf stat -h.
>
> Signed-off-by: Alexey Budankov <alexey.budankov@linux.intel.com>
> ---
>
> Changes in v2:
> - updated minimum value to 1ms at perf-stat.txt manual

Acked-by: Jiri Olsa <jolsa@kernel.org>

thanks,
jirka

\
 
 \ /
  Last update: 2018-04-04 09:06    [W:0.038 / U:2.784 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site