Build dbgsyms for use by systemtap

Bug #832606 reported by Jani Monoses
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-ti-omap4 (Ubuntu)
Invalid
Undecided
Unassigned
Oneiric
Invalid
Undecided
Unassigned

Bug Description

Allow using systemtap on the omap4 kernel as with the default ubuntu x86 ones.

Revision history for this message
Tim Gardner (timg-tpi) wrote :

All of the config options required for Systemtap appear to be enabled according to this article: http://www.ibm.com/developerworks/linux/library/l-systemtap/index.html, e.g., CONFIG_RELAY, CONFIG_DEBUG_FS, CONFIG_DEBUG_INFO, and CONFIG_KPROBES. What do you think is missing?

Revision history for this message
Jani Monoses (jani) wrote :

Thanks, I just did not find the ddebs path initally.
http://ddebs.ubuntu.com/pool/main/l/linux-ti-omap4/

Changed in linux-ti-omap4 (Ubuntu Oneiric):
status: New → Invalid
Revision history for this message
Paolo Pisati (p-pisati) wrote :

everything should be already in place:

flag@omap:~$ uname -a
Linux omap 3.0.0-1203-omap4 #8-Ubuntu SMP PREEMPT Tue Aug 23 13:25:47 UTC 2011 armv7l armv7l armv7l GNU/Linux
flag@omap:~$ wget http://ddebs.ubuntu.com/pool/main/l/linux-ti-omap4/linux-image-3.0.0-1203-omap4-dbgsym_3.0.0-1203.8_armel.ddeb
[snip]
flag@omap:~$ sudo dpkg -i linux-image-3.0.0-1203-omap4-dbgsym_3.0.0-1203.8_armel.ddeb
[snip]

(i assume linux-headers-3.0.0-1203-omap4 were already installed)

flag@omap:~$ sudo ln -s /usr/src/linux-headers-3.0.0-1203-omap4/ /lib/modules/3.0.0-1203-omap4/build

flag@omap:~$ cat hello.stp
probe begin
{
printf("Hello world\n")
exit()
}
flag@omap:~$ sudo stap hello.stp
Hello world
flag@omap:~$

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.