diff options
author | Namhyung Kim <namhyung@kernel.org> | 2012-12-21 17:20:14 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-01-24 16:40:16 -0300 |
commit | 6bf1a295a896c8dbe8cad663c6344e8c877a0570 (patch) | |
tree | 8370852e2b4c3b0b93bd24f869ba3f9cf35ae85c /tools/lib/traceevent | |
parent | 0da41ce954840a74e7a0de9c8268bf855147e902 (diff) | |
download | linux-6bf1a295a896c8dbe8cad663c6344e8c877a0570.tar.gz linux-6bf1a295a896c8dbe8cad663c6344e8c877a0570.tar.bz2 linux-6bf1a295a896c8dbe8cad663c6344e8c877a0570.zip |
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>
Diffstat (limited to 'tools/lib/traceevent')
0 files changed, 0 insertions, 0 deletions