* RE: snapshot1210 test result for ppc64
@ 2005-12-12 19:34 Stone, Joshua I
2005-12-12 20:26 ` Hien Nguyen
0 siblings, 1 reply; 4+ messages in thread
From: Stone, Joshua I @ 2005-12-12 19:34 UTC (permalink / raw)
To: Hien Nguyen; +Cc: systemtap
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: snapshot1210 test result for ppc64
2005-12-12 19:34 snapshot1210 test result for ppc64 Stone, Joshua I
@ 2005-12-12 20:26 ` Hien Nguyen
0 siblings, 0 replies; 4+ messages in thread
From: Hien Nguyen @ 2005-12-12 20:26 UTC (permalink / raw)
To: Stone, Joshua I; +Cc: systemtap
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
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: snapshot1210 test result for ppc64
2005-12-12 18:40 Hien Nguyen
@ 2005-12-12 19:32 ` Frank Ch. Eigler
0 siblings, 0 replies; 4+ messages in thread
From: Frank Ch. Eigler @ 2005-12-12 19:32 UTC (permalink / raw)
To: systemtap
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* snapshot1210 test result for ppc64
@ 2005-12-12 18:40 Hien Nguyen
2005-12-12 19:32 ` Frank Ch. Eigler
0 siblings, 1 reply; 4+ messages in thread
From: Hien Nguyen @ 2005-12-12 18:40 UTC (permalink / raw)
To: SystemTAP
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-12-12 20:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-12 19:34 snapshot1210 test result for ppc64 Stone, Joshua I
2005-12-12 20:26 ` Hien Nguyen
-- strict thread matches above, loose matches on Subject: below --
2005-12-12 18:40 Hien Nguyen
2005-12-12 19:32 ` Frank Ch. Eigler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).