aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/lib/tracememcpy.c
blob: 0a951c4d9d9469e388306023e92f7b896c64beab (plain)
1
2
3
4
5
6
7
8
9
10
11
12

#define CREATE_TRACE_POINTS
#include <asm/trace/events/string.h>

extern void *memcpy_asm(void *dest, const void *src, size_t count);

void *memcpy(void *dest, const void *src, size_t count)
{
	trace_memcpy(dest, src, count, __builtin_return_address(0));
	return memcpy_asm(dest, src, count);
}