summaryrefslogtreecommitdiffstats
path: root/tools/perf/bench/mem-memcpy-x86-64-asm.S
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo2016-07-11 17:36:41 +0200
committerArnaldo Carvalho de Melo2016-07-12 20:20:32 +0200
commit7d7d1bf1d1dabe435ef50efb051724b8664749cb (patch)
tree25b24227fb2d78e03262785ba893c1fb21306d1c /tools/perf/bench/mem-memcpy-x86-64-asm.S
parenttools: Add copy of perf_event.h to tools/include/linux/ (diff)
downloadkernel-qcow2-linux-7d7d1bf1d1dabe435ef50efb051724b8664749cb.tar.gz
kernel-qcow2-linux-7d7d1bf1d1dabe435ef50efb051724b8664749cb.tar.xz
kernel-qcow2-linux-7d7d1bf1d1dabe435ef50efb051724b8664749cb.zip
perf bench: Copy kernel files needed to build mem{cpy,set} x86_64 benchmarks
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>
Diffstat (limited to 'tools/perf/bench/mem-memcpy-x86-64-asm.S')
-rw-r--r--tools/perf/bench/mem-memcpy-x86-64-asm.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/bench/mem-memcpy-x86-64-asm.S b/tools/perf/bench/mem-memcpy-x86-64-asm.S
index 5c3cce082cb8..f700369bb0f6 100644
--- a/tools/perf/bench/mem-memcpy-x86-64-asm.S
+++ b/tools/perf/bench/mem-memcpy-x86-64-asm.S
@@ -6,7 +6,7 @@
#define globl p2align 4; .globl
#define _ASM_EXTABLE_FAULT(x, y)
-#include "../../../arch/x86/lib/memcpy_64.S"
+#include "../../arch/x86/lib/memcpy_64.S"
/*
* We need to provide note.GNU-stack section, saying that we want
* NOT executable stack. Otherwise the final linking will assume that