> I can confirm this behaviour. Systemtap is completely unusable right now
> on Intrepid.
>
> --
> Systemtap broken on Intrepid
> https://bugs.launchpad.net/bugs/293235
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in "systemtap" source package in Ubuntu: New
>
> Bug description:
> Binary package hint: systemtap
>
> Hi,
> in Intrepid I cannot run any systemtap script, since each one fails
> with this error:
>
> Running make -C "/lib/modules/2.6.27-7-generic/build" M="/tmp/stapy5xLfx"
> modules >/dev/null
> 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/stapy5xLfx/stap_924da4375b80b1c6e0f56a8c9ede2ed3_53982.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/stapy5xLfx/stap_924da4375b80b1c6e0f56a8c9ede2ed3_53982.o] Error 1
> make: *** [_module_/tmp/stapy5xLfx] Error 2
> Pass 4: compiled C into "stap_924da4375b80b1c6e0f56a8c9ede2ed3_53982.ko" in
> 3430usr/730sys/5398real ms.
> Pass 4: compilation failed. Try again with more '-v' (verbose) options.
>
> It seems to be a known problem, which has been patched this summer:
>
>
> http://groups.google.com/group/linux.kernel/browse_thread/thread/823e9c47714d5835
>
> Can you please update systemtap package to reflect this API change?
>
> Thanks!
>
> ste@ste-ubuntu:~$ apt-cache policy systemtap
> systemtap:
> Installed: 0.0.20080705-2ubuntu1
> Candidate: 0.0.20080705-2ubuntu1
> Version table:
> *** 0.0.20080705-2ubuntu1 0
> 500 http://sm.archive.ubuntu.com intrepid/universe Packages
> 100 /var/lib/dpkg/status
>
> ste@ste-ubuntu:~$ lsb_release -rd
> Description: Ubuntu 8.10
> Release: 8.10
>
Hello Giannis,
it is very easy to fix the problem.
As it is shown here:
http:// groups. google. com/group/ linux.kernel/ browse_ thread/ thread/ 823e9c47714d583 5?pli=1
It is enough to edit the file:
/usr/share/ systemtap/ runtime/ time.c
locate the following line:
ret = on_each_ cpu(__stp_ init_time, NULL, 0, 1);
and substitute it with this line:
ret = on_each_ cpu(__stp_ init_time, NULL, 1);
Then you'll be able to use systemtap on Intrepid!
Let's wait for the official fix now :)
BTW great work guys, as usual!
2008/11/17 Giannis Kozyrakis <email address hidden>
> I can confirm this behaviour. Systemtap is completely unusable right now /bugs.launchpad .net/bugs/ 293235 2.6.27- 7-generic/ build" M="/tmp/stapy5xLfx" systemtap/ runtime/ transport/ transport. c:20, systemtap/ runtime/ print.c: 17, systemtap/ runtime/ runtime. h:82, /stap_924da4375 b80b1c6e0f56a8c 9ede2ed3_ 53982.c: 41: systemtap/ runtime/ time.c: In function '_stp_init_time': systemtap/ runtime/ time.c: 240: error: too many arguments to x/stap_ 924da4375b80b1c 6e0f56a8c9ede2e d3_53982. o] Error 1 /tmp/stapy5xLfx ] Error 2 b80b1c6e0f56a8c 9ede2ed3_ 53982.ko" in 730sys/ 5398real ms. groups. google. com/group/ linux.kernel/ browse_ thread/ thread/ 823e9c47714d583 5 2ubuntu1 2ubuntu1 2ubuntu1 0 sm.archive. ubuntu. com intrepid/universe Packages dpkg/status
> on Intrepid.
>
> --
> Systemtap broken on Intrepid
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in "systemtap" source package in Ubuntu: New
>
> Bug description:
> Binary package hint: systemtap
>
> Hi,
> in Intrepid I cannot run any systemtap script, since each one fails
> with this error:
>
> Running make -C "/lib/modules/
> modules >/dev/null
> In file included from
> /usr/share/
> from /usr/share/
> from /usr/share/
> from
> /tmp/stapy5xLfx
> /usr/share/
> /usr/share/
> function 'on_each_cpu'
> make[1]: ***
> [/tmp/stapy5xLf
> make: *** [_module_
> Pass 4: compiled C into "stap_924da4375
> 3430usr/
> Pass 4: compilation failed. Try again with more '-v' (verbose) options.
>
> It seems to be a known problem, which has been patched this summer:
>
>
> http://
>
> Can you please update systemtap package to reflect this API change?
>
> Thanks!
>
> ste@ste-ubuntu:~$ apt-cache policy systemtap
> systemtap:
> Installed: 0.0.20080705-
> Candidate: 0.0.20080705-
> Version table:
> *** 0.0.20080705-
> 500 http://
> 100 /var/lib/
>
> ste@ste-ubuntu:~$ lsb_release -rd
> Description: Ubuntu 8.10
> Release: 8.10
>