linux/tools/perf/ui
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
..
browsers perf hists: Introduce perf_hpp__list for period related columns 2012-12-09 08:46:05 -03:00
gtk perf ui/gtk: Setup browser window early 2013-01-24 16:40:16 -03:00
stdio perf hists: Rename hists__fprintf_nr_events to events_stats__fprintf 2013-01-24 16:40:11 -03:00
tui perf ui/helpline: Introduce ui_helpline__vshow() 2012-12-09 08:46:04 -03:00
browser.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
browser.h perf annotate browser: Read perf config file for settings 2012-05-29 22:06:30 -03:00
helpline.c perf ui/helpline: Introduce ui_helpline__vshow() 2012-12-09 08:46:04 -03:00
helpline.h perf ui/helpline: Introduce ui_helpline__vshow() 2012-12-09 08:46:04 -03:00
hist.c perf diff: Remove displacement output option 2012-12-09 08:46:07 -03:00
keysyms.h perf tools: Move UI bits to tools/perf/ui directory 2012-04-11 17:16:40 -03:00
libslang.h perf tools: Move UI bits to tools/perf/ui directory 2012-04-11 17:16:40 -03:00
progress.c perf ui: Add ui_progress__finish() 2012-11-14 16:52:56 -03:00
progress.h perf ui: Add ui_progress__finish() 2012-11-14 16:52:56 -03:00
setup.c perf hists: Introduce perf_hpp__list for period related columns 2012-12-09 08:46:05 -03:00
ui.h perf ui: Always compile browser setup code 2012-11-14 16:53:03 -03:00
util.c perf evsel: Introduce perf_evsel__open_strerror method 2013-01-24 16:40:09 -03:00
util.h perf ui: Introduce struct perf_error_ops 2012-06-19 13:06:18 -03:00