summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/symbol_conf.h
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2019-03-05 06:47:47 -0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-03-11 11:56:02 -0300
commit52bab8868211b7c504146f6239e101421d4d125b (patch)
treef3941e210c94e1535604a5d53119f17fc34a2b64 /tools/perf/util/symbol_conf.h
parent3ab481a1cfe1511b94e142b648e2c5ade9175ed3 (diff)
downloadblackbird-op-linux-52bab8868211b7c504146f6239e101421d4d125b.tar.gz
blackbird-op-linux-52bab8868211b7c504146f6239e101421d4d125b.zip
perf report: Support output in nanoseconds
Upcoming changes add timestamp output in perf report. Add a --ns argument similar to perf script to support nanoseconds resolution when needed. 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-5-andi@firstfloor.org 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 fffea68c1203..095a297c8b47 100644
--- a/tools/perf/util/symbol_conf.h
+++ b/tools/perf/util/symbol_conf.h
@@ -8,6 +8,7 @@ struct strlist;
struct intlist;
struct symbol_conf {
+ bool nanosecs;
unsigned short priv_size;
bool try_vmlinux_path,
init_annotation,
OpenPOWER on IntegriCloud