lkml.org 
[lkml]   [2019]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v6 02/11] perf tools report: Parse time quantum
Em Mon, Mar 11, 2019 at 07:44:53AM -0700, Andi Kleen escreveu:
> From: Andi Kleen <ak@linux.intel.com>
>
> Many workloads change over time. perf report currently aggregates
> the whole time range reported in perf.data.
>
> This patch adds an option for a time quantum to quantisize the
> perf.data over time.
>
> This just adds the option, will be used in follow on patches
> for a time sort key.
>
> Signed-off-by: Andi Kleen <ak@linux.intel.com>
>
> ---
> v2:
> Move time_quantum to symbol_conf. check for zero time quantum
> v3:
> Document s unit
> v4:
> Use _NSEC defines

Humm? This just adds a header, but nevermind, I have the full patch in
my tree already :-)

- Arnaldo

> ---
> tools/perf/util/symbol.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c
> index 6b73a0eeb6a1..967066d4d899 100644
> --- a/tools/perf/util/symbol.c
> +++ b/tools/perf/util/symbol.c
> @@ -30,6 +30,7 @@
> #include <elf.h>
> #include <limits.h>
> #include <symbol/kallsyms.h>
> +#include <linux/time64.h>
> #include <sys/utsname.h>
>
> static int dso__load_kernel_sym(struct dso *dso, struct map *map);
> --
> 2.20.1

--

- Arnaldo

\
 
 \ /
  Last update: 2019-03-11 18:00    [W:0.986 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site