diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-04-19 15:19:17 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-04-19 17:08:31 -0300 |
commit | cf2dacc5608ca950d6a7a92bf6a5f9f9bcf13b92 (patch) | |
tree | a43b2f55d0d6391b6d7a378b4780d33927b69a3e /tools/perf/ui | |
parent | 8bf39cb81bdad01ad0d830e8c3639b9e8f552d57 (diff) | |
download | op-kernel-dev-cf2dacc5608ca950d6a7a92bf6a5f9f9bcf13b92.zip op-kernel-dev-cf2dacc5608ca950d6a7a92bf6a5f9f9bcf13b92.tar.gz |
perf annotate browser: Use a vertical line as percentage separator
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>
Diffstat (limited to 'tools/perf/ui')
-rw-r--r-- | tools/perf/ui/browsers/annotate.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/perf/ui/browsers/annotate.c b/tools/perf/ui/browsers/annotate.c index 34b86ea..e760326 100644 --- a/tools/perf/ui/browsers/annotate.c +++ b/tools/perf/ui/browsers/annotate.c @@ -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) |