aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-stat.c')
-rw-r--r--tools/perf/builtin-stat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c
index 3e5ea4e2e5fd..c5a290727a92 100644
--- a/tools/perf/builtin-stat.c
+++ b/tools/perf/builtin-stat.c
@@ -307,7 +307,8 @@ static void print_counter(int counter)
307 abs_printout(counter, count, noise); 307 abs_printout(counter, count, noise);
308 308
309 if (scaled) 309 if (scaled)
310 fprintf(stderr, " (%7.2fx scaled)", (double)count[1]/count[2]); 310 fprintf(stderr, " (scaled from %.2f%%)",
311 (double) count[2] / count[1] * 100);
311 312
312 fprintf(stderr, "\n"); 313 fprintf(stderr, "\n");
313} 314}