[tip: perf/core] perf arm64: Add missing debug.h header
From: tip-bot2 for Arnaldo Carvalho de Melo
Date: Fri Aug 23 2019 - 08:22:06 EST
The following commit has been merged into the perf/core branch of tip:
Commit-ID: 45a2c0ccf6b96b046ad167a8c90ceaa5e59d07cb
Gitweb: https://git.kernel.org/tip/45a2c0ccf6b96b046ad167a8c90ceaa5e59d07cb
Author: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
AuthorDate: Thu, 22 Aug 2019 15:03:37 -03:00
Committer: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
CommitterDate: Thu, 22 Aug 2019 15:09:18 -03:00
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@xxxxxxxxx>
Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
Link: https://lkml.kernel.org/n/tip-t7pisnsdfh88kclpw52jcwl7@xxxxxxxxxxxxxx
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
---
tools/perf/arch/arm64/util/header.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/perf/arch/arm64/util/header.c b/tools/perf/arch/arm64/util/header.c
index 602caf5..e41defa 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"