kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #101926
[Bug 1416351] [NEW] perf doesn't work for userspace probes.
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-team@xxxxxxxxxxxxxxxx>
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-team@xxxxxxxxxxxxxxxx>
+ 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-team@xxxxxxxxxxxxxxxx>
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
Follow ups
-
[Bug 1416351] Re: perf doesn't work for userspace probes.
From: Launchpad Bug Tracker, 2015-04-26
-
[Bug 1416351] Re: perf doesn't work for userspace probes.
From: Enric Balletbo i Serra, 2015-02-24
-
[Bug 1416351] Re: perf doesn't work for userspace probes.
From: Joseph Salisbury, 2015-01-30
-
[Bug 1416351] WifiSyslog.txt
From: Enric Balletbo i Serra, 2015-01-30
-
[Bug 1416351] UdevLog.txt
From: Enric Balletbo i Serra, 2015-01-30
-
[Bug 1416351] UdevDb.txt
From: Enric Balletbo i Serra, 2015-01-30
-
[Bug 1416351] RfKill.txt
From: Enric Balletbo i Serra, 2015-01-30
-
[Bug 1416351] PulseList.txt
From: Enric Balletbo i Serra, 2015-01-30
-
[Bug 1416351] ProcModules.txt
From: Enric Balletbo i Serra, 2015-01-30
-
[Bug 1416351] ProcInterrupts.txt
From: Enric Balletbo i Serra, 2015-01-30
-
[Bug 1416351] ProcEnviron.txt
From: Enric Balletbo i Serra, 2015-01-30
-
[Bug 1416351] ProcCpuinfo.txt
From: Enric Balletbo i Serra, 2015-01-30
-
[Bug 1416351] Lsusb.txt
From: Enric Balletbo i Serra, 2015-01-30
-
[Bug 1416351] Lspci.txt
From: Enric Balletbo i Serra, 2015-01-30
-
[Bug 1416351] IwConfig.txt
From: Enric Balletbo i Serra, 2015-01-30
-
[Bug 1416351] CurrentDmesg.txt
From: Enric Balletbo i Serra, 2015-01-30
-
[Bug 1416351] CRDA.txt
From: Enric Balletbo i Serra, 2015-01-30
-
[Bug 1416351] BootDmesg.txt
From: Enric Balletbo i Serra, 2015-01-30
-
[Bug 1416351] Re: perf doesn't work for userspace probes.
From: Enric Balletbo i Serra, 2015-01-30
-
[Bug 1416351] Missing required logs.
From: Brad Figg, 2015-01-30
-
[Bug 1416351] [NEW] perf doesn't work for userspace probes.
From: Enric Balletbo i Serra, 2015-01-30
References