git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf top tui: Give color hints just on the percentage, like on --stdio
[pandora-kernel.git]
/
tools
/
perf
/
util
/
ui
/
browsers
/
hists.c
diff --git
a/tools/perf/util/ui/browsers/hists.c
b/tools/perf/util/ui/browsers/hists.c
index
0eced19
..
936e641
100644
(file)
--- a/
tools/perf/util/ui/browsers/hists.c
+++ b/
tools/perf/util/ui/browsers/hists.c
@@
-579,6
+579,9
@@
static int hist_browser__show_entry(struct hist_browser *self,
if (!self->b.navkeypressed)
width += 1;
+ if (!current_entry || !self->b.navkeypressed)
+ ui_browser__set_color(&self->b, HE_COLORSET_NORMAL);
+
slsmg_write_nstring(s, width);
++row;
++printed;