-
- Downloads
perf ui browser: Abstract some more slang operations
Browsers don't have to deal with absolute coordinates, just using (row,
column) and leaving the rest to ui_browser is better and removes one
more UI backend detail from the browsers.
Also shorten the percent_color setting idiom, removing some more direct
libslang calls.
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
LKML-Reference: <new-submission>
Signed-off-by:
Arnaldo Carvalho de Melo <acme@redhat.com>
Showing
- tools/perf/util/ui/browser.c 24 additions, 23 deletionstools/perf/util/ui/browser.c
- tools/perf/util/ui/browser.h 4 additions, 1 deletiontools/perf/util/ui/browser.h
- tools/perf/util/ui/browsers/annotate.c 3 additions, 5 deletionstools/perf/util/ui/browsers/annotate.c
- tools/perf/util/ui/browsers/hists.c 6 additions, 6 deletionstools/perf/util/ui/browsers/hists.c
- tools/perf/util/ui/browsers/map.c 1 addition, 2 deletionstools/perf/util/ui/browsers/map.c
Loading
Please register or sign in to comment