summaryrefslogtreecommitdiffstats
path: root/tools/perf/arch/arm64
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-08-22 20:03:37 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-08-22 20:09:18 +0200
commit45a2c0ccf6b96b046ad167a8c90ceaa5e59d07cb (patch)
tree2700dc3baf9a6e737725e24f4727f5d9c6834a42 /tools/perf/arch/arm64
parentlibperf: Move perf's cpu_map__idx() to perf_cpu_map__idx() (diff)
downloadlinux-45a2c0ccf6b96b046ad167a8c90ceaa5e59d07cb.tar.xz
linux-45a2c0ccf6b96b046ad167a8c90ceaa5e59d07cb.zip
perf arm64: Add missing debug.h header
This file uses pr_debug() but isn't including debug.h, getting it by luck, fix it. 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-t7pisnsdfh88kclpw52jcwl7@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/arch/arm64')
-rw-r--r--tools/perf/arch/arm64/util/header.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/arch/arm64/util/header.c b/tools/perf/arch/arm64/util/header.c
index 602caf550e7f..e41defaaa2e6 100644
--- a/tools/perf/arch/arm64/util/header.c
+++ b/tools/perf/arch/arm64/util/header.c
@@ -1,6 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <api/fs/fs.h>
+#include "debug.h"
#include "header.h"
#define MIDR "/regs/identification/midr_el1"