I have some problems with the 0.9.7 Version of Systemtap. Scripts than run with 0.9 don't run anymore on 0.9.7. I think it affects the "@cast" stuff, in my example this affects "inet_sock.stp" Changing: daddr = @cast(sock, "inet_sock", "kernel")->inet->daddr; To: daddr = @cast(sock, "inet_sock", "kernel<linux/ip.h>")->inet->daddr; Fixes the problem. I have a 2.6.9 Kernel.
It is possible that the fix for bug #9932 modified the behavior of '@cast' a bit, causing this problem. Your patch looks reasonable. Is this the only example of this problem or are there others?
Believed fixed. Other @casts() in the tapsets may benefit from explicit kernel<FOO.h> decorations to decouple more from debug data.