perf annotate browser: Use a vertical line as percentage separator
authorArnaldo Carvalho de Melo <[email protected]>
Thu, 19 Apr 2012 18:19:17 +0000 (15:19 -0300)
committerArnaldo Carvalho de Melo <[email protected]>
Thu, 19 Apr 2012 20:08:31 +0000 (17:08 -0300)
Where we had ':'.

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]>
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)