Description of problem: # stap -p4 -v /usr/share/systemtap/testsuite/buildok/fortyfive.stp Pass 1: parsed user script and 72 library script(s) using 19520virt/12080res/2004shr kb, in 530usr/20sys/548real ms. Pass 2: analyzed script: 5 probe(s), 8 function(s), 3 embed(s), 1 global(s) using 62316virt/20548res/2952shr kb, in 440usr/260sys/696real ms. Pass 3: translated to C into "/tmp/staph656NU/stap_e92c7152931f26eba30648e7e6a7578e_7473.c" using 62176virt/22280res/4736shr kb, in 920usr/40sys/967real ms. /tmp/staph656NU/stap_e92c7152931f26eba30648e7e6a7578e_7473.c: In function `systemtap_module_init': /tmp/staph656NU/stap_e92c7152931f26eba30648e7e6a7578e_7473.c:2129: error: structure has no member named `symbol_name' /tmp/staph656NU/stap_e92c7152931f26eba30648e7e6a7578e_7473.c:2151: error: structure has no member named `symbol_name' make[1]: *** [/tmp/staph656NU/stap_e92c7152931f26eba30648e7e6a7578e_7473.o] Error 1 make: *** [_module_/tmp/staph656NU] Error 2 Pass 4: compiled C into "stap_e92c7152931f26eba30648e7e6a7578e_7473.ko" in 3360usr/260sys/3508real ms. Pass 4: compilation failed. Try again with another '--vp 0001' option. Version-Release number of selected component (if applicable): systemtap-1.3-4.el4 the testcase if present only in systemtap-testsuite-1.3-4, but systemtap-0.6.2-2.el4_8.3 (4.8) compiles the identical script, so it is a regression How reproducible: always on i386 and x86_64, I don't have results from different architectures Steps to Reproduce: 1. # stap -p4 -v /usr/share/systemtap/testsuite/buildok/fortyfive.stp 2. 3. Actual results: fail in pass 4 Expected results: no fail Additional info:
I've duplicated this bug. After some investigation, the problem was a change in the target_set.stp tapset. This tapset was changed to use dwarfless probes ('nd_syscall' probes, which map to 'kprobe.function' probes), which 2.6.9 kernels don't support. So, I changed the target_set.stp to use dwarf probes ('syscall' probes, which map to 'kernel.function' probes) for 2.6.9 kernels. Upstream commit 4ec30a2 will need to be backported to fix this issue. <http://sources.redhat.com/git/gitweb.cgi?p=systemtap.git;a=patch;h=4ec30a2e5dd462bddce36728de7332fd0942bd31>
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2011-0229.html