[Bug 1054274] Re: stap fails with "error: ‘cpu_possible_map’ undeclared" in function ‘_stp_stat_get’
Serge Hallyn
1054274 at bugs.launchpad.net
Fri Sep 28 21:24:57 UTC 2012
Would that be commit:
commit 7b2d81d48a2d8e37efb6ce7b4d5ef58822b30d89
Author: Ingo Molnar <mingo at elte.hu>
Date: Fri Feb 17 09:27:41 2012 +0100
uprobes/core: Clean up, refactor and improve the code
...
-extern int register_uprobe(struct inode *inode, loff_t offset,
- struct uprobe_consumer *consumer);
-extern void unregister_uprobe(struct inode *inode, loff_t offset,
- struct uprobe_consumer *consumer);
-extern int mmap_uprobe(struct vm_area_struct *vma);
+extern int uprobe_register(struct inode *inode, loff_t offset, struct uprobe_consumer *consumer);
+extern void uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consumer *consumer);
+extern int uprobe_mmap(struct vm_area_struct *vma);
?
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1054274
Title:
stap fails with "error: ‘cpu_possible_map’ undeclared" in function
‘_stp_stat_get’
Status in “systemtap” package in Ubuntu:
In Progress
Status in “systemtap” source package in Quantal:
In Progress
Bug description:
[Test Case]
Install systemtap
Install linux-image-`uname -r`-dbgsym.
Download example stp: http://sourceware.org/systemtap/examples/general/helloworld.stp
Execute 'sudo stap hellowold.stp'
[What Is Expected]
'hello world' should be printed.
[What Happens]
In file included from /tmp/stapZsREjM/stap_94d698e878ba939284aed4cd44a7dc2a_738_src.c:21:0:
/usr/share/systemtap/runtime/stat.c: In function ‘_stp_stat_get’:
/usr/share/systemtap/runtime/stat.c:214:2: error: ‘cpu_possible_map’ undeclared (first use in this function)
/usr/share/systemtap/runtime/stat.c:214:2: note: each undeclared identifier is reported only once for each function it appears in
/usr/share/systemtap/runtime/stat.c: In function ‘_stp_stat_clear’:
/usr/share/systemtap/runtime/stat.c:249:2: error: ‘cpu_possible_map’ undeclared (first use in this function)
make[1]: *** [/tmp/stapZsREjM/stap_94d698e878ba939284aed4cd44a7dc2a_738_src.o] Error 1
make: *** [_module_/tmp/stapZsREjM] Error 2
WARNING: make exited with status: 2
Pass 4: compilation failed. Try again with another '--vp 0001' option.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: systemtap 1.7-1
ProcVersionSignature: Ubuntu 3.5.0-15.22-generic 3.5.4
Uname: Linux 3.5.0-15-generic x86_64
ApportVersion: 2.5.2-0ubuntu4
Architecture: amd64
Date: Fri Sep 21 13:35:43 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120807.2)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: systemtap
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1054274/+subscriptions
More information about the Ubuntu-sponsors
mailing list