perf annotate browser: Use a vertical line as percentage separator
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 19 Apr 2012 18:19:17 +0000 (15:19 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 19 Apr 2012 20:08:31 +0000 (17:08 -0300)
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>
tools/perf/ui/browsers/annotate.c

index 34b86ea3e54d5d8727a1068f0ee5398286c0b46d..e760326efca07de904087a77c5a3a03bccd382dc 100644 (file)
@@ -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)