Build glibc for aarch64 with C-only versions of memcpy?
Miller, Tim
theosib@amazon.com
Wed Dec 15 21:28:04 GMT 2021
On 12/15/21, 3:41 PM, "Florian Weimer" <fweimer@redhat.com> wrote:
* Tim via Libc-help Miller:
> I am doing some software profiling on an aarch64 system, and I’m using
> the Linux perf tool. The problem I’m running into is that
> “__GI___memcpy_simd” keeps showing up as the function with the most
> CPU usage.
This sounds like a perf bug. Surely it can look at the LR register and
see where the call is coming from?
If it shows up so high in profiles, I suggest to attach a debugger and
see if you can get to it to stop in the memcpy call, and take things
from there.
Well, I tried that, but it keeps stopping at that breakpoint over and over again. I do get a stack trace, but what I need to find out is who is calling it MOST.
Thanks,
Florian
More information about the Libc-help
mailing list