diff options
author | Namhyung Kim <[email protected]> | 2012-11-13 22:30:33 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-11-14 16:52:48 -0300 |
commit | a753579c3ec096bba9d24e1594a07dbb25aca8e4 (patch) | |
tree | 9324d6e2a658ca338619f88f4fbd91089a6e781d /tools/perf/ui/gtk/setup.c | |
parent | 688f2f5b99311b127ea43efdbf47bb2e3c7a2e32 (diff) |
perf ui gtk: Implement ui_progress functions
Implement progress update function for GTK2 front end.
Note that since it will be called before gtk main loop so that we should
call gtk event loop handler directly.
Signed-off-by: Namhyung Kim <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/ui/gtk/setup.c')
-rw-r--r-- | tools/perf/ui/gtk/setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/ui/gtk/setup.c b/tools/perf/ui/gtk/setup.c index 3c4c6ef78283..6c2dd2e423f3 100644 --- a/tools/perf/ui/gtk/setup.c +++ b/tools/perf/ui/gtk/setup.c @@ -8,7 +8,9 @@ int perf_gtk__init(void) { perf_error__register(&perf_gtk_eops); perf_gtk__init_helpline(); + perf_gtk__init_progress(); perf_gtk__init_hpp(); + return gtk_init_check(NULL, NULL) ? 0 : -1; } |