perf tools: Add missing util.h to pick up 'page_size' variable
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 25 Jun 2019 21:35:34 +0000 (18:35 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 25 Jun 2019 21:35:34 +0000 (18:35 -0300)
Not to depend of getting it indirectly.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-tirjsmvu4ektw0k7lm8k9lhu@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/arm/util/cs-etm.c
tools/perf/arch/x86/tests/intel-cqm.c
tools/perf/arch/x86/util/intel-pt.c
tools/perf/perf.c
tools/perf/util/machine.c
tools/perf/util/python.c

index c6f1ab5499b503b123bb40ff2f72f950510ffab1..2b83cc8e4796d95b4f0711a0e8415a6d3ab48bd3 100644 (file)
@@ -22,6 +22,7 @@
 #include "../../util/pmu.h"
 #include "../../util/thread_map.h"
 #include "../../util/cs-etm.h"
+#include "../../util/util.h"
 
 #include <errno.h>
 #include <stdlib.h>
index 90a4a8c58a62b8e26a7e3471bcb9e2e529cddcd4..94aa0b673b7f090b2e7125a13f92478fbfde7652 100644 (file)
@@ -6,6 +6,7 @@
 #include "evlist.h"
 #include "evsel.h"
 #include "arch-tests.h"
+#include "util.h"
 
 #include <signal.h>
 #include <sys/mman.h>
index 1869f62a10cd0bd1da0625df623c59494c8f31ed..9804098dcefb46879cab364abc688ab0f8b696c9 100644 (file)
@@ -25,6 +25,7 @@
 #include "../../util/auxtrace.h"
 #include "../../util/tsc.h"
 #include "../../util/intel-pt.h"
+#include "../../util/util.h"
 
 #define KiB(x) ((x) * 1024)
 #define MiB(x) ((x) * 1024 * 1024)
index 72df4b6fa36fd12ad45cf00cdb0750d27c5d5061..2123b3cc4dcf0bf9f8b97c051092d51380f109fd 100644 (file)
@@ -18,6 +18,7 @@
 #include "util/bpf-loader.h"
 #include "util/debug.h"
 #include "util/event.h"
+#include "util/util.h"
 #include <api/fs/fs.h>
 #include <api/fs/tracing_path.h>
 #include <errno.h>
index 17eec39e775e1f49261bc61dec9a2cb81972ff28..a0bb05dd008fd088d0176a593aa3722ffc7dfc6d 100644 (file)
@@ -15,6 +15,7 @@
 #include "strlist.h"
 #include "thread.h"
 #include "vdso.h"
+#include "util.h"
 #include <stdbool.h>
 #include <sys/types.h>
 #include <sys/stat.h>
index 6aa7e2352e16e118097ca128cedb69976cb7205c..1e5b6718dcea8ada8ffdc2dcbb904c29cf02f733 100644 (file)
@@ -12,6 +12,7 @@
 #include "print_binary.h"
 #include "thread_map.h"
 #include "mmap.h"
+#include "util.h"
 
 #if PY_MAJOR_VERSION < 3
 #define _PyUnicode_FromString(arg) \