snapshot1210 test result for ppc64

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

snapshot1210 test result for ppc64

Hien Nguyen
All test passed except two failures
FAIL: ./systemtap.base/kmodule.stp compilation - Known issue.
FAIL: ./systemtap.base/timers.stp startup (eof) -


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





Reply | Threaded
Open this post in threaded view
|

Re: snapshot1210 test result for ppc64

Frank Ch. Eigler

hien 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'
> [...]

Could you look into your kernel version's sources to see whether
there is a profiling timer hook?


- FChE
Reply | Threaded
Open this post in threaded view
|

RE: snapshot1210 test result for ppc64

Stone, Joshua I
In reply to this post by Hien Nguyen
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
Reply | Threaded
Open this post in threaded view
|

Re: snapshot1210 test result for ppc64

Hien Nguyen
Stone, Joshua I wrote:

>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.
>
>  
>
Yes, I am running RHEL4 U3 kernel. And yes, they existed in the kernel

cat /proc/kallsyms | grep register_profile_notifier
c0000000000602ec t .register_profile_notifier
c000000000060350 t .unregister_profile_notifier



>Thanks,
>
>Josh
>
>  
>