projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8e0108
)
perf tools: Sharpen the libaudit dependencies test
author
Ingo Molnar
<
[email protected]
>
Thu, 12 Sep 2013 13:27:06 +0000
(15:27 +0200)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Thu, 19 Sep 2013 14:32:17 +0000
(11:32 -0300)
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 <
[email protected]
>
Cc: Adrian Hunter <
[email protected]
>
Cc: David Ahern <
[email protected]
>
Cc: Frederic Weisbecker <
[email protected]
>
Cc: H. Peter Anvin <
[email protected]
>
Cc: Mike Galbraith <
[email protected]
>
Cc: Paul Mackerras <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Stephane Eranian <
[email protected]
>
Cc: Thomas Gleixner <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
[ Fix the test by escaping the double quotes ]
Signed-off-by: Arnaldo Carvalho de Melo <
[email protected]
>
tools/perf/config/feature-tests.mak
patch
|
blob
|
history
diff --git
a/tools/perf/config/feature-tests.mak
b/tools/perf/config/feature-tests.mak
index 708fb8e9822a3ed43bd192470c5da6f01c236c38..7f550c15b446c6df175327d80a7b1bd066d1ea53 100644
(file)
--- 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