perf report: Use timestamp__scnprintf_nsec() for time sort key
authorAndi Kleen <ak@linux.intel.com>
Fri, 23 Aug 2019 21:03:37 +0000 (14:03 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 26 Aug 2019 14:58:29 +0000 (11:58 -0300)
commit092804ae092fc6097348f5c09b62cde040717aa1
tree635d87b9e73a8283566ee4fa46e66d4c06997a09
parentb4de344b25b9fbd4db7b84da43808a6b7daac887
perf report: Use timestamp__scnprintf_nsec() for time sort key

Use timestamp__scnprintf_nsec() to print nanoseconds for the time sort
key, instead of open coding.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/20190823210338.12360-1-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/sort.c