diff options
Diffstat (limited to 'tools/perf/ui/browsers/annotate.c')
-rw-r--r-- | tools/perf/ui/browsers/annotate.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/perf/ui/browsers/annotate.c b/tools/perf/ui/browsers/annotate.c index 12c099a87f8b..3781d74088a7 100644 --- a/tools/perf/ui/browsers/annotate.c +++ b/tools/perf/ui/browsers/annotate.c | |||
@@ -692,6 +692,7 @@ static int annotate_browser__run(struct annotate_browser *browser, | |||
692 | "J Toggle showing number of jump sources on targets\n" | 692 | "J Toggle showing number of jump sources on targets\n" |
693 | "n Search next string\n" | 693 | "n Search next string\n" |
694 | "o Toggle disassembler output/simplified view\n" | 694 | "o Toggle disassembler output/simplified view\n" |
695 | "O Bump offset level (jump targets -> +call -> all -> cycle thru)\n" | ||
695 | "s Toggle source code view\n" | 696 | "s Toggle source code view\n" |
696 | "t Circulate percent, total period, samples view\n" | 697 | "t Circulate percent, total period, samples view\n" |
697 | "/ Search string\n" | 698 | "/ Search string\n" |
@@ -719,6 +720,10 @@ static int annotate_browser__run(struct annotate_browser *browser, | |||
719 | notes->options->use_offset = !notes->options->use_offset; | 720 | notes->options->use_offset = !notes->options->use_offset; |
720 | annotation__update_column_widths(notes); | 721 | annotation__update_column_widths(notes); |
721 | continue; | 722 | continue; |
723 | case 'O': | ||
724 | if (++notes->options->offset_level > ANNOTATION__MAX_OFFSET_LEVEL) | ||
725 | notes->options->offset_level = ANNOTATION__MIN_OFFSET_LEVEL; | ||
726 | continue; | ||
722 | case 'j': | 727 | case 'j': |
723 | notes->options->jump_arrows = !notes->options->jump_arrows; | 728 | notes->options->jump_arrows = !notes->options->jump_arrows; |
724 | continue; | 729 | continue; |