Latest systemtap fails when used with latest Linux kernel
Srikar Dronamraju
srikar@linux.vnet.ibm.com
Tue Jan 6 08:50:00 GMT 2009
Hi Ted,
This error is occuring because of uid,gid, fields in task_struct being
moved over to struct cred patch. Kamalesh has already raised a bug
http://sourceware.org/bugzilla/show_bug.cgi?id=9699 for the same.
--
Thanks and Regards
Srikar
>
> Using the latest Systemtap (commit be21f2db) compiling a 2.6.28-git7
> kernel, I get this failure....
>
> - Ted
>
> % stap --vp 0001 --vp 0001 helloworld.stp
> Running make -C "/lib/modules/2.6.28-05784-gd5b9778/build" M="/tmp/stapsXvMb1" modules >/dev/null
> In file included from /usr/local/share/systemtap/runtime/transport/transport.c:23,
> from /usr/local/share/systemtap/runtime/print.c:17,
> from /usr/local/share/systemtap/runtime/runtime.h:84,
> from /tmp/stapsXvMb1/stap_7e482897f22605cdad02e8e11f34d749_334.c:41:
> /usr/local/share/systemtap/runtime/transport/../procfs.c: In function âÂÂ_stp_mkdir_proc_moduleâÂÂ:
> /usr/local/share/systemtap/runtime/transport/../procfs.c:102: error: âÂÂstruct nameidataâ has no member named âÂÂdentryâÂÂ
> /usr/local/share/systemtap/runtime/transport/../procfs.c:103: error: implicit declaration of function âÂÂpath_releaseâÂÂ
> In file included from /usr/local/share/systemtap/runtime/transport/transport.c:35,
> from /usr/local/share/systemtap/runtime/print.c:17,
> from /usr/local/share/systemtap/runtime/runtime.h:84,
> from /tmp/stapsXvMb1/stap_7e482897f22605cdad02e8e11f34d749_334.c:41:
> /usr/local/share/systemtap/runtime/transport/utt.c: In function âÂÂutt_dropped_openâÂÂ:
> /usr/local/share/systemtap/runtime/transport/utt.c:199: error: âÂÂstruct inodeâ has no member named âÂÂuâÂÂ
> In file included from /usr/local/share/systemtap/runtime/print.c:17,
> from /usr/local/share/systemtap/runtime/runtime.h:84,
> from /tmp/stapsXvMb1/stap_7e482897f22605cdad02e8e11f34d749_334.c:41:
> /usr/local/share/systemtap/runtime/transport/transport.c: In function âÂÂ_stp_transport_initâÂÂ:
> /usr/local/share/systemtap/runtime/transport/transport.c:214: error: âÂÂstruct task_structâ has no member named âÂÂuidâÂÂ
> /usr/local/share/systemtap/runtime/transport/transport.c:215: error: âÂÂstruct task_structâ has no member named âÂÂgidâÂÂ
> In file included from /tmp/stapsXvMb1/stap_7e482897f22605cdad02e8e11f34d749_334.c:42:
> /usr/local/share/systemtap/runtime/regs.c: In function âÂÂ_stp_ret_addrâÂÂ:
> /usr/local/share/systemtap/runtime/regs.c:49: error: âÂÂstruct pt_regsâ has no member named âÂÂespâÂÂ
> /usr/local/share/systemtap/runtime/regs.c: In function âÂÂ_stp_print_regsâÂÂ:
> /usr/local/share/systemtap/runtime/regs.c:235: error: âÂÂstruct pt_regsâ has no member named âÂÂeipâÂÂ
> /usr/local/share/systemtap/runtime/regs.c:236: error: âÂÂstruct pt_regsâ has no member named âÂÂespâÂÂ
> /usr/local/share/systemtap/runtime/regs.c:238: error: âÂÂstruct pt_regsâ has no member named âÂÂeaxâÂÂ
> /usr/local/share/systemtap/runtime/regs.c:238: error: âÂÂstruct pt_regsâ has no member named âÂÂebxâÂÂ
> /usr/local/share/systemtap/runtime/regs.c:238: error: âÂÂstruct pt_regsâ has no member named âÂÂecxâÂÂ
> /usr/local/share/systemtap/runtime/regs.c:238: error: âÂÂstruct pt_regsâ has no member named âÂÂedxâÂÂ
> /usr/local/share/systemtap/runtime/regs.c:240: error: âÂÂstruct pt_regsâ has no member named âÂÂesiâÂÂ
> /usr/local/share/systemtap/runtime/regs.c:240: error: âÂÂstruct pt_regsâ has no member named âÂÂediâÂÂ
> /usr/local/share/systemtap/runtime/regs.c:240: error: âÂÂstruct pt_regsâ has no member named âÂÂebpâÂÂ
> /usr/local/share/systemtap/runtime/regs.c:242: error: âÂÂstruct pt_regsâ has no member named âÂÂxdsâÂÂ
> /usr/local/share/systemtap/runtime/regs.c:242: error: âÂÂstruct pt_regsâ has no member named âÂÂxesâÂÂ
> /usr/local/share/systemtap/runtime/regs.c: In function âÂÂ_stp_get_spâÂÂ:
> /usr/local/share/systemtap/runtime/regs.c:417: error: âÂÂstruct pt_regsâ has no member named âÂÂespâÂÂ
> /usr/local/share/systemtap/runtime/regs.c:418: error: âÂÂstruct pt_regsâ has no member named âÂÂespâÂÂ
> /usr/local/share/systemtap/runtime/regs.c: In function âÂÂ_stp_get_arg32_by_numberâÂÂ:
> /usr/local/share/systemtap/runtime/regs.c:505: error: âÂÂstruct pt_regsâ has no member named âÂÂeaxâÂÂ
> /usr/local/share/systemtap/runtime/regs.c:506: error: âÂÂstruct pt_regsâ has no member named âÂÂedxâÂÂ
> /usr/local/share/systemtap/runtime/regs.c:507: error: âÂÂstruct pt_regsâ has no member named âÂÂecxâÂÂ
> In file included from /usr/local/share/systemtap/runtime/stack.c:35,
> from /tmp/stapsXvMb1/stap_7e482897f22605cdad02e8e11f34d749_334.c:43:
> /usr/local/share/systemtap/runtime/stack-i386.c: In function âÂÂ__stp_stack_printâÂÂ:
> /usr/local/share/systemtap/runtime/stack-i386.c:33: error: âÂÂstruct pt_regsâ has no member named âÂÂespâÂÂ
> /usr/local/share/systemtap/runtime/stack-i386.c:37: error: âÂÂstruct pt_regsâ has no member named âÂÂebpâÂÂ
> In file included from /tmp/stapsXvMb1/stap_7e482897f22605cdad02e8e11f34d749_334.c:43:
> /usr/local/share/systemtap/runtime/stack.c: In function âÂÂ_stp_stack_printâÂÂ:
> /usr/local/share/systemtap/runtime/stack.c:61: error: âÂÂstruct pt_regsâ has no member named âÂÂeipâÂÂ
> /usr/local/share/systemtap/runtime/stack.c:65: error: âÂÂstruct pt_regsâ has no member named âÂÂeipâÂÂ
> /usr/local/share/systemtap/runtime/stack.c:67: error: âÂÂstruct pt_regsâ has no member named âÂÂeipâÂÂ
> distcc[11858] ERROR: compile /tmp/stapsXvMb1/stap_7e482897f22605cdad02e8e11f34d749_334.c on localhost failed
> make[1]: *** [/tmp/stapsXvMb1/stap_7e482897f22605cdad02e8e11f34d749_334.o] Error 1
> make: *** [_module_/tmp/stapsXvMb1] Error 2
> Pass 4: compiled C into "stap_7e482897f22605cdad02e8e11f34d749_334.ko" in 860usr/790sys/1733real ms.
> Pass 4: compilation failed. Try again with another '--vp 0001' option.
> Running rm -rf /tmp/stapsXvMb1
More information about the Systemtap
mailing list