summaryrefslogtreecommitdiffstats
path: root/tools/perf/perf.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-06-25 23:35:34 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-06-25 23:35:34 +0200
commit1b2fc358ddfb1b0915922e441182cda7043f5116 (patch)
tree4db10072c8f01e62baa133ee94308cbd7d6e2d39 /tools/perf/perf.c
parentperf tools: Remove old baggage that is util/include/linux/ctype.h (diff)
downloadlinux-1b2fc358ddfb1b0915922e441182cda7043f5116.tar.xz
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/perf.c')
-rw-r--r--tools/perf/perf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/perf.c b/tools/perf/perf.c
index 72df4b6fa36f..2123b3cc4dcf 100644
--- a/tools/perf/perf.c
+++ b/tools/perf/perf.c
@@ -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>