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.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 9f3926e0
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include "../../util/pmu.h" #include "../../util/pmu.h"
#include "../../util/thread_map.h" #include "../../util/thread_map.h"
#include "../../util/cs-etm.h" #include "../../util/cs-etm.h"
#include "../../util/util.h"
#include <errno.h> #include <errno.h>
#include <stdlib.h> #include <stdlib.h>
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#include "evlist.h" #include "evlist.h"
#include "evsel.h" #include "evsel.h"
#include "arch-tests.h" #include "arch-tests.h"
#include "util.h"
#include <signal.h> #include <signal.h>
#include <sys/mman.h> #include <sys/mman.h>
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include "../../util/auxtrace.h" #include "../../util/auxtrace.h"
#include "../../util/tsc.h" #include "../../util/tsc.h"
#include "../../util/intel-pt.h" #include "../../util/intel-pt.h"
#include "../../util/util.h"
#define KiB(x) ((x) * 1024) #define KiB(x) ((x) * 1024)
#define MiB(x) ((x) * 1024 * 1024) #define MiB(x) ((x) * 1024 * 1024)
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
#include "util/bpf-loader.h" #include "util/bpf-loader.h"
#include "util/debug.h" #include "util/debug.h"
#include "util/event.h" #include "util/event.h"
#include "util/util.h"
#include <api/fs/fs.h> #include <api/fs/fs.h>
#include <api/fs/tracing_path.h> #include <api/fs/tracing_path.h>
#include <errno.h> #include <errno.h>
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#include "strlist.h" #include "strlist.h"
#include "thread.h" #include "thread.h"
#include "vdso.h" #include "vdso.h"
#include "util.h"
#include <stdbool.h> #include <stdbool.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include "print_binary.h" #include "print_binary.h"
#include "thread_map.h" #include "thread_map.h"
#include "mmap.h" #include "mmap.h"
#include "util.h"
#if PY_MAJOR_VERSION < 3 #if PY_MAJOR_VERSION < 3
#define _PyUnicode_FromString(arg) \ #define _PyUnicode_FromString(arg) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment