[quantal/precise][SRU][PATCH] bug #669641 - UBUNTU PACKAGING - systemtap fails to discover installed debug modules

Chris J Arges chris.j.arges at canonical.com
Fri Jun 22 21:29:47 UTC 2012


BugLink: https://bugs.launchpad.net/bugs/669641

== Precise SRU Justification ==

    Impact: When using systemtap with Ubuntu kernels, the proper debug
modules cannot be automatically discovered.

== Fix ==

This patch allows for the build system to insert the .gnu_debuglink
sections in the .ko files pointing to the full unstripped .ko in
/usr/lib/debug/.. in the dbgsym ddebs. In addition there are checks to
ensure the debug symbol actually exists before creating the
.gnu_debuglink section.

== Testcase ==

1) Install systemtap.
2) Run "stap -l 'module("serio_raw").function("*")'"
3) This should show list all the probe points for that module.

Thanks,
--chris j arges
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-UBUNTU-PACKAGING-add-.gnu_debuglink-sections-to-.ko-.patch
Type: text/x-patch
Size: 1735 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20120622/4bbe69fb/attachment.bin>


More information about the kernel-team mailing list