Public bug reported:
perf probe doesn't work because the register names in the perf tool are
incorrect. This was fixed upstream by
https://patchwork.kernel.org/patch/9534823/.
perf probe -x /lib/aarch64-linux-gnu/libc.so.6 -a 'malloc bytes'
Failed to write event: Invalid argument
Error: Failed to add events.
Rebuilding perf with the above mentioned change results in:
ubuntu:/usr/src/linux-source-4.10.0/tools/perf# ./perf probe -x
/lib/aarch64-linux-gnu/libc.so.6 -a 'malloc bytes'
Added new event:
probe_libc:malloc (on malloc in /lib/aarch64-linux-gnu/libc-2.24.so with
bytes)
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1671917
Title:
perf probes on arm64 don't work with 4.10 kernel b/c of register name
issue
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1671917/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs