kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #105348
[Bug 1416351] Re: perf doesn't work for userspace probes.
** Tags added: kernel-fixed-upstream
--
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
---
ApportVersion: 2.14.7-0ubuntu8.1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: eballetbo 3064 F.... pulseaudio
CurrentDesktop: Unity
DistroRelease: Ubuntu 14.10
HibernationDevice: RESUME=UUID=653334ca-ada0-48cd-8325-ea7bcdb824a6
InstallationDate: Installed on 2014-12-01 (59 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
MachineType: LENOVO 232577G
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.16.0-29-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.16.0-29.39-generic 3.16.7-ckt2
RelatedPackageVersions:
linux-restricted-modules-3.16.0-29-generic N/A
linux-backports-modules-3.16.0-29-generic N/A
linux-firmware 1.138.1
Tags: utopic
Uname: Linux 3.16.0-29-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 02/22/2013
dmi.bios.vendor: LENOVO
dmi.bios.version: G2ET92WW (2.52 )
dmi.board.asset.tag: Not Available
dmi.board.name: 232577G
dmi.board.vendor: LENOVO
dmi.board.version: Win8 Pro DPK TPG
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvrG2ET92WW(2.52):bd02/22/2013:svnLENOVO:pn232577G:pvrThinkPadX230:rvnLENOVO:rn232577G:rvrWin8ProDPKTPG:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 232577G
dmi.product.version: ThinkPad X230
dmi.sys.vendor: LENOVO
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1416351/+subscriptions
References