]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit49a292267446b392cd1b61df3afc1678143d99a1
tree635d87b9e73a8283566ee4fa46e66d4c06997a09
parent8658812c7c86be3061fbe3e0f6c2687f4aab53d1
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