linux-stable/tools
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
..
accounting
arch tools headers: Sync cpu features kernel ABI headers with tooling headers 2017-08-28 16:44:46 -03:00
build tools build tests: Don't hardcode gcc name 2017-08-28 16:44:44 -03:00
cgroup
firewire
gpio
hv Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-07-05 12:31:59 -07:00
iio
include tools include linux: Guard against redefinition of some macros 2017-09-12 12:33:39 -03:00
kvm/kvm_stat tools/kvm_stat: add '-f help' to get the available event list 2017-07-26 19:04:53 +02:00
laptop
leds
lib tools lib api: Fix make DEBUG=1 build 2017-09-12 12:34:14 -03:00
net tools: bpf_jit_disasm: Handle large images. 2017-06-14 15:03:22 -04:00
nfsd
objtool objtool: Handle GCC stack pointer adjustment bug 2017-08-30 10:48:41 +02:00
pci
pcmcia
perf perf ui progress: Fix progress update 2017-09-12 12:34:54 -03:00
power ACPI updates for v4.13-rc1 2017-07-04 14:16:49 -07:00
scripts perf tools: Robustify detection of clang binary 2017-08-28 16:44:46 -03:00
spi
testing Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-09-04 13:06:34 -07:00
thermal/tmon
time
usb usb: changes for v4.13 merge window 2017-06-20 11:39:34 +08:00
virtio
vm
Makefile x86/lguest: Remove lguest support 2017-08-24 09:57:28 +02:00