Comment 21 for bug 1537125

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2016-03-29 01:12 EDT-------
Hi,
I tested systemtap with latest Ubuntu.
Systemtap was not able to find kernel debuginfo ,only this is fixed and the make check error and other failures needs to be fixed yet.

systemtap-2.9# stap -ve 'probe kernel.function("_do_fork") { printf("hit\n"); }'
Pass 1: parsed user script and 110 library script(s) using 60224virt/48320res/7552shr/37504data kb, in 170usr/0sys/170real ms.
Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s) using 100352virt/89408res/8448shr/77632data kb, in 740usr/90sys/852real ms.
Pass 3: translated to C into "/tmp/stapCuLav9/stap_b1fb74cd193f3b5cfd54555602532397_1032_src.c" using 100352virt/89920res/8960shr/77632data kb, in 20usr/90sys/105real ms.
In file included from /usr/share/systemtap/runtime/print.c:17:0,
from /usr/share/systemtap/runtime/runtime_context.h:22,
from /tmp/stapCuLav9/stap_b1fb74cd193f3b5cfd54555602532397_1032_src.c:50:
/usr/share/systemtap/runtime/linux/print.c: In function ?_stp_print_kernel_info?:
/usr/share/systemtap/runtime/linux/print.c:242:20: error: ?struct module? has no member named ?module_core?
THIS_MODULE->module_core,
^
/usr/share/systemtap/runtime/linux/print.c:243:37: error: ?struct module? has no member named ?core_size?
(unsigned long) (THIS_MODULE->core_size - THIS_MODULE->core_text_size)/
^
/usr/share/systemtap/runtime/linux/print.c:243:62: error: ?struct module? has no member named ?core_text_size?
(unsigned long) (THIS_MODULE->core_size - THIS_MODULE->core_text_size)/
^
/usr/share/systemtap/runtime/linux/print.c:244:44: error: ?struct module? has no member named ?core_text_size?
(unsigned long) (THIS_MODULE->core_text_size)/1024,
^
scripts/Makefile.build:258: recipe for target '/tmp/stapCuLav9/stap_b1fb74cd193f3b5cfd54555602532397_1032_src.o' failed
make[1]: *** [/tmp/stapCuLav9/stap_b1fb74cd193f3b5cfd54555602532397_1032_src.o] Error 1
Makefile:1396: recipe for target '_module_/tmp/stapCuLav9' failed
make: *** [_module_/tmp/stapCuLav9] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compiled C into "stap_b1fb74cd193f3b5cfd54555602532397_1032.ko" in 6380usr/230sys/7666real ms.
Pass 4: compilation failed. [man error::pass4]
Tip: /usr/share/doc/systemtap/README.Debian should help you get started.

------- Comment From <email address hidden> 2016-03-29 01:14 EDT-------
- - - -kernel version- - -

root@ubuntu:~/systemtap-2.9# uname -a
Linux ubuntu 4.4.0-15-generic #31-Ubuntu SMP Fri Mar 18 19:06:23 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux