2010-05-31 21:13:21 +07:00
|
|
|
tools/perf
|
2015-05-08 03:52:19 +07:00
|
|
|
tools/arch/alpha/include/asm/barrier.h
|
2015-05-08 04:14:25 +07:00
|
|
|
tools/arch/arm/include/asm/barrier.h
|
2016-01-08 21:23:57 +07:00
|
|
|
tools/arch/arm64/include/asm/barrier.h
|
2015-05-08 04:03:14 +07:00
|
|
|
tools/arch/ia64/include/asm/barrier.h
|
2015-05-08 19:40:36 +07:00
|
|
|
tools/arch/mips/include/asm/barrier.h
|
2015-05-07 04:35:20 +07:00
|
|
|
tools/arch/powerpc/include/asm/barrier.h
|
2015-05-07 04:44:53 +07:00
|
|
|
tools/arch/s390/include/asm/barrier.h
|
2015-05-08 03:09:48 +07:00
|
|
|
tools/arch/sh/include/asm/barrier.h
|
2015-05-08 03:27:23 +07: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 20:02:00 +07:00
|
|
|
tools/arch/tile/include/asm/barrier.h
|
2015-04-30 22:33:22 +07:00
|
|
|
tools/arch/x86/include/asm/barrier.h
|
2016-07-11 22:36:41 +07: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 20:57:25 +07: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 22:36:41 +07:00
|
|
|
tools/arch/x86/lib/memcpy_64.S
|
|
|
|
tools/arch/x86/lib/memset_64.S
|
2016-07-12 20:57:25 +07:00
|
|
|
tools/arch/s390/include/uapi/asm/kvm_perf.h
|
|
|
|
tools/arch/s390/include/uapi/asm/sie.h
|
2015-05-08 18:53:26 +07:00
|
|
|
tools/arch/xtensa/include/asm/barrier.h
|
2012-05-31 01:02:42 +07:00
|
|
|
tools/scripts
|
2014-12-29 19:51:45 +07:00
|
|
|
tools/build
|
2015-04-07 21:53:41 +07:00
|
|
|
tools/arch/x86/include/asm/atomic.h
|
|
|
|
tools/arch/x86/include/asm/rmwcc.h
|
2012-05-31 01:02:42 +07:00
|
|
|
tools/lib/traceevent
|
2014-01-11 02:25:05 +07:00
|
|
|
tools/lib/api
|
2015-07-08 17:04:02 +07:00
|
|
|
tools/lib/bpf
|
2015-12-15 22:39:39 +07:00
|
|
|
tools/lib/subcmd
|
2015-07-10 02:27:25 +07:00
|
|
|
tools/lib/hweight.c
|
2015-07-06 08:48:21 +07:00
|
|
|
tools/lib/rbtree.c
|
2015-11-16 21:36:29 +07:00
|
|
|
tools/lib/string.c
|
2013-12-11 19:15:00 +07:00
|
|
|
tools/lib/symbol/kallsyms.c
|
|
|
|
tools/lib/symbol/kallsyms.h
|
2016-01-08 20:46:52 +07:00
|
|
|
tools/lib/find_bit.c
|
2016-01-11 17:54:51 +07: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 21:56:20 +07:00
|
|
|
tools/lib/str_error_r.c
|
2016-07-08 01:42:33 +07:00
|
|
|
tools/lib/vsprintf.c
|
2016-07-11 22:36:41 +07:00
|
|
|
tools/include/asm/alternative-asm.h
|
2015-04-07 21:53:41 +07:00
|
|
|
tools/include/asm/atomic.h
|
2015-04-30 22:33:22 +07:00
|
|
|
tools/include/asm/barrier.h
|
2014-01-09 21:00:54 +07:00
|
|
|
tools/include/asm/bug.h
|
2016-01-08 21:23:57 +07:00
|
|
|
tools/include/asm-generic/atomic-gcc.h
|
2015-05-08 03:04:06 +07:00
|
|
|
tools/include/asm-generic/barrier.h
|
2015-01-13 20:19:12 +07:00
|
|
|
tools/include/asm-generic/bitops/arch_hweight.h
|
2014-12-16 02:44:26 +07:00
|
|
|
tools/include/asm-generic/bitops/atomic.h
|
2015-01-13 20:19:12 +07:00
|
|
|
tools/include/asm-generic/bitops/const_hweight.h
|
2014-12-16 01:07:24 +07:00
|
|
|
tools/include/asm-generic/bitops/__ffs.h
|
2014-12-16 21:26:35 +07:00
|
|
|
tools/include/asm-generic/bitops/__fls.h
|
2014-12-16 20:53:27 +07:00
|
|
|
tools/include/asm-generic/bitops/find.h
|
2014-12-16 21:26:35 +07:00
|
|
|
tools/include/asm-generic/bitops/fls64.h
|
|
|
|
tools/include/asm-generic/bitops/fls.h
|
2015-01-13 20:19:12 +07:00
|
|
|
tools/include/asm-generic/bitops/hweight.h
|
2014-12-16 20:53:27 +07:00
|
|
|
tools/include/asm-generic/bitops.h
|
2015-04-07 21:53:41 +07:00
|
|
|
tools/include/linux/atomic.h
|
2014-12-16 20:55:42 +07:00
|
|
|
tools/include/linux/bitops.h
|
2014-01-09 21:00:53 +07:00
|
|
|
tools/include/linux/compiler.h
|
2015-08-29 11:21:55 +07:00
|
|
|
tools/include/linux/filter.h
|
2014-12-16 02:04:11 +07:00
|
|
|
tools/include/linux/hash.h
|
2015-06-01 14:37:47 +07:00
|
|
|
tools/include/linux/kernel.h
|
2015-06-01 14:37:48 +07:00
|
|
|
tools/include/linux/list.h
|
2014-12-16 02:04:11 +07:00
|
|
|
tools/include/linux/log2.h
|
2016-07-12 02:38:05 +07:00
|
|
|
tools/include/uapi/linux/bpf.h
|
|
|
|
tools/include/uapi/linux/bpf_common.h
|
2016-07-12 09:37:18 +07:00
|
|
|
tools/include/uapi/linux/hw_breakpoint.h
|
2016-07-11 20:28:48 +07:00
|
|
|
tools/include/uapi/linux/perf_event.h
|
2015-06-01 14:37:48 +07:00
|
|
|
tools/include/linux/poison.h
|
2015-07-06 08:54:01 +07:00
|
|
|
tools/include/linux/rbtree.h
|
2015-07-06 08:59:05 +07:00
|
|
|
tools/include/linux/rbtree_augmented.h
|
2015-11-16 21:36:29 +07:00
|
|
|
tools/include/linux/string.h
|
2016-07-12 21:31:39 +07:00
|
|
|
tools/include/linux/stringify.h
|
2014-04-26 02:31:02 +07:00
|
|
|
tools/include/linux/types.h
|
2015-09-21 21:35:43 +07:00
|
|
|
tools/include/linux/err.h
|
2016-01-11 17:54:51 +07:00
|
|
|
tools/include/linux/bitmap.h
|
2010-05-31 21:13:21 +07:00
|
|
|
include/linux/hash.h
|
2016-07-12 07:16:52 +07:00
|
|
|
tools/arch/*/include/uapi/asm/perf_regs.h
|
2010-05-31 21:13:21 +07:00
|
|
|
include/linux/poison.h
|