]> git.baikalelectronics.ru Git - kernel.git/commit
perf ui browser: Return the current color when setting a new one
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 2 Apr 2012 15:48:56 +0000 (12:48 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 7 Apr 2012 19:08:42 +0000 (16:08 -0300)
commitbbbd52b242754a002db8a5a6a45b656eae63b0b0
tree2cfbff9c5f1262a5597a9250b108545e4e9663c0
parentdfb707857484a07457e0403c2f821ed0c8b5391a
perf ui browser: Return the current color when setting a new one

Tools that want to change parts of the line to a different color and
then restore the previous one will use this, starting with the annotate
browser that will change the color of addresses if not on the current
entry, i.e. the selected one.

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
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-uiajpevhxo4mzrvna6remb4a@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/ui/browser.c
tools/perf/util/ui/browser.h