perf script: Allow time to be displayed in nanoseconds
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 25 Sep 2015 13:15:36 +0000 (16:15 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 28 Sep 2015 19:46:05 +0000 (16:46 -0300)
commit83e1986032dfcd3f9e9fc0d06e11d9153edae19b
tree8ad7b1b2ae0120bb8d2b39293ff4013b3f9ef9dc
parent116f349c5bf8c7aec4047dd6e06c310354b46e4f
perf script: Allow time to be displayed in nanoseconds

Add option --ns to display time to 9 decimal places.  That is useful in
some cases, for example when using Intel PT cycle accurate mode.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1443186956-18718-6-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-script.txt
tools/perf/builtin-script.c