diff options
author | Seokho Song <[email protected]> | 2017-12-05 01:02:44 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-12-05 15:43:56 -0300 |
commit | 712d36db5a5c57eb79e962a0f9b85964640e8415 (patch) | |
tree | 98664daf3b6468b96bf4fdce59ee82ec9e7aa5da /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | c343bade301dfe608e86b034cbabed3c0d5a50f5 (diff) |
perf report: Set browser mode right before setup_browser()
There are codes that print messages to the screen between assignment of
the use_browser variable and setup_browser().
But since the GUI browser is not initialized during that period, all
messages fail to show if the user passed the --gtk option to perf as GTK
is not initialized yet.
Reorder the code to assign use_browser variable right before
setup_browser() is called.
Signed-off-by: Seokho Song <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Jiri Olsa <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Park Ju Hyung <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions