* [PATCH 1/2] The ARM dwarf unwinder is missing some needed includes
@ 2014-10-08 16:45 William Cohen
2014-10-08 16:45 ` [PATCH 2/2] The arm64 dwarf unwinder is missing a needed include William Cohen
0 siblings, 1 reply; 2+ messages in thread
From: William Cohen @ 2014-10-08 16:45 UTC (permalink / raw)
To: linux-perf-users; +Cc: William Cohen
When the libunwind is available perf does not build on ARM machines
because debug.h is not included in a couple files. The debug.h provides
some needed defines.
Signed-off-by: William Cohen <wcohen@redhat.com>
---
tools/perf/arch/arm/tests/dwarf-unwind.c | 1 +
tools/perf/arch/arm/util/unwind-libunwind.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/tools/perf/arch/arm/tests/dwarf-unwind.c b/tools/perf/arch/arm/tests/dwarf-unwind.c
index 9f870d2..62eff84 100644
--- a/tools/perf/arch/arm/tests/dwarf-unwind.c
+++ b/tools/perf/arch/arm/tests/dwarf-unwind.c
@@ -3,6 +3,7 @@
#include "thread.h"
#include "map.h"
#include "event.h"
+#include "debug.h"
#include "tests/tests.h"
#define STACK_SIZE 8192
diff --git a/tools/perf/arch/arm/util/unwind-libunwind.c b/tools/perf/arch/arm/util/unwind-libunwind.c
index 729ed69..62c397e 100644
--- a/tools/perf/arch/arm/util/unwind-libunwind.c
+++ b/tools/perf/arch/arm/util/unwind-libunwind.c
@@ -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.9.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 2/2] The arm64 dwarf unwinder is missing a needed include
2014-10-08 16:45 [PATCH 1/2] The ARM dwarf unwinder is missing some needed includes William Cohen
@ 2014-10-08 16:45 ` William Cohen
0 siblings, 0 replies; 2+ messages in thread
From: William Cohen @ 2014-10-08 16:45 UTC (permalink / raw)
To: linux-perf-users; +Cc: William Cohen
When the libunwind is available perf does not build on arm64 machines
because debug.h is not included. The debug.h provides some needed
defines.
Signed-off-by: William Cohen <wcohen@redhat.com>
---
tools/perf/arch/arm64/util/unwind-libunwind.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/perf/arch/arm64/util/unwind-libunwind.c b/tools/perf/arch/arm64/util/unwind-libunwind.c
index 436ee43..a87afa9 100644
--- a/tools/perf/arch/arm64/util/unwind-libunwind.c
+++ b/tools/perf/arch/arm64/util/unwind-libunwind.c
@@ -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.9.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-08 16:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-08 16:45 [PATCH 1/2] The ARM dwarf unwinder is missing some needed includes William Cohen
2014-10-08 16:45 ` [PATCH 2/2] The arm64 dwarf unwinder is missing a needed include William Cohen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).