dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/tools/perf/ui/gtk
Namhyung Kim a5580f3ecb perf ui: Add ui_progress__finish()
Sometimes we need to know when the progress bar should disappear.

Checking curr >= total wasn't enough since there're cases not met that
condition for the last call.

So add a new ->finish callback to identify this explicitly.  Currently
only GTK frontend needs it.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1352813436-14173-4-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2012-11-14 16:52:56 -03:00
..
browser.c perf tools: Introduce struct hist_browser_timer 2012-11-05 14:03:58 -03:00
gtk.h perf ui gtk: Implement ui_progress functions 2012-11-14 16:52:48 -03:00
helpline.c perf ui gtk: Add perf_gtk__show_helpline() for pr_* 2012-08-17 12:37:56 -03:00
progress.c perf ui: Add ui_progress__finish() 2012-11-14 16:52:56 -03:00
setup.c perf ui gtk: Implement ui_progress functions 2012-11-14 16:52:48 -03:00
util.c perf ui: Introduce generic ui_progress helper 2012-11-14 16:52:39 -03:00