aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/ui/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/ui/setup.c')
-rw-r--r--tools/perf/ui/setup.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/tools/perf/ui/setup.c b/tools/perf/ui/setup.c
index 791fb15ce350..bd7d460f844c 100644
--- a/tools/perf/ui/setup.c
+++ b/tools/perf/ui/setup.c
@@ -1,6 +1,10 @@
1#include "../cache.h" 1#include <pthread.h>
2#include "../debug.h"
3 2
3#include "../util/cache.h"
4#include "../util/debug.h"
5#include "../util/hist.h"
6
7pthread_mutex_t ui__lock = PTHREAD_MUTEX_INITIALIZER;
4 8
5void setup_browser(bool fallback_to_pager) 9void setup_browser(bool fallback_to_pager)
6{ 10{
@@ -25,6 +29,8 @@ void setup_browser(bool fallback_to_pager)
25 use_browser = 0; 29 use_browser = 0;
26 if (fallback_to_pager) 30 if (fallback_to_pager)
27 setup_pager(); 31 setup_pager();
32
33 perf_hpp__init(false, false);
28 break; 34 break;
29 } 35 }
30} 36}