From: Arnaldo Carvalho de Melo <acme@infradead.org>
To: Ingo Molnar <mingo@kernel.org>
Cc: linux-kernel@vger.kernel.org, Kyle McMartin <kyle@redhat.com>,
Ingo Molnar <mingo@redhat.com>,
Linus Torvalds <torvalds@linux-foundation.org>,
Arnaldo Carvalho de Melo <acme@redhat.com>
Subject: [PATCH 5/6] perf trace: Check if MAP_32BIT is defined
Date: Thu, 5 Sep 2013 16:42:42 -0300 [thread overview]
Message-ID: <1378410163-2606-6-git-send-email-acme@infradead.org> (raw)
In-Reply-To: <1378410163-2606-1-git-send-email-acme@infradead.org>
From: Kyle McMartin <kyle@redhat.com>
MAP_32BIT is defined only on x86... this means perf fails to build on
all other platforms.
Signed-off-by: Kyle McMartin <kyle@redhat.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/20130905142947.GA25882@merlin.infradead.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
tools/perf/builtin-trace.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c
index 6016112..f5aa637 100644
--- a/tools/perf/builtin-trace.c
+++ b/tools/perf/builtin-trace.c
@@ -100,7 +100,9 @@ static size_t syscall_arg__scnprintf_mmap_flags(char *bf, size_t size,
P_MMAP_FLAG(SHARED);
P_MMAP_FLAG(PRIVATE);
+#ifdef MAP_32BIT
P_MMAP_FLAG(32BIT);
+#endif
P_MMAP_FLAG(ANONYMOUS);
P_MMAP_FLAG(DENYWRITE);
P_MMAP_FLAG(EXECUTABLE);
--
1.8.1.4
next prev parent reply other threads:[~2013-09-05 19:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-05 19:42 [GIT PULL 0/6] perf/urgent fixes Arnaldo Carvalho de Melo
2013-09-05 19:42 ` [PATCH 1/6] perf trace: Check control+C more often Arnaldo Carvalho de Melo
2013-09-05 19:42 ` [PATCH 2/6] perf tools: Add test for parsing with no sample_id_all bit Arnaldo Carvalho de Melo
2013-09-05 19:42 ` [PATCH 3/6] perf evlist: Fix parsing with no sample_id_all bit set Arnaldo Carvalho de Melo
2013-09-05 19:42 ` [PATCH 4/6] perf hists: Fix formatting of long symbol names Arnaldo Carvalho de Melo
2013-09-05 19:42 ` Arnaldo Carvalho de Melo [this message]
2013-09-05 19:42 ` [PATCH 6/6] perf session: Separate progress bar update when processing events Arnaldo Carvalho de Melo
2013-09-06 12:09 ` [GIT PULL 0/6] perf/urgent fixes Ingo Molnar
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=1378410163-2606-6-git-send-email-acme@infradead.org \
--to=acme@infradead.org \
--cc=acme@redhat.com \
--cc=kyle@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=mingo@redhat.com \
--cc=torvalds@linux-foundation.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).