This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
RE: snapshot1210 test result for ppc64
- From: "Stone, Joshua I" <joshua dot i dot stone at intel dot com>
- To: "Hien Nguyen" <hien at us dot ibm dot com>
- Cc: <systemtap at sources dot redhat dot com>
- Date: Mon, 12 Dec 2005 11:34:23 -0800
- Subject: RE: snapshot1210 test result for ppc64
Hien Nguyen wrote:
> Execute the timers.stp manaully, I got the folowing error
>
> stap -v timers.stp
> .
> .
> /tmp/stapZhDCBj/stap_9822.c: In function `systemtap_module_init':
> /tmp/stapZhDCBj/stap_9822.c:1961: warning: implicit declaration of
> function `register_profile_notifier'
> /tmp/stapZhDCBj/stap_9822.c:2061: warning: implicit declaration of
> function `unregister_profile_notifier'
> make[1]: *** [/tmp/stapZhDCBj/stap_9822.o] Error 1
> make: *** [_module_/tmp/stapZhDCBj] Error 2
> make: Leaving directory `/usr/src/kernels/2.6.9-24.EL-ppc64'
> Pass 4: compiled into "stap_9822.ko"
> Pass 4: compilation failed. Try again with '-v' (verbose) option.
> Running rm -rf /tmp/stapZhDCBj
This is for the timer.profile probe. It is implemented one of two ways
- either with register_profile_notifier, or register_timer_hook. This
is due to an API change in the kernel - only the latter exists on
kernels >= 2.6.10.
It may simply be that the proper files are not being included on your
system. Can you please check whether register_profile_notifier or
register_timer_hook exists in your kernel? One or the other should be
in "include/linux/profile.h". It looks like you're on RHEL4 U3 beta, so
I'm guessing it will be the former, but it's worth a check.
Thanks,
Josh