diff options
Diffstat (limited to 'tools/perf/config/feature-tests.mak')
| -rw-r--r-- | tools/perf/config/feature-tests.mak | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/perf/config/feature-tests.mak b/tools/perf/config/feature-tests.mak index 708fb8e9822a..d5a8dd44945f 100644 --- a/tools/perf/config/feature-tests.mak +++ b/tools/perf/config/feature-tests.mak | |||
| @@ -61,6 +61,15 @@ int main(void) | |||
| 61 | } | 61 | } |
| 62 | endef | 62 | endef |
| 63 | 63 | ||
| 64 | define SOURCE_ELF_GETPHDRNUM | ||
| 65 | #include <libelf.h> | ||
| 66 | int main(void) | ||
| 67 | { | ||
| 68 | size_t dst; | ||
| 69 | return elf_getphdrnum(0, &dst); | ||
| 70 | } | ||
| 71 | endef | ||
| 72 | |||
| 64 | ifndef NO_SLANG | 73 | ifndef NO_SLANG |
| 65 | define SOURCE_SLANG | 74 | define SOURCE_SLANG |
| 66 | #include <slang.h> | 75 | #include <slang.h> |
| @@ -210,6 +219,7 @@ define SOURCE_LIBAUDIT | |||
| 210 | 219 | ||
| 211 | int main(void) | 220 | int main(void) |
| 212 | { | 221 | { |
| 222 | printf(\"error message: %s\n\", audit_errno_to_name(0)); | ||
| 213 | return audit_open(); | 223 | return audit_open(); |
| 214 | } | 224 | } |
| 215 | endef | 225 | endef |
