summaryrefslogtreecommitdiff
path: root/tools/perf/util/symbol_conf.h
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2019-03-05 06:47:48 -0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-03-11 11:56:03 -0300
commit2a1292cbd4e5c81edbf815a410fa2072c341db1e (patch)
treea585e8e994e6003414734f49b2eccf838f402266 /tools/perf/util/symbol_conf.h
parentf8c856cb2c947f4fad0a2dff5e95cdcddb801303 (diff)
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>
Diffstat (limited to 'tools/perf/util/symbol_conf.h')
-rw-r--r--tools/perf/util/symbol_conf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/symbol_conf.h b/tools/perf/util/symbol_conf.h
index 095a297c8b47..a5684a71b78e 100644
--- a/tools/perf/util/symbol_conf.h
+++ b/tools/perf/util/symbol_conf.h
@@ -56,6 +56,7 @@ struct symbol_conf {
*sym_list_str,
*col_width_list_str,
*bt_stop_list_str;
+ unsigned long time_quantum;
struct strlist *dso_list,
*comm_list,
*sym_list,