systemtap process probes requires CONFIG_UTRACE enabled

Bug #727160 reported by Tais P. Hansen
66
This bug affects 13 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Attempting to perform systemtap process probes with latest maverick kernel results in an error similar to the following:
semantic error: process probes not available without kernel CONFIG_UTRACE while resolving probe point process("6997").end
Pass 2: analysis failed. Try again with another '--vp 01' option.

This also prevents profiling, call graphing and similar to work on C/C++ code in IDEs like Eclipse and other using systemtap for profiling.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: linux-image (not installed)
Regression: No
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.35-25.44-generic 2.6.35.10
Uname: Linux 2.6.35-25-generic x86_64
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: tmh 2705 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfbffc000 irq 45'
   Mixer name : 'SigmaTel STAC9200'
   Components : 'HDA:83847690,102801de,00102201'
   Controls : 10
   Simple ctrls : 7
Date: Tue Mar 1 14:05:11 2011
HibernationDevice: RESUME=UUID=5f5506c9-d211-47b3-ad1a-713f6601ef78
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.

 virbr0 no wireless extensions.
MachineType: Dell Inc. Precision WorkStation 390
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-25-generic root=/dev/mapper/vg00-root ro quiet splash
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_DK.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.38.3
RfKill:

SourcePackage: linux
dmi.bios.date: 05/19/2008
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 2.6.0
dmi.board.name: 0GH911
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 7
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr2.6.0:bd05/19/2008:svnDellInc.:pnPrecisionWorkStation390:pvr:rvnDellInc.:rn0GH911:rvr:cvnDellInc.:ct7:cvr:
dmi.product.name: Precision WorkStation 390
dmi.sys.vendor: Dell Inc.

Revision history for this message
Tais P. Hansen (taisph) wrote :
Revision history for this message
Sergey K (koblin) wrote :

I have this problem too

Revision history for this message
Sergey K (koblin) wrote :

the same problem exist in natty 11.04 :-(

Revision history for this message
ckluss (ckluss-7) wrote :

Hi,

I have this problem too. I want to use "Linux Tools Project/Callgraph" http://wiki.eclipse.org/Linux_Tools_Project/Callgraph/User_Guide that requires systemtap with utrace support.

Perhaps the following solves the problem, but leads to new problems...

sudo add-apt-repository ppa:speijnik/utrace-kernel

sudo apt-get install linux-headers-2.6.35-26 \
         linux-headers-2.6.35-26-generic-pae \
         linux-tools-2.6.35-26

Is there a better way to bypass this problem?

Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Sergey K (koblin) wrote :

guys! we need only one option (CONFIG_UTRACE) in kernel config to resolve this bug! please =)

Revision history for this message
Sergio Rubio (rubiojr) wrote :

Looks like the config option is also missing in 3.2.0-8-generic from Precise

Revision history for this message
Timo Juhani Lindfors (timo-lindfors) wrote :

Sergey, utrace support is not mainline. you need to patch your kernel before you can even select that option.

Revision history for this message
tlaurion (thierry-laurion) wrote :
Revision history for this message
shaneZhang (zx0319) wrote :

Also have this problem in Ubuntu 12.04 Server, the ubuntu 3.2 kernel .config seems do not have this flag. I just upgrade to the new version.

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.