From: William Cohen <wcohen@redhat.com>
To: linux-perf-users@vger.kernel.org
Cc: William Cohen <wcohen@redhat.com>
Subject: [PATCH 2/2] The arm64 dwarf unwinder is missing a needed include
Date: Wed, 8 Oct 2014 12:45:05 -0400 [thread overview]
Message-ID: <1412786705-19994-2-git-send-email-wcohen@redhat.com> (raw)
In-Reply-To: <1412786705-19994-1-git-send-email-wcohen@redhat.com>
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
prev parent reply other threads:[~2014-10-08 16:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1412786705-19994-2-git-send-email-wcohen@redhat.com \
--to=wcohen@redhat.com \
--cc=linux-perf-users@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).