mirror of
https://github.com/torvalds/linux.git
synced 2024-12-21 10:31:54 +00:00
48000a1aed
Janitorial stuff: boredom moment. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Borislav Petkov <bp@suse.de> Cc: David Ahern <dsahern@gmail.com> Cc: Don Zickus <dzickus@redhat.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Namhyung Kim <namhyung@kernel.org> 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-u70i7shys3kths4hzru72bha@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
24 lines
480 B
C
24 lines
480 B
C
#ifndef _PERF_UI_PROGRESS_H_
|
|
#define _PERF_UI_PROGRESS_H_ 1
|
|
|
|
#include <linux/types.h>
|
|
|
|
void ui_progress__finish(void);
|
|
|
|
struct ui_progress {
|
|
const char *title;
|
|
u64 curr, next, step, total;
|
|
};
|
|
|
|
void ui_progress__init(struct ui_progress *p, u64 total, const char *title);
|
|
void ui_progress__update(struct ui_progress *p, u64 adv);
|
|
|
|
struct ui_progress_ops {
|
|
void (*update)(struct ui_progress *p);
|
|
void (*finish)(void);
|
|
};
|
|
|
|
extern struct ui_progress_ops *ui_progress__ops;
|
|
|
|
#endif
|