aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/build-id.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2016-05-05 16:04:03 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-05-16 23:11:13 -0300
commite3b03b6c1a4f3b4564be08809f58584592621a0a (patch)
tree6b2fed2e169c8750ef1d447ac9fc7824ea76c9d5 /tools/perf/util/build-id.c
parentperf/core: Disable the event on a truncated AUX record (diff)
downloadlinux-dev-e3b03b6c1a4f3b4564be08809f58584592621a0a.tar.xz
linux-dev-e3b03b6c1a4f3b4564be08809f58584592621a0a.zip
perf stat: Avoid fractional digits for integer scales
When the scaling factor is a full integer don't display fractional digits. This avoids unnecessary .00 output for topdown metrics with scale factors. v2: Remove redundant check. Signed-off-by: Andi Kleen <ak@linux.intel.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/1462489447-31832-7-git-send-email-andi@firstfloor.org [ Rename 'round' to 'stat_round' as 'round' is defined in math.h, included by this patch, and this breaks the build on ubuntu 12.04 ] Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/build-id.c')
0 files changed, 0 insertions, 0 deletions