summaryrefslogtreecommitdiffstats
path: root/tools/perf/ui/setup.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2012-09-09 10:39:14 +0200
committerIngo Molnar <mingo@kernel.org>2012-09-09 10:39:14 +0200
commitd5cb2aef4fda355fbafe8db4f425b73ea94d2019 (patch)
treef6812e5248557bd16803f787e0cbc9d57ab60133 /tools/perf/ui/setup.c
parentef34eb4da3eb62a1511592adf7c76d74faca0b14 (diff)
parent6c7f631261064762a8ba1ee34fc2b76d117ef3fa (diff)
Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Pull perf/core improvements and fixes from Arnaldo Carvalho de Melo: * Don't pass const char pointers to basename, so that we can unconditionally use libgen.h and thus avoid ifdef BIONIC lines, from David Ahern * Fix assert/BUG_ON when NDEBUG is defined, from Irina Tirdea. * Refactor hist formatting so that it can be reused with the GTK browser, From Namhyung Kim Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/ui/setup.c')
-rw-r--r--tools/perf/ui/setup.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/perf/ui/setup.c b/tools/perf/ui/setup.c
index c7820e56966..bd7d460f844 100644
--- a/tools/perf/ui/setup.c
+++ b/tools/perf/ui/setup.c
@@ -1,8 +1,8 @@
#include <pthread.h>
-#include "../cache.h"
-#include "../debug.h"
-
+#include "../util/cache.h"
+#include "../util/debug.h"
+#include "../util/hist.h"
pthread_mutex_t ui__lock = PTHREAD_MUTEX_INITIALIZER;
@@ -29,6 +29,8 @@ void setup_browser(bool fallback_to_pager)
use_browser = 0;
if (fallback_to_pager)
setup_pager();
+
+ perf_hpp__init(false, false);
break;
}
}