.. | .. |
---|
1 | 1 | // SPDX-License-Identifier: GPL-2.0 |
---|
2 | 2 | #include <pthread.h> |
---|
3 | 3 | #include <dlfcn.h> |
---|
| 4 | +#include <unistd.h> |
---|
4 | 5 | |
---|
5 | | -#include "../util/cache.h" |
---|
| 6 | +#include <subcmd/pager.h> |
---|
6 | 7 | #include "../util/debug.h" |
---|
7 | 8 | #include "../util/hist.h" |
---|
8 | | -#include "../util/util.h" |
---|
| 9 | +#include "ui.h" |
---|
9 | 10 | |
---|
10 | 11 | pthread_mutex_t ui__lock = PTHREAD_MUTEX_INITIALIZER; |
---|
11 | 12 | void *perf_gtk_handle; |
---|
.. | .. |
---|
89 | 90 | printf("GTK browser requested but could not find %s\n", |
---|
90 | 91 | PERF_GTK_DSO); |
---|
91 | 92 | sleep(1); |
---|
| 93 | + use_browser = 1; |
---|
92 | 94 | /* fall through */ |
---|
93 | 95 | case 1: |
---|
94 | | - use_browser = 1; |
---|
95 | 96 | if (ui__init() == 0) |
---|
96 | 97 | break; |
---|
97 | 98 | /* fall through */ |
---|