diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-25 13:28:08 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-25 13:28:08 -0700 |
commit | bdc5663fa14de657f24080ee959670d49c8dd094 (patch) | |
tree | e97fc2caa29655ae5550f2467f56b6590e85a231 /tools/perf/config/feature-tests.mak | |
parent | 743a7ecbe8e28d487e2573ec2b7fb1179a443717 (diff) | |
parent | cf3b425dd8d99e01214515a6754f9e69ecc6dce8 (diff) | |
download | linux-bdc5663fa14de657f24080ee959670d49c8dd094.tar.gz linux-bdc5663fa14de657f24080ee959670d49c8dd094.tar.bz2 linux-bdc5663fa14de657f24080ee959670d49c8dd094.zip |
Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull perf fixes from Ingo Molnar:
"Assorted standalone fixes"
* 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
perf/x86/intel: Add model number for Avoton Silvermont
perf: Fix capabilities bitfield compatibility in 'struct perf_event_mmap_page'
perf/x86/intel/uncore: Don't use smp_processor_id() in validate_group()
perf: Update ABI comment
tools lib lk: Uninclude linux/magic.h in debugfs.c
perf tools: Fix old GCC build error in trace-event-parse.c:parse_proc_kallsyms()
perf probe: Fix finder to find lines of given function
perf session: Check for SIGINT in more loops
perf tools: Fix compile with libelf without get_phdrnum
perf tools: Fix buildid cache handling of kallsyms with kcore
perf annotate: Fix objdump line parsing offset validation
perf tools: Fill in new definitions for madvise()/mmap() flags
perf tools: Sharpen the libaudit dependencies test
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) } endef +define SOURCE_ELF_GETPHDRNUM +#include <libelf.h> +int main(void) +{ + size_t dst; + return elf_getphdrnum(0, &dst); +} +endef + ifndef NO_SLANG define SOURCE_SLANG #include <slang.h> @@ -210,6 +219,7 @@ define SOURCE_LIBAUDIT int main(void) { + printf(\"error message: %s\n\", audit_errno_to_name(0)); return audit_open(); } endef |