android_kernel_xiaomi_sm8350/tools/perf/ui/gtk
Namhyung Kim 6bf1a295a8 perf ui/gtk: Setup browser window early
The ui__error/warning functions use gtk infobar or statusbar and pr_*
functions use statusbar too.  But after perf gtk context created but
those infobar and/or statusbar not yet set up, calling one of those
functions will get a segment fault.

Although current code has no problem, move these setting as early as
possible so that it can prevent the segfault from future change.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1356078018-31905-3-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2013-01-24 16:40:16 -03:00
..
browser.c perf ui/gtk: Factor out common browser routines 2013-01-24 16:40:16 -03:00
gtk.h perf ui/gtk: Factor out common browser routines 2013-01-24 16:40:16 -03:00
helpline.c perf ui/helpline: Introduce ui_helpline__vshow() 2012-12-09 08:46:04 -03:00
hists.c perf ui/gtk: Setup browser window early 2013-01-24 16:40:16 -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