Skip to content

Commit 88298f5

Browse files
committed
perf annotate browser: Add a right arrow before call instructions
The counterpart of 'ret' instructions. Suggested-by: Linus Torvalds <[email protected]> Cc: David Ahern <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 38b31bd commit 88298f5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/perf/ui/browsers/annotate.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ static void annotate_browser__write(struct ui_browser *self, void *entry, int ro
117117
ui_browser__write_graph(self, fwd ? SLSMG_DARROW_CHAR :
118118
SLSMG_UARROW_CHAR);
119119
SLsmg_write_char(' ');
120+
} else if (ins__is_call(dl->ins)) {
121+
ui_browser__write_graph(self, SLSMG_RARROW_CHAR);
122+
SLsmg_write_char(' ');
120123
} else {
121124
slsmg_write_nstring(" ", 2);
122125
}

0 commit comments

Comments
 (0)