aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2012-04-19 15:19:17 -0300
committerArnaldo Carvalho de Melo <[email protected]>2012-04-19 17:08:31 -0300
commitcf2dacc5608ca950d6a7a92bf6a5f9f9bcf13b92 (patch)
treea43b2f55d0d6391b6d7a378b4780d33927b69a3e
parent8bf39cb81bdad01ad0d830e8c3639b9e8f552d57 (diff)
perf annotate browser: Use a vertical line as percentage separator
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]>
-rw-r--r--tools/perf/ui/browsers/annotate.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/perf/ui/browsers/annotate.c b/tools/perf/ui/browsers/annotate.c
index 34b86ea3e54d..e760326efca0 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)