Red Hat Bugzilla – Bug 215624
Basic "hello-world" with systemtap doesn't work
Last modified: 2007-11-30 17:11:48 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1)
Description of problem:
The systemtap tutorial by Frank Eigler starts with:
# cat hello-world.stp
# stap hello-world.stp
This fails. Running with "-v" the first problem is that the generated .c file includes linux/config.h, which has been obsoleted in 2.6.18. Workaround: make an empty config.h file.
Second problem: generated module will not load due to missing symbol. Dmesg(1) reports:
stap_9360: Unknown symbol kallsyms_lookup_name
Checking against the git log ... the export of this symbol was dropped when a new method was added to the kernel for symbol to address resolution.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Module is built (once I created empty config.h file) but will not load.
Module should have loaded and printed "hello world".
Prarit said "be sure to file them against the devel branch of Fedora Core.
Also, add "fedora-ia64" to the "blocks" field of the BZ". Hope this is now
Fedora rawhide already contains a newer 0.5.10 version that corrects this problem.
Thanks ... 0.5.10 does indeed fix this.