diff options
-rw-r--r-- | tools/perf/ui/browsers/annotate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/ui/browsers/annotate.c b/tools/perf/ui/browsers/annotate.c index 0f4bcc0d140c..46f297a4e94b 100644 --- a/tools/perf/ui/browsers/annotate.c +++ b/tools/perf/ui/browsers/annotate.c | |||
@@ -166,7 +166,7 @@ static void annotate_browser__write(struct ui_browser *browser, void *entry, int | |||
166 | if (!show_title) | 166 | if (!show_title) |
167 | ui_browser__write_nstring(browser, " ", pcnt_width); | 167 | ui_browser__write_nstring(browser, " ", pcnt_width); |
168 | else | 168 | else |
169 | ui_browser__printf(browser, "%*s", 7, "Percent"); | 169 | ui_browser__printf(browser, "%*s", 7, annotate_browser__opts.show_total_period ? "Period" : "Percent"); |
170 | } | 170 | } |
171 | if (ab->have_cycles) { | 171 | if (ab->have_cycles) { |
172 | if (dl->ipc) | 172 | if (dl->ipc) |