diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-10-23 14:08:48 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-10-23 14:41:23 -0300 |
commit | 4779a2e99af80e133ee1c70c7093dc6cc13429a1 (patch) | |
tree | fe6d3d244a365886036d08c6a568904de9e91c5a /tools/perf/ui/progress.h | |
parent | 74af377bc25dd9ebcb0be12836abb6b401b5dd08 (diff) | |
download | lwn-4779a2e99af80e133ee1c70c7093dc6cc13429a1.tar.gz lwn-4779a2e99af80e133ee1c70c7093dc6cc13429a1.zip |
perf ui: Rename ui_progress to ui_progress_ops
Reserving 'struct ui_progress' to the per progress instances, not to the
particular set of operations used to implmenet a progress bar in the
current UI (GTK, TUI, etc).
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.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-zjqbfp9gx3yo45s0rp9uv42n@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/ui/progress.h')
-rw-r--r-- | tools/perf/ui/progress.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/perf/ui/progress.h b/tools/perf/ui/progress.h index 257cc224f9cf..d41bde5908a6 100644 --- a/tools/perf/ui/progress.h +++ b/tools/perf/ui/progress.h @@ -3,14 +3,12 @@ #include <../types.h> -struct ui_progress { +struct ui_progress_ops { void (*update)(u64, u64, const char *); void (*finish)(void); }; -extern struct ui_progress *progress_fns; - -void ui_progress__init(void); +extern struct ui_progress_ops *ui_progress__ops; void ui_progress__update(u64 curr, u64 total, const char *title); void ui_progress__finish(void); |