This is a simple patch for perf and a clean cherry pick from upstream.
I'm going ahead and applying it.
** Changed in: linux (Ubuntu Zesty)
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in 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
Status in linux package in Ubuntu:
Fix Committed
Status in linux source package in Zesty:
Fix Committed
Bug description:
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1671917/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp