linux/tools/perf/ui
Jiri Olsa a82bfd041d perf ui progress: Fix progress update
We currently update the 'next' variable only with a single step value.
But it's possible the 'adv' update is bigger than single 'step' value.
This would leave 'next' value under counted and force unnecessary
ui_progress__ops->update calls.

Calculate the amount of steps we need for 'adv' update and increase the
'next' with that amounts of steps.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20170908120510.22515-3-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2017-09-12 12:34:54 -03:00
..
browsers perf annotate browser: Help for cycling thru hottest instructions with TAB/shift+TAB 2017-09-01 14:55:40 -03:00
gtk perf annotate: Rename 'sum' to 'nr_samples' in struct sym_hist 2017-07-21 08:23:49 -03:00
stdio perf report: Calculate the average cycles of iterations 2017-08-30 10:03:27 -03:00
tui perf tools: Add include <linux/kernel.h> where ARRAY_SIZE() is used 2017-04-19 13:01:44 -03:00
browser.c tools include: Adopt strstarts() from the kernel 2017-07-20 15:46:10 -03:00
browser.h perf annotate: Implement visual marker for macro fusion 2017-07-18 23:13:49 -03:00
Build perf build: Add slang objects building 2015-02-12 11:48:13 -03:00
helpline.c perf ui helpline: Provide a printf variant 2016-11-25 15:49:16 -03:00
helpline.h perf ui helpline: Provide a printf variant 2016-11-25 15:49:16 -03:00
hist.c perf tools: Put caller above callee in --children mode 2017-05-24 08:41:49 +02:00
keysyms.h
libslang.h perf ui browser: Introduce ui_browser__printf() 2015-08-12 10:27:05 -03:00
progress.c perf ui progress: Fix progress update 2017-09-12 12:34:54 -03:00
progress.h perf tools: Remove EOL whitespaces 2015-01-21 13:24:31 -03:00
setup.c perf ui gtk: Move gtk .so name to the only place where it is used 2017-04-26 15:31:57 -03:00
ui.h perf ui stdio: Add way to setup the color output mode selection 2016-07-12 00:00:39 -03:00
util.c
util.h