ISST-LTE: pVM: systemtap doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
New
|
Undecided
|
Unassigned |
Bug Description
---Problem Description---
When trying to run a systemtap script on 16.04 system, it failed:
% sudo stap-prep
% echo $?
0
% cat hello-world.stp
probe begin
{
print ("hello world\n")
exit ()
}
% sudo stap hello-world.stp
In file included from /usr/share/
/usr/share/
/usr/share/
/usr/share/
(unsigned long) (THIS_MODULE-
/usr/share/
(unsigned long) (THIS_MODULE-
/usr/share/
scripts/
make[1]: *** [/tmp/stapw1yMs
Makefile:1396: recipe for target '_module_
make: *** [_module_
WARNING: kbuild exited with status: 2
Pass 4: compilation failed. [man error::pass4]
Tip: /usr/share/
---uname output---
Linux pinelp3 4.4.0-9-generic #24-Ubuntu SMP Mon Feb 29 19:28:28 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux
Machine Type = CHRP IBM,8408-E8E lpar
---Debugger---
A debugger was configured, however the system did not enter into the debugger
---Steps to Reproduce---
1. install systemtap
2. install linux-image-
3. run 'stap hello-world.stp'
Userspace tool common name: stap
The userspace tool has the following bit modes: 64-bit
Userspace rpm: systemtap 2.9-2ubuntu1
Userspace tool obtained from project website: na
== Comment: #3 - Ping Tian Han - 2016-03-08 01:07:56 ==
I have tested with upstream systemtap-
== Comment: #5 - Naveen N. Rao - 2016-03-08 08:32:25 ==
This is due to systemtap 2.9 not supporting v4.4 kernel. Since systemtap 3.0 is not out yet, at the least, we will need to backport commits 3f040971e7efb4d
== Comment: #9 - Hemant K. Shaw - 2016-04-05 09:34:13 ==
There is another problem with systemtap 2.9/0.165, Debian version 2.9-2ubuntu2.
# ./stap --all-modules -e 'probe timer.profile {print_
In file included from /home/ubuntu/
/home/ubuntu/
/home/ubuntu/
if (attr->address == (unsigned long) mod->symtab)
/home/ubuntu/
mod-
^
/home/ubuntu/
mod-
scripts/
make[1]: *** [/tmp/stapBSi1R
Makefile:1396: recipe for target '_module_
make: *** [_module_
WARNING: kbuild exited with status: 2
Pass 4: compilation failed. [man error::pass4]
Tip: /usr/share/
Commit 64ffc49b5deb57e
# stap --all-modules -e 'probe timer.profile {print_
0xc00000000008642c : plpar_hcall_
0x0 : 0x0
tags: | added: architecture-ppc64le bugnameltc-138369 severity-high targetmilestone-inin1604 |
Changed in ubuntu: | |
assignee: | nobody → Taco Screen team (taco-screen-team) |
Changed in ubuntu: | |
assignee: | Taco Screen team (taco-screen-team) → nobody |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1568689/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]