diff options
author | Andi Kleen <ak@linux.intel.com> | 2019-03-05 06:47:47 -0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-03-11 11:56:02 -0300 |
commit | 52bab8868211b7c504146f6239e101421d4d125b (patch) | |
tree | f3941e210c94e1535604a5d53119f17fc34a2b64 /tools/perf/util/symbol.c | |
parent | 3ab481a1cfe1511b94e142b648e2c5ade9175ed3 (diff) | |
download | lwn-52bab8868211b7c504146f6239e101421d4d125b.tar.gz lwn-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.c')
-rw-r--r-- | tools/perf/util/symbol.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index 758bf5f74e6e..eb873ea1c405 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c @@ -39,6 +39,7 @@ int vmlinux_path__nr_entries; char **vmlinux_path; struct symbol_conf symbol_conf = { + .nanosecs = false, .use_modules = true, .try_vmlinux_path = true, .demangle = true, |