projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf tools: Check libaudit availability for perf-trace builtin
[cascardo/linux.git]
/
tools
/
perf
/
config
/
feature-tests.mak
diff --git
a/tools/perf/config/feature-tests.mak
b/tools/perf/config/feature-tests.mak
index
116690a
..
4add41b
100644
(file)
--- a/
tools/perf/config/feature-tests.mak
+++ b/
tools/perf/config/feature-tests.mak
@@
-193,3
+193,14
@@
int main(void)
}
endef
endif
+
+ifndef NO_LIBAUDIT
+define SOURCE_LIBAUDIT
+#include <libaudit.h>
+
+int main(void)
+{
+ return audit_open();
+}
+endef
+endif
\ No newline at end of file