This is the mail archive of the
systemtap@sources.redhat.com
mailing list for the systemtap project.
Re: src/runtime/probes examples updates?
- From: Tom Zanussi <zanussi at us dot ibm dot com>
- To: Martin Hunt <hunt at redhat dot com>
- Cc: William Cohen <wcohen at redhat dot com>, mhunt <mhunt at redhat dot com>, SystemTAP <systemtap at sources dot redhat dot com>
- Date: Fri, 10 Jun 2005 14:22:38 -0500
- Subject: Re: src/runtime/probes examples updates?
- References: <42A9DE76.7010108@redhat.com><1118429734.5071.7.camel@tiger>
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