stap fails with: "error: implicit declaration of function ‘unregister_uprobe’"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemtap (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Trying to run this simple probe:
# stap -v -e 'probe process(
log (probefunc()." ".$$parms)
}' -c 'ls -l'
fails with the following errors:
In file included from /tmp/stapqvNG8J
/usr/share/
/usr/share/
/usr/share/
/usr/share/
cc1: all warnings being treated as errors
make[1]: *** [/tmp/stapqvNG8
make: *** [_module_
WARNING: make exited with status: 2
Pass 4: compiled C into "stap_518345dbb
Pass 4: compilation failed. Try again with another '--vp 0001' option.
I think this may be related to the changes made for Bug #1054274 , in particular with handling the name change from 'uprobe_register' -> 'register_uprobe' et al. See uprobes-inode.c , lines 18-35.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: systemtap 1.7-1ubuntu1
ProcVersionSign
Uname: Linux 3.5.0-18-generic x86_64
NonfreeKernelMo
ApportVersion: 2.6.1-0ubuntu6
Architecture: amd64
Date: Tue Nov 6 23:53:44 2012
InstallationDate: Installed on 2011-11-12 (360 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MarkForUpload: True
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=nl_NL.UTF-8
SHELL=/bin/bash
SourcePackage: systemtap
UpgradeStatus: Upgraded to quantal on 2012-11-06 (0 days ago)
$ grep "\suprobe. *register" /proc/kallsyms
0000000000000000 T uprobe_register
0000000000000000 T uprobe_unregister