Bug 219608 - systemtap breaks with the 2.6.20-rc1 kernel
Summary: systemtap breaks with the 2.6.20-rc1 kernel
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: systemtap
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Frank Ch. Eigler
QA Contact: Radek Bíba
URL:
Whiteboard:
Depends On:
Blocks: 221736
TreeView+ depends on / blocked
 
Reported: 2006-12-14 13:16 UTC by Arjan van de Ven
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version: 0.5.12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-02-15 18:34:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Arjan van de Ven 2006-12-14 13:16:29 UTC
Description of problem:
the kernel side of systemtap has not been merged in the kernel.org kernel, and
as a result doesn't get adjusted for API changes automatically. 

For the 2.6.20-rc1 kernel this is a specific issue since the systemtap kernel
side just doesn't compile anymore.

Comment 1 Frank Ch. Eigler 2006-12-14 13:23:25 UTC
Could you transcribe the build error (stap -vv)?

Merging parts of src/runtime into the kernel proper is a frequently mentioned
item, but we lack actual technical suggestions as to how to do it.  The
runtime's API is rather large and of course highly tuned to the needs of the
translator.  If you have any detailed ideas about this, please pass them on.

Comment 2 Arjan van de Ven 2006-12-14 14:28:07 UTC
how about.. making a diff and submitting it together with one or two neat
example .stp scripts and a bit of docs on how to use these stp scripts.

Unless there's some really serious braindamage in the runtime, it's very likely
to get accepted; especially if the .stp scripts are clearly useful. 

then the stap program needs a way to say "my full source tree is THERE" so that
it uses the in-kernel runtime over it's own, and you're all set.



Comment 3 Frank Ch. Eigler 2006-12-14 19:09:30 UTC
Could you elaborate?  Do you imagine adding twenty-odd header files to
the kernel tree, even though they wouldn't even be compiled during a
kernel build?

Comment 4 Arjan van de Ven 2006-12-15 11:52:51 UTC
I would expect so, especially if you put a few .stp files there.
Bonus points for allowint the .stp's to be compiled if systemtap is installed on
the system of course....



Comment 5 Frank Ch. Eigler 2007-02-15 18:34:29 UTC
Systemtap 0.5.12 for fc6 should resolve the immediate problem.
The secondary one of possibly plopping runtime or tapset pieces into
the upstream kernel tree is being discussed on the public mailing list.


Note You need to log in before you can comment on or make changes to this bug.