Skip to contentSkip to conversation

perf tool: fix compilation for ARM

PATCH New Stephane Eranian 2 participants 2 messages Sep 5, 2014 – Sep 19, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf tool: fix compilation for ARM

This patch fixes ARM compile of the perf tool.
The debug.h header file was missing from a couple
of unwind related modules.

--

tools/perf/arch/arm/tests/dwarf-unwind.c +1 -0
index 9f870d2..62eff84 100644
@@ -3,6 +3,7 @@
 #include "thread.h"
 #include "map.h"
 #include "event.h"
+#include "debug.h"
 #include "tests/tests.h"
 
 #define STACK_SIZE 8192
tools/perf/arch/arm/util/unwind-libunwind.c +1 -0
index 729ed69..62c397e 100644
@@ -3,6 +3,7 @@
 #include <libunwind.h>
 #include "perf_regs.h"
 #include "../../util/unwind.h"
+#include "../../util/debug.h"
 
 int libunwind__arch_reg_id(int regnum)
 {
#1 lore raw
perf tool: fix compilation for ARM
Commit-ID:  29a3ce31c38c8f73f4e076b7ffc0876b4f5dd6c3
Gitweb:     http://git.kernel.org/tip/29a3ce31c38c8f73f4e076b7ffc0876b4f5dd6c3
Author:     Stephane Eranian <[email protected]>
AuthorDate: Fri, 5 Sep 2014 06:21:04 +0200
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Wed, 17 Sep 2014 17:08:09 -0300

perf tool: fix compilation for ARM

This patch fixes ARM compile of the perf tool. The debug.h header file was missing from a couple of unwind related modules.

---
 tools/perf/arch/arm/tests/dwarf-unwind.c    | 1 +
 tools/perf/arch/arm/util/unwind-libunwind.c | 1 +
 2 files changed, 2 insertions(+)
tools/perf/arch/arm/tests/dwarf-unwind.c +1 -0
index 9f870d2..62eff84 100644
@@ -3,6 +3,7 @@
 #include "thread.h"
 #include "map.h"
 #include "event.h"
+#include "debug.h"
 #include "tests/tests.h"
 
 #define STACK_SIZE 8192
tools/perf/arch/arm/util/unwind-libunwind.c +1 -0
index 729ed69..62c397e 100644
@@ -3,6 +3,7 @@
 #include <libunwind.h>
 #include "perf_regs.h"
 #include "../../util/unwind.h"
+#include "../../util/debug.h"
 
 int libunwind__arch_reg_id(int regnum)
 {