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>
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
#ifndef _PERF_UI_PROGRESS_H_
|
||||
#define _PERF_UI_PROGRESS_H_ 1
|
||||
|
||||
struct ui_progress;
|
||||
#include <../types.h>
|
||||
|
||||
struct ui_progress *ui_progress__new(const char *title, u64 total);
|
||||
void ui_progress__delete(struct ui_progress *self);
|
||||
|
||||
void ui_progress__update(struct ui_progress *self, u64 curr);
|
||||
void ui_progress__update(u64 curr, u64 total, const char *title);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user