diff options
author | Namhyung Kim <[email protected]> | 2012-12-21 17:20:14 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-01-24 16:40:16 -0300 |
commit | 6bf1a295a896c8dbe8cad663c6344e8c877a0570 (patch) | |
tree | 8370852e2b4c3b0b93bd24f869ba3f9cf35ae85c /tools/perf/scripts/python/sched-migration.py | |
parent | 0da41ce954840a74e7a0de9c8268bf855147e902 (diff) |
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 <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Paul Mackerras <[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/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions