]> git.baikalelectronics.ru Git - kernel.git/commit
perf stat: Use common printout function to avoid duplicated code
authorAndi Kleen <ak@linux.intel.com>
Tue, 3 Nov 2015 01:50:21 +0000 (17:50 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 4 Nov 2015 18:12:04 +0000 (15:12 -0300)
commitee8e51ac4dff31dab8dba2a7ad504c4843fefcd0
treec5a7078dfb8507bb2b5ed5927556ee4ddf6df0d6
parente09ee85d21de605f20d52bf88cb5a60f258839aa
perf stat: Use common printout function to avoid duplicated code

Instead of every caller deciding whether to call abs or nsec printout
do it all in a single central function. No functional changes.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/1446515428-7450-3-git-send-email-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c