src/runtime/probes examples updates?
Tom Zanussi
zanussi@us.ibm.com
Fri Jun 10 19:23:00 GMT 2005
Martin Hunt writes:
> On Fri, 2005-06-10 at 14:39 -0400, William Cohen wrote:
> > Ananth and I were trying out the examples in src/runtime/probes today.
> > Are there some changes left to check in for those to work? Trying
> > things out with the current rawhide kernel, 2.6.11-1.1369_FC4-smp-i686,
> > got the following messages.
> >
> > make -rR -f
> > /usr/src/kernels/2.6.11-1.1369_FC4-smp-i686/scripts/Makefile.modpost
> > scripts/mod/modpost -m -a -i
> > /usr/src/kernels/2.6.11-1.1369_FC4-smp-i686/Module.symvers
> > /home/wcohen/systemtap_write/src/runtime/probes/scf/scf.o
> > *** Warning: "_stp_ctrl_register"
> > [/home/wcohen/systemtap_write/src/runtime/probes/scf/scf.ko] undefined!
> > *** Warning: "_stp_ctrl_unregister"
> > [/home/wcohen/systemtap_write/src/runtime/probes/scf/scf.ko] undefined!
> > *** Warning: "relay_subbufs_consumed"
> > [/home/wcohen/systemtap_write/src/runtime/probes/scf/scf.ko] undefined!
> > *** Warning: "_stp_ctrl_send"
> > [/home/wcohen/systemtap_write/src/runtime/probes/scf/scf.ko] undefined!
> > *** Warning: "relay_open"
> > [/home/wcohen/systemtap_write/src/runtime/probes/scf/scf.ko] undefined!
> > *** Warning: "relayfs_create_dir"
> > [/home/wcohen/systemtap_write/src/runtime/probes/scf/scf.ko] undefined!
> > *** Warning: "relayfs_remove_dir"
> > [/home/wcohen/systemtap_write/src/runtime/probes/scf/scf.ko] undefined!
> > *** Warning: "relay_close"
> > [/home/wcohen/systemtap_write/src/runtime/probes/scf/scf.ko] undefined!
>
> These warnings are expected because those symbols are in loadable
> modules. I'm working on a build script that will filter out those while
> keeping any valid warnings.
I think it's because they're in external modules which aren't being
found by the build. Probably some playing around with kbuild will fix
it.
Tom
More information about the Systemtap
mailing list