perf doesn't work for userspace probes.
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_
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_
malloc
malloc@plt
malloc_atfork
malloc_check
malloc_consolidate
malloc_hook_ini
malloc_info
malloc_printerr
mallochook
ptmalloc_init
ptmalloc_
ptmalloc_lock_all
ptmalloc_unlock_all
ptmalloc_
tr_mallochook
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
$ 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/
Size: 82528
MD5sum: 7fa49442a8376ad
SHA1: 07781c6ef66ed6f
SHA256: 506611d28624783
---
ApportVersion: 2.14.7-0ubuntu8.1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CurrentDesktop: Unity
DistroRelease: Ubuntu 14.10
HibernationDevice: RESUME=
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=
ProcVersionSign
RelatedPackageV
linux-
linux-
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.
dmi.board.name: 232577G
dmi.board.vendor: LENOVO
dmi.board.version: Win8 Pro DPK TPG
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 232577G
dmi.product.
dmi.sys.vendor: LENOVO
tags: | added: utopic |
description: | updated |
tags: | added: kernel-fixed-upstream |
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.