From: Arnaldo Carvalho de Melo <acme@infradead.org>
To: Ingo Molnar <mingo@kernel.org>
Cc: linux-kernel@vger.kernel.org,
Adrian Hunter <adrian.hunter@intel.com>,
David Ahern <dsahern@gmail.com>,
Frederic Weisbecker <fweisbec@gmail.com>,
"H. Peter Anvin" <hpa@zytor.com>, Mike Galbraith <efault@gmx.de>,
Paul Mackerras <paulus@samba.org>,
Peter Zijlstra <peterz@infradead.org>,
Stephane Eranian <eranian@google.com>,
Thomas Gleixner <tglx@linutronix.de>,
Arnaldo Carvalho de Melo <acme@redhat.com>
Subject: [PATCH 1/9] perf tools: Sharpen the libaudit dependencies test
Date: Thu, 19 Sep 2013 15:40:24 -0300 [thread overview]
Message-ID: <1379616032-13061-2-git-send-email-acme@infradead.org> (raw)
In-Reply-To: <1379616032-13061-1-git-send-email-acme@infradead.org>
From: Ingo Molnar <mingo@kernel.org>
There are older libaudit versions that don't have an
audit_errno_to_name() method, resulting in a builtin-trace.c build
error:
builtin-trace.c: In function ‘trace__sys_exit’:
builtin-trace.c:794: warning: implicit declaration of function ‘audit_errno_to_name’
Expand the libaudit test to detect this.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20130912132706.GD23826@gmail.com
[ Fix the test by escaping the double quotes ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
tools/perf/config/feature-tests.mak | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/perf/config/feature-tests.mak b/tools/perf/config/feature-tests.mak
index 708fb8e..7f550c1 100644
--- a/tools/perf/config/feature-tests.mak
+++ b/tools/perf/config/feature-tests.mak
@@ -210,6 +210,7 @@ define SOURCE_LIBAUDIT
int main(void)
{
+ printf(\"error message: %s\n\", audit_errno_to_name(0));
return audit_open();
}
endef
--
1.8.1.4
next prev parent reply other threads:[~2013-09-19 18:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-19 18:40 [GIT PULL 0/9] perf/urgent fixes Arnaldo Carvalho de Melo
2013-09-19 18:40 ` Arnaldo Carvalho de Melo [this message]
2013-09-19 18:40 ` [PATCH 2/9] perf tools: Fill in new definitions for madvise()/mmap() flags Arnaldo Carvalho de Melo
2013-09-19 18:40 ` [PATCH 3/9] perf annotate: Fix objdump line parsing offset validation Arnaldo Carvalho de Melo
2013-09-19 18:40 ` [PATCH 4/9] perf tools: Fix buildid cache handling of kallsyms with kcore Arnaldo Carvalho de Melo
2013-09-19 18:40 ` [PATCH 5/9] perf tools: Fix compile with libelf without get_phdrnum Arnaldo Carvalho de Melo
2013-09-19 18:40 ` [PATCH 6/9] perf session: Check for SIGINT in more loops Arnaldo Carvalho de Melo
2013-09-19 18:40 ` [PATCH 7/9] perf probe: Fix finder to find lines of given function Arnaldo Carvalho de Melo
2013-09-19 18:40 ` [PATCH 8/9] perf tools: Fix old GCC build error in trace-event-parse.c:parse_proc_kallsyms() Arnaldo Carvalho de Melo
2013-09-19 18:40 ` [PATCH 9/9] tools lib lk: Uninclude linux/magic.h in debugfs.c Arnaldo Carvalho de Melo
2013-09-20 5:15 ` [GIT PULL 0/9] 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=1379616032-13061-2-git-send-email-acme@infradead.org \
--to=acme@infradead.org \
--cc=acme@redhat.com \
--cc=adrian.hunter@intel.com \
--cc=dsahern@gmail.com \
--cc=efault@gmx.de \
--cc=eranian@google.com \
--cc=fweisbec@gmail.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=paulus@samba.org \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
/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
all inboxes | Powered by JetHome®