2010-05-31 14:13:21 +00:00
|
|
|
tools/perf
|
2015-05-07 20:52:19 +00:00
|
|
|
tools/arch/alpha/include/asm/barrier.h
|
2015-05-07 21:14:25 +00:00
|
|
|
tools/arch/arm/include/asm/barrier.h
|
2016-01-08 14:23:57 +00:00
|
|
|
tools/arch/arm64/include/asm/barrier.h
|
2015-05-07 21:03:14 +00:00
|
|
|
tools/arch/ia64/include/asm/barrier.h
|
2015-05-08 12:40:36 +00:00
|
|
|
tools/arch/mips/include/asm/barrier.h
|
2015-05-06 21:35:20 +00:00
|
|
|
tools/arch/powerpc/include/asm/barrier.h
|
2015-05-06 21:44:53 +00:00
|
|
|
tools/arch/s390/include/asm/barrier.h
|
2015-05-07 20:09:48 +00:00
|
|
|
tools/arch/sh/include/asm/barrier.h
|
2015-05-07 20:27:23 +00:00
|
|
|
tools/arch/sparc/include/asm/barrier.h
|
|
|
|
tools/arch/sparc/include/asm/barrier_32.h
|
|
|
|
tools/arch/sparc/include/asm/barrier_64.h
|
2015-05-08 13:02:00 +00:00
|
|
|
tools/arch/tile/include/asm/barrier.h
|
2015-04-30 15:33:22 +00:00
|
|
|
tools/arch/x86/include/asm/barrier.h
|
2016-07-11 15:36:41 +00:00
|
|
|
tools/arch/x86/include/asm/cpufeatures.h
|
|
|
|
tools/arch/x86/include/asm/disabled-features.h
|
|
|
|
tools/arch/x86/include/asm/required-features.h
|
2016-07-12 13:57:25 +00:00
|
|
|
tools/arch/x86/include/uapi/asm/svm.h
|
|
|
|
tools/arch/x86/include/uapi/asm/vmx.h
|
|
|
|
tools/arch/x86/include/uapi/asm/kvm.h
|
|
|
|
tools/arch/x86/include/uapi/asm/kvm_perf.h
|
2016-07-11 15:36:41 +00:00
|
|
|
tools/arch/x86/lib/memcpy_64.S
|
|
|
|
tools/arch/x86/lib/memset_64.S
|
2016-07-12 13:57:25 +00:00
|
|
|
tools/arch/s390/include/uapi/asm/kvm_perf.h
|
|
|
|
tools/arch/s390/include/uapi/asm/sie.h
|
2015-05-08 11:53:26 +00:00
|
|
|
tools/arch/xtensa/include/asm/barrier.h
|
2012-05-30 18:02:42 +00:00
|
|
|
tools/scripts
|
2014-12-29 12:51:45 +00:00
|
|
|
tools/build
|
2015-04-07 14:53:41 +00:00
|
|
|
tools/arch/x86/include/asm/atomic.h
|
|
|
|
tools/arch/x86/include/asm/rmwcc.h
|
2012-05-30 18:02:42 +00:00
|
|
|
tools/lib/traceevent
|
2014-01-10 19:25:05 +00:00
|
|
|
tools/lib/api
|
2015-07-08 10:04:02 +00:00
|
|
|
tools/lib/bpf
|
2015-12-15 15:39:39 +00:00
|
|
|
tools/lib/subcmd
|
2015-07-09 19:27:25 +00:00
|
|
|
tools/lib/hweight.c
|
2015-07-06 01:48:21 +00:00
|
|
|
tools/lib/rbtree.c
|
2015-11-16 14:36:29 +00:00
|
|
|
tools/lib/string.c
|
2013-12-11 12:15:00 +00:00
|
|
|
tools/lib/symbol/kallsyms.c
|
|
|
|
tools/lib/symbol/kallsyms.h
|
2016-01-08 13:46:52 +00:00
|
|
|
tools/lib/find_bit.c
|
2016-01-11 10:54:51 +00:00
|
|
|
tools/lib/bitmap.c
|
tools: Introduce str_error_r()
The tools so far have been using the strerror_r() GNU variant, that
returns a string, be it the buffer passed or something else.
But that, besides being tricky in cases where we expect that the
function using strerror_r() returns the error formatted in a provided
buffer (we have to check if it returned something else and copy that
instead), breaks the build on systems not using glibc, like Alpine
Linux, where musl libc is used.
So, introduce yet another wrapper, str_error_r(), that has the GNU
interface, but uses the portable XSI variant of strerror_r(), so that
users rest asured that the provided buffer is used and it is what is
returned.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-d4t42fnf48ytlk8rjxs822tf@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2016-07-06 14:56:20 +00:00
|
|
|
tools/lib/str_error_r.c
|
2016-07-07 18:42:33 +00:00
|
|
|
tools/lib/vsprintf.c
|
2016-07-11 15:36:41 +00:00
|
|
|
tools/include/asm/alternative-asm.h
|
2015-04-07 14:53:41 +00:00
|
|
|
tools/include/asm/atomic.h
|
2015-04-30 15:33:22 +00:00
|
|
|
tools/include/asm/barrier.h
|
2014-01-09 14:00:54 +00:00
|
|
|
tools/include/asm/bug.h
|
2016-01-08 14:23:57 +00:00
|
|
|
tools/include/asm-generic/atomic-gcc.h
|
2015-05-07 20:04:06 +00:00
|
|
|
tools/include/asm-generic/barrier.h
|
2015-01-13 13:19:12 +00:00
|
|
|
tools/include/asm-generic/bitops/arch_hweight.h
|
2014-12-15 19:44:26 +00:00
|
|
|
tools/include/asm-generic/bitops/atomic.h
|
2015-01-13 13:19:12 +00:00
|
|
|
tools/include/asm-generic/bitops/const_hweight.h
|
2014-12-15 18:07:24 +00:00
|
|
|
tools/include/asm-generic/bitops/__ffs.h
|
2014-12-16 14:26:35 +00:00
|
|
|
tools/include/asm-generic/bitops/__fls.h
|
2014-12-16 13:53:27 +00:00
|
|
|
tools/include/asm-generic/bitops/find.h
|
2014-12-16 14:26:35 +00:00
|
|
|
tools/include/asm-generic/bitops/fls64.h
|
|
|
|
tools/include/asm-generic/bitops/fls.h
|
2015-01-13 13:19:12 +00:00
|
|
|
tools/include/asm-generic/bitops/hweight.h
|
2014-12-16 13:53:27 +00:00
|
|
|
tools/include/asm-generic/bitops.h
|
2015-04-07 14:53:41 +00:00
|
|
|
tools/include/linux/atomic.h
|
2014-12-16 13:55:42 +00:00
|
|
|
tools/include/linux/bitops.h
|
2014-01-09 14:00:53 +00:00
|
|
|
tools/include/linux/compiler.h
|
2015-08-29 04:21:55 +00:00
|
|
|
tools/include/linux/filter.h
|
2014-12-15 19:04:11 +00:00
|
|
|
tools/include/linux/hash.h
|
2015-06-01 07:37:47 +00:00
|
|
|
tools/include/linux/kernel.h
|
2015-06-01 07:37:48 +00:00
|
|
|
tools/include/linux/list.h
|
2014-12-15 19:04:11 +00:00
|
|
|
tools/include/linux/log2.h
|
2016-07-11 19:38:05 +00:00
|
|
|
tools/include/uapi/linux/bpf.h
|
|
|
|
tools/include/uapi/linux/bpf_common.h
|
2016-07-12 02:37:18 +00:00
|
|
|
tools/include/uapi/linux/hw_breakpoint.h
|
2016-07-11 13:28:48 +00:00
|
|
|
tools/include/uapi/linux/perf_event.h
|
2015-06-01 07:37:48 +00:00
|
|
|
tools/include/linux/poison.h
|
2015-07-06 01:54:01 +00:00
|
|
|
tools/include/linux/rbtree.h
|
2015-07-06 01:59:05 +00:00
|
|
|
tools/include/linux/rbtree_augmented.h
|
2015-11-16 14:36:29 +00:00
|
|
|
tools/include/linux/string.h
|
2014-04-25 19:31:02 +00:00
|
|
|
tools/include/linux/types.h
|
2015-09-21 14:35:43 +00:00
|
|
|
tools/include/linux/err.h
|
2016-01-11 10:54:51 +00:00
|
|
|
tools/include/linux/bitmap.h
|
2015-01-13 13:19:12 +00:00
|
|
|
include/asm-generic/bitops/arch_hweight.h
|
|
|
|
include/asm-generic/bitops/const_hweight.h
|
2014-12-16 14:26:35 +00:00
|
|
|
include/asm-generic/bitops/fls64.h
|
|
|
|
include/asm-generic/bitops/__fls.h
|
|
|
|
include/asm-generic/bitops/fls.h
|
2010-05-31 14:13:21 +00:00
|
|
|
include/linux/list.h
|
|
|
|
include/linux/hash.h
|
|
|
|
include/linux/stringify.h
|
|
|
|
include/linux/swab.h
|
|
|
|
arch/*/include/asm/unistd*.h
|
perf tools: Fix building from 'make perf-*-src-pkg' tarballs
Thanks (mostly) to uapi the package created from perf-*-src-pkg FTBFS:
| CC perf.o
|In file included from util/../perf.h:8:0,
| from util/cache.h:7,
| from perf.c:12:
|arch/x86/include/asm/unistd.h:4:29: fatal error: uapi/asm/unistd.h: No such file or directory
|
| CC perf.o
|In file included from util/../perf.h:106:0,
| from util/cache.h:7,
| from perf.c:12:
|include/linux/perf_event.h:17:35: fatal error: uapi/linux/perf_event.h: No such file or directory
|
| CC perf.o
|In file included from include/uapi/linux/perf_event.h:19:0,
| from util/../perf.h:106,
| from util/cache.h:7,
| from perf.c:12:
|util/include/asm/byteorder.h:2:49: fatal error: ../../../../include/uapi/linux/swab.h: No such file or directory
|
| CC perf.o
|In file included from util/include/../../../../include/linux/list.h:7:0,
| from util/include/linux/list.h:4,
| from util/parse-events.h:7,
| from perf.c:15:
|util/include/linux/const.h:1:50: fatal error: ../../../../include/uapi/linux/const.h: No such file or directory
|
|In file included from builtin-kvm.c:26:0:
|arch/x86/include/asm/svm.h:4:26: fatal error: uapi/asm/svm.h: No such file or directory
|
|In file included from util/evsel.c:21:0:
|include/linux/hw_breakpoint.h:5:38: fatal error: uapi/linux/hw_breakpoint.h: No such file or directory
|
| CC util/evsel.o
|In file included from util/perf_regs.h:5:0,
| from util/evsel.c:23:
|arch/x86/include/perf_regs.h:6:27: fatal error: asm/perf_regs.h: No such file or directory
|
| CC util/rbtree.o
|In file included from ../../lib/rbtree.c:24:0:
|util/include/linux/rbtree_augmented.h:2:56: fatal error: ../../../../include/linux/rbtree_augmented.h: No such file or directory
This patch adds the missing files.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1357654134-28538-1-git-send-email-bigeasy@linutronix.de
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2013-01-08 14:08:54 +00:00
|
|
|
arch/*/include/uapi/asm/unistd*.h
|
2016-07-12 00:16:52 +00:00
|
|
|
tools/arch/*/include/uapi/asm/perf_regs.h
|
2010-05-31 14:13:21 +00:00
|
|
|
include/linux/poison.h
|
perf tools: Fix building from 'make perf-*-src-pkg' tarballs
Thanks (mostly) to uapi the package created from perf-*-src-pkg FTBFS:
| CC perf.o
|In file included from util/../perf.h:8:0,
| from util/cache.h:7,
| from perf.c:12:
|arch/x86/include/asm/unistd.h:4:29: fatal error: uapi/asm/unistd.h: No such file or directory
|
| CC perf.o
|In file included from util/../perf.h:106:0,
| from util/cache.h:7,
| from perf.c:12:
|include/linux/perf_event.h:17:35: fatal error: uapi/linux/perf_event.h: No such file or directory
|
| CC perf.o
|In file included from include/uapi/linux/perf_event.h:19:0,
| from util/../perf.h:106,
| from util/cache.h:7,
| from perf.c:12:
|util/include/asm/byteorder.h:2:49: fatal error: ../../../../include/uapi/linux/swab.h: No such file or directory
|
| CC perf.o
|In file included from util/include/../../../../include/linux/list.h:7:0,
| from util/include/linux/list.h:4,
| from util/parse-events.h:7,
| from perf.c:15:
|util/include/linux/const.h:1:50: fatal error: ../../../../include/uapi/linux/const.h: No such file or directory
|
|In file included from builtin-kvm.c:26:0:
|arch/x86/include/asm/svm.h:4:26: fatal error: uapi/asm/svm.h: No such file or directory
|
|In file included from util/evsel.c:21:0:
|include/linux/hw_breakpoint.h:5:38: fatal error: uapi/linux/hw_breakpoint.h: No such file or directory
|
| CC util/evsel.o
|In file included from util/perf_regs.h:5:0,
| from util/evsel.c:23:
|arch/x86/include/perf_regs.h:6:27: fatal error: asm/perf_regs.h: No such file or directory
|
| CC util/rbtree.o
|In file included from ../../lib/rbtree.c:24:0:
|util/include/linux/rbtree_augmented.h:2:56: fatal error: ../../../../include/linux/rbtree_augmented.h: No such file or directory
This patch adds the missing files.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1357654134-28538-1-git-send-email-bigeasy@linutronix.de
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2013-01-08 14:08:54 +00:00
|
|
|
include/uapi/linux/const.h
|
|
|
|
include/uapi/linux/swab.h
|