Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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.

Signed-off-by: Stephane Eranian <eranian@google.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20140905042103.GA3091@quad
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Stephane Eranian and committed by
Arnaldo Carvalho de Melo
29a3ce31 7d4bdab5

+2
+1
tools/perf/arch/arm/tests/dwarf-unwind.c
··· 3 3 #include "thread.h" 4 4 #include "map.h" 5 5 #include "event.h" 6 + #include "debug.h" 6 7 #include "tests/tests.h" 7 8 8 9 #define STACK_SIZE 8192
+1
tools/perf/arch/arm/util/unwind-libunwind.c
··· 3 3 #include <libunwind.h> 4 4 #include "perf_regs.h" 5 5 #include "../../util/unwind.h" 6 + #include "../../util/debug.h" 6 7 7 8 int libunwind__arch_reg_id(int regnum) 8 9 {