aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/lib/memcpy.S
diff options
context:
space:
mode:
authorSteve Capper <steve.capper@linaro.org>2014-07-10 14:50:12 +0100
committerSteve Capper <steve.capper@linaro.org>2014-07-14 16:19:03 +0100
commit384a981d667088ed37fd7e7677c63d7a1113c17f (patch)
tree4912c3edb0d3cb2a8e35175be6f7e3fa9288a96d /arch/arm64/lib/memcpy.S
parent1795cd9b3a91d4b5473c97f491d63892442212ab (diff)
downloadlinux-arm64-memcpy-trace.tar.gz
arm64: lib: Add static tracepoint for memcpyarm64-memcpy-trace
To better gauge the memcpy usage across the kernel, this patch creates a static ftrace probe for memcpy taking the src, dest, size and caller pc. TODO: this will add a function call overhead, we could inline the new memcpy, that would need some thought on how to handle the trace point logic. Signed-off-by: Steve Capper <steve.capper@linaro.org>
Diffstat (limited to 'arch/arm64/lib/memcpy.S')
-rw-r--r--arch/arm64/lib/memcpy.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/lib/memcpy.S b/arch/arm64/lib/memcpy.S
index 8a9a96d3dda..0de0ee60776 100644
--- a/arch/arm64/lib/memcpy.S
+++ b/arch/arm64/lib/memcpy.S
@@ -56,7 +56,7 @@ C_h .req x12
D_l .req x13
D_h .req x14
-ENTRY(memcpy)
+ENTRY(memcpy_asm)
mov dst, dstin
cmp count, #16
/*When memory length is less than 16, the accessed are not aligned.*/
@@ -198,4 +198,4 @@ ENTRY(memcpy)
tst count, #0x3f
b.ne .Ltail63
ret
-ENDPROC(memcpy)
+ENDPROC(memcpy_asm)