perf report: Parse time quantum
authorAndi Kleen <ak@linux.intel.com>
Tue, 5 Mar 2019 14:47:48 +0000 (06:47 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 11 Mar 2019 14:56:03 +0000 (11:56 -0300)
commit2a1292cbd4e5c81edbf815a410fa2072c341db1e
treea585e8e994e6003414734f49b2eccf838f402266
parentf8c856cb2c947f4fad0a2dff5e95cdcddb801303
perf report: Parse time quantum

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>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/20190305144758.12397-6-andi@firstfloor.org
[ Use NSEC_PER_[MU]SEC ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-report.txt
tools/perf/builtin-report.c
tools/perf/util/symbol.c
tools/perf/util/symbol_conf.h