perf doesn't work for userspace probes.

Bug #1416351 reported by Enric Balletbo i Serra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

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 <email address hidden>
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

tags: added: utopic
description: updated
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1416351

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Enric Balletbo i Serra (eballetbo) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Enric Balletbo i Serra (eballetbo) wrote : BootDmesg.txt

apport information

Revision history for this message
Enric Balletbo i Serra (eballetbo) wrote : CRDA.txt

apport information

Revision history for this message
Enric Balletbo i Serra (eballetbo) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Enric Balletbo i Serra (eballetbo) wrote : IwConfig.txt

apport information

Revision history for this message
Enric Balletbo i Serra (eballetbo) wrote : Lspci.txt

apport information

Revision history for this message
Enric Balletbo i Serra (eballetbo) wrote : Lsusb.txt

apport information

Revision history for this message
Enric Balletbo i Serra (eballetbo) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Enric Balletbo i Serra (eballetbo) wrote : ProcEnviron.txt

apport information

Revision history for this message
Enric Balletbo i Serra (eballetbo) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Enric Balletbo i Serra (eballetbo) wrote : ProcModules.txt

apport information

Revision history for this message
Enric Balletbo i Serra (eballetbo) wrote : PulseList.txt

apport information

Revision history for this message
Enric Balletbo i Serra (eballetbo) wrote : RfKill.txt

apport information

Revision history for this message
Enric Balletbo i Serra (eballetbo) wrote : UdevDb.txt

apport information

Revision history for this message
Enric Balletbo i Serra (eballetbo) wrote : UdevLog.txt

apport information

Revision history for this message
Enric Balletbo i Serra (eballetbo) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.19 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.19-rc6-vivid/

Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: kernel-da-key
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: kernel-fixed-upstream
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.