OSDN Git Service

perf ui progress: Add ui specific init function
authorJiri Olsa <jolsa@kernel.org>
Fri, 8 Sep 2017 12:05:09 +0000 (14:05 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 13 Sep 2017 12:49:15 +0000 (09:49 -0300)
commit25cc4eb44b0c840eff0e5a46a85b9ccbde77401b
tree060c4b3ee2a7fddc4a4763842ba3b4044d61fbe6
parent80f873557112fc163f011cd131d4cfe4959100a6
perf ui progress: Add ui specific init function

Adding ui specific init function allowing to setup the progress bar
width based on current screen scales.

Adding TUI init function to get more grained update of the progress bar.

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-4-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/progress.c
tools/perf/ui/progress.h
tools/perf/ui/tui/progress.c