Public bug reported: To reproduce the issue add a probe to the malloc function of libc
# sudo apt-get install libc6-dbg # perf probe -x /lib/x86_64-linux-gnu/libc.so.6 malloc Probe point 'malloc' not found. Error: Failed to add events. It's not possible, to check if function exists just # perf probe -x /lib/x86_64-linux-gnu/libc.so.6 -F | grep malloc malloc malloc@plt malloc_atfork malloc_check malloc_consolidate malloc_hook_ini malloc_info malloc_printerr mallochook ptmalloc_init ptmalloc_init.part.7 ptmalloc_lock_all ptmalloc_unlock_all ptmalloc_unlock_all2 tr_mallochook $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.10 DISTRIB_CODENAME=utopic DISTRIB_DESCRIPTION="Ubuntu 14.10" $ uname -a Linux collabora 3.16.0-29-generic #39-Ubuntu SMP Mon Dec 15 22:27:29 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Package: linux-tools-common Priority: optional Section: kernel Installed-Size: 221 Maintainer: Ubuntu Kernel Team <kernel-t...@lists.ubuntu.com> Architecture: all Source: linux Version: 3.16.0-23.31 Replaces: linux-tools (<= 2.6.32-16.25) Filename: pool/main/l/linux/linux-tools-common_3.16.0-23.31_all.deb Size: 82528 MD5sum: 7fa49442a8376adaf9a1f95da364e27b SHA1: 07781c6ef66ed6fad70ce5fecea0a706f8329da2 SHA256: 506611d286247838db347cd1186521725ca3fc6be7e9d1007bd0895a185b9cfb ** Affects: linux (Ubuntu) Importance: Undecided Status: Incomplete ** Tags: utopic ** Tags added: utopic ** Description changed: To reproduce the issue add a probe to the malloc function of libc # sudo apt-get install libc6-dbg # perf probe -x /lib/x86_64-linux-gnu/libc.so.6 malloc Probe point 'malloc' not found. - Error: Failed to add events. + Error: Failed to add events. It's not possible, to check if function exists just # perf probe -x /lib/x86_64-linux-gnu/libc.so.6 -F | grep malloc malloc malloc@plt malloc_atfork malloc_check malloc_consolidate malloc_hook_ini malloc_info malloc_printerr mallochook ptmalloc_init ptmalloc_init.part.7 ptmalloc_lock_all ptmalloc_unlock_all ptmalloc_unlock_all2 tr_mallochook + + + $ cat /etc/lsb-release + DISTRIB_ID=Ubuntu + DISTRIB_RELEASE=14.10 + DISTRIB_CODENAME=utopic + DISTRIB_DESCRIPTION="Ubuntu 14.10" + + $ uname -a + Linux collabora 3.16.0-29-generic #39-Ubuntu SMP Mon Dec 15 22:27:29 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux + + Package: linux-tools-common + Priority: optional + Section: kernel + Installed-Size: 221 + Maintainer: Ubuntu Kernel Team <kernel-t...@lists.ubuntu.com> + Architecture: all + Source: linux + Version: 3.16.0-23.31 + Replaces: linux-tools (<= 2.6.32-16.25) + Filename: pool/main/l/linux/linux-tools-common_3.16.0-23.31_all.deb + Size: 82528 + MD5sum: 7fa49442a8376adaf9a1f95da364e27b + SHA1: 07781c6ef66ed6fad70ce5fecea0a706f8329da2 + SHA256: 506611d286247838db347cd1186521725ca3fc6be7e9d1007bd0895a185b9cfb -- 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/1416351 Title: perf doesn't work for userspace probes. Status in linux package in Ubuntu: Incomplete Bug description: To reproduce the issue add a probe to the malloc function of libc # sudo apt-get install libc6-dbg # perf probe -x /lib/x86_64-linux-gnu/libc.so.6 malloc Probe point 'malloc' not found. Error: Failed to add events. It's not possible, to check if function exists just # perf probe -x /lib/x86_64-linux-gnu/libc.so.6 -F | grep malloc malloc malloc@plt malloc_atfork malloc_check malloc_consolidate malloc_hook_ini malloc_info malloc_printerr mallochook ptmalloc_init ptmalloc_init.part.7 ptmalloc_lock_all ptmalloc_unlock_all ptmalloc_unlock_all2 tr_mallochook $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.10 DISTRIB_CODENAME=utopic DISTRIB_DESCRIPTION="Ubuntu 14.10" $ uname -a Linux collabora 3.16.0-29-generic #39-Ubuntu SMP Mon Dec 15 22:27:29 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Package: linux-tools-common Priority: optional Section: kernel Installed-Size: 221 Maintainer: Ubuntu Kernel Team <kernel-t...@lists.ubuntu.com> Architecture: all Source: linux Version: 3.16.0-23.31 Replaces: linux-tools (<= 2.6.32-16.25) Filename: pool/main/l/linux/linux-tools-common_3.16.0-23.31_all.deb Size: 82528 MD5sum: 7fa49442a8376adaf9a1f95da364e27b SHA1: 07781c6ef66ed6fad70ce5fecea0a706f8329da2 SHA256: 506611d286247838db347cd1186521725ca3fc6be7e9d1007bd0895a185b9cfb To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1416351/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp