Comment 10 for bug 293235

Revision history for this message
In , Jeff (jeff-redhat-bugs) wrote :

I'm looking at an upstream problem, and wrote a simple systemtap script to do a probe on module_put():

probe kernel.function("module_put")
{
 print_backtrace();
}

...it fails to compile with something that looks like an internal systemtap problem.

In file included from /usr/share/systemtap/runtime/transport/transport.c:20,
                 from /usr/share/systemtap/runtime/print.c:17,
                 from /usr/share/systemtap/runtime/runtime.h:82,
                 from /tmp/stapUEZQ00/stap_67a9a6be0a4462f6441f740715946de0_479.c:41:
/usr/share/systemtap/runtime/time.c: In function '_stp_init_time':
/usr/share/systemtap/runtime/time.c:240: error: too many arguments to function 'on_each_cpu'
make[1]: *** [/tmp/stapUEZQ00/stap_67a9a6be0a4462f6441f740715946de0_479.o] Error 1

Some relevant info:

# rpm -qa systemtap\*
systemtap-0.7-1.fc10.x86_64
systemtap-runtime-0.7-1.fc10.x86_64

# rpm -qa kernel\* | grep 27-13
kernel-debug-2.6.27-13.fc10.x86_64
kernel-debug-debuginfo-2.6.27-13.fc10.x86_64
kernel-firmware-2.6.27-13.fc10.noarch
kernel-debug-devel-2.6.27-13.fc10.x86_64
kernel-headers-2.6.27-13.fc10.x86_64
kernel-debuginfo-common-2.6.27-13.fc10.x86_64

...full output from stap -vvv module_put.stap is attached.