summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/stat-shadow.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-29 08:30:04 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-29 08:30:04 +0200
commit2a0f4f16d20127ae0c3f0a3f0190dbbb4d286ba7 (patch)
tree60ad34da8aa2a054d8b562cbac9d06d37c52d5cc /tools/perf/util/stat-shadow.c
parent6389a62ff798e781567645c0b0ca3dd7b8a4289d (diff)
parent609488bc979f99f805f34e9a32c1e3b71179d10b (diff)
downloadlinux-2a0f4f16d20127ae0c3f0a3f0190dbbb4d286ba7.tar.bz2
Merge 5.3-rc2 into usb-next
We need the USB fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/util/stat-shadow.c')
-rw-r--r--tools/perf/util/stat-shadow.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/util/stat-shadow.c b/tools/perf/util/stat-shadow.c
index 656065af4971..accb1bf1cfd8 100644
--- a/tools/perf/util/stat-shadow.c
+++ b/tools/perf/util/stat-shadow.c
@@ -819,7 +819,8 @@ void perf_stat__print_shadow_stats(struct perf_stat_config *config,
"stalled cycles per insn",
ratio);
} else if (have_frontend_stalled) {
- print_metric(config, ctxp, NULL, NULL,
+ out->new_line(config, ctxp);
+ print_metric(config, ctxp, NULL, "%7.2f ",
"stalled cycles per insn", 0);
}
} else if (perf_evsel__match(evsel, HARDWARE, HW_BRANCH_MISSES)) {