aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo2011-10-25 10:29:11 -0500
committerArnaldo Carvalho de Melo2011-10-26 10:04:42 -0500
commitca59bcbceeb7fd412faa35871ec0bd21bdd69229 (patch)
tree0d83b6f0b28492a978eb7a5ecde93ec9a2e18258 /tools/perf/util/ui/progress.h
parent727ab04edbc4767711a7aeff5e00249b267ed4c1 (diff)
downloadkernel-omap-ca59bcbceeb7fd412faa35871ec0bd21bdd69229.tar.gz
kernel-omap-ca59bcbceeb7fd412faa35871ec0bd21bdd69229.tar.xz
kernel-omap-ca59bcbceeb7fd412faa35871ec0bd21bdd69229.zip
perf ui progress: Reimplement using slang
Just another step in stopping the use of libnewt in perf. 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-vkb9jh5kkzl5ep3puoatd6an@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/ui/progress.h')
-rw-r--r--tools/perf/util/ui/progress.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/perf/util/ui/progress.h b/tools/perf/util/ui/progress.h
index a3820a0beb5b..d9c205b59aa1 100644
--- a/tools/perf/util/ui/progress.h
+++ b/tools/perf/util/ui/progress.h
@@ -1,11 +1,8 @@
1#ifndef _PERF_UI_PROGRESS_H_ 1#ifndef _PERF_UI_PROGRESS_H_
2#define _PERF_UI_PROGRESS_H_ 1 2#define _PERF_UI_PROGRESS_H_ 1
3 3
4struct ui_progress; 4#include <../types.h>
5 5
6struct ui_progress *ui_progress__new(const char *title, u64 total); 6void ui_progress__update(u64 curr, u64 total, const char *title);
7void ui_progress__delete(struct ui_progress *self);
8
9void ui_progress__update(struct ui_progress *self, u64 curr);
10 7
11#endif 8#endif