OSDN Git Service

perf bench: Copy kernel files needed to build mem{cpy,set} x86_64 benchmarks
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 11 Jul 2016 15:36:41 +0000 (12:36 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Mar 2019 07:44:37 +0000 (08:44 +0100)
commit7bc0cb4da25ea85a177451339637bfe08580f11d
tree15f908256889bbb90e61f57384af75b3e202017b
parentfefcb294a459a43104993a20b7215cd14793805c
perf bench: Copy kernel files needed to build mem{cpy,set} x86_64 benchmarks

commit 7d7d1bf1d1dabe435ef50efb051724b8664749cb upstream.

We can't access kernel files directly from tools/, so copy the required
bits, and make sure that we detect when the original files, in the
kernel, gets modified.

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-z7e76274ch5j4nugv048qacb@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/arch/x86/include/asm/cpufeatures.h [new file with mode: 0644]
tools/arch/x86/include/asm/disabled-features.h [new file with mode: 0644]
tools/arch/x86/include/asm/required-features.h [new file with mode: 0644]
tools/arch/x86/lib/memcpy_64.S [new file with mode: 0644]
tools/arch/x86/lib/memset_64.S [new file with mode: 0644]
tools/include/asm/alternative-asm.h [moved from tools/perf/util/include/asm/alternative-asm.h with 66% similarity]
tools/perf/MANIFEST
tools/perf/Makefile.perf
tools/perf/bench/mem-memcpy-x86-64-asm.S
tools/perf/bench/mem-memset-x86-64-asm.S