diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-06-25 18:35:34 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-06-25 18:35:34 -0300 |
commit | 1b2fc358ddfb1b0915922e441182cda7043f5116 (patch) | |
tree | 4db10072c8f01e62baa133ee94308cbd7d6e2d39 /tools/perf/util | |
parent | 9f3926e08c26607a0dd5b1bc8a8aa1d03f72fcdc (diff) | |
download | linux-1b2fc358ddfb1b0915922e441182cda7043f5116.tar.gz linux-1b2fc358ddfb1b0915922e441182cda7043f5116.tar.bz2 linux-1b2fc358ddfb1b0915922e441182cda7043f5116.zip |
perf tools: Add missing util.h to pick up 'page_size' variable
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>
Diffstat (limited to 'tools/perf/util')
-rw-r--r-- | tools/perf/util/machine.c | 1 | ||||
-rw-r--r-- | tools/perf/util/python.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/machine.c b/tools/perf/util/machine.c index 17eec39e775e..a0bb05dd008f 100644 --- a/tools/perf/util/machine.c +++ b/tools/perf/util/machine.c @@ -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> diff --git a/tools/perf/util/python.c b/tools/perf/util/python.c index 6aa7e2352e16..1e5b6718dcea 100644 --- a/tools/perf/util/python.c +++ b/tools/perf/util/python.c @@ -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) \ |