diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2013-11-05 14:58:01 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2013-11-05 14:58:04 +1100 |
commit | 7f1546329db7b573f3a640d75cc1af40dc5ee9ed (patch) | |
tree | 2fe1446a800cfd5a5f52b3bdc16f9dd43968eb57 /tools/perf/config/feature-checks/test-libelf-getphdrnum.c | |
parent | ddb758d5bb04265c29afbec3496f4b2f2fc2aa09 (diff) | |
parent | f497c33a948932e2a11b71d1ea07b2eedbc2f0d7 (diff) |
Merge remote-tracking branch 'tip/auto-latest'
Conflicts:
arch/h8300/include/asm/Kbuild
include/linux/acpi.h
include/linux/wait.h
tools/perf/config/Makefile
tools/perf/config/feature-tests.mak
Diffstat (limited to 'tools/perf/config/feature-checks/test-libelf-getphdrnum.c')
-rw-r--r-- | tools/perf/config/feature-checks/test-libelf-getphdrnum.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/perf/config/feature-checks/test-libelf-getphdrnum.c b/tools/perf/config/feature-checks/test-libelf-getphdrnum.c new file mode 100644 index 000000000000..d710459306c3 --- /dev/null +++ b/tools/perf/config/feature-checks/test-libelf-getphdrnum.c @@ -0,0 +1,8 @@ +#include <libelf.h> + +int main(void) +{ + size_t dst; + + return elf_getphdrnum(0, &dst); +} |