]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
perf bench: Prepare memcpy for merge
authorRabin Vincent <rabin.vincent@axis.com>
Tue, 2 Dec 2014 15:50:39 +0000 (16:50 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 9 Dec 2014 12:14:00 +0000 (09:14 -0300)
commit308197b9474bcde2cafba2cd19bef46e0c0428bd
tree2b3bc8b3f22f549a66298c5ff4f30dea07dbabb7
parentcfa0bd52d0ba9b852f76c7b3f1055edd5e5c7846
perf bench: Prepare memcpy for merge

The memset benchmark is largely copy-pasted from the memcpy benchmark.
Prepare the memcpy file for merge with memset by extracting out a
generic function.

Signed-off-by: Rabin Vincent <rabin.vincent@axis.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Rabin Vincent <rabinv@axis.com>
Link: http://lkml.kernel.org/r/1417535441-3965-1-git-send-email-rabin.vincent@axis.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/bench/mem-memcpy.c