Skip to content

Commit

Permalink
perf annotate browser: Use a vertical line as percentage separator
Browse files Browse the repository at this point in the history
Where we had ':'.

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-l8gbejzpglnwiwk43450h31g@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
  • Loading branch information
Arnaldo Carvalho de Melo committed Apr 19, 2012
1 parent 8bf39cb commit cf2dacc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tools/perf/ui/browsers/annotate.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,10 @@ static void annotate_browser__write(struct ui_browser *self, void *entry, int ro
slsmg_write_nstring(" ", 9);
}

SLsmg_write_char(':');
slsmg_write_nstring(" ", 8);
SLsmg_set_char_set(1);
SLsmg_write_char(SLSMG_VLINE_CHAR);
SLsmg_set_char_set(0);
SLsmg_write_char(' ');

/* The scroll bar isn't being used */
if (!self->navkeypressed)
Expand Down

0 comments on commit cf2dacc

Please sign in to comment.