ARM: dts: kirkwood: gpio-leds fixes for linkstation ls-wvl/vl
[linux/fpc-iii.git] / tools / perf / ui / progress.h
blob717d39d3052b8080ff90af9e6cbb715dbd15f203
1 #ifndef _PERF_UI_PROGRESS_H_
2 #define _PERF_UI_PROGRESS_H_ 1
4 #include <linux/types.h>
6 void ui_progress__finish(void);
8 struct ui_progress {
9 const char *title;
10 u64 curr, next, step, total;
13 void ui_progress__init(struct ui_progress *p, u64 total, const char *title);
14 void ui_progress__update(struct ui_progress *p, u64 adv);
16 struct ui_progress_ops {
17 void (*update)(struct ui_progress *p);
18 void (*finish)(void);
21 extern struct ui_progress_ops *ui_progress__ops;
23 #endif