pre-compiled systemtap modules (try 2)
Eugeniy Meshcheryakov
eugeniy.meshcheryakov@googlemail.com
Wed Sep 13 18:24:00 GMT 2006
13 вересня 2006 о 13:12 -0500 David Smith написав(-ла):
> On Tue, 2006-09-12 at 22:06 -0400, Martin Hunt wrote:
> > On Tue, 2006-09-12 at 16:39 -0500, David Smith wrote:
> >
> > > 1) Command-line interface. To make this easy for a user to do, we need
> > > to modify the stap command to save a kernel module and run an existing
> > > one. I've attached an updated patch that modifies the systemtap front
> > > end to take 2 new options:
> > >
> > > -S DIR Save the compiled module in DIR
> > > -P PRE_COMPILED_MODULE
> > > Run pre-compiled module
> >
> > Instead of "-P", why not have stap just realize it's been given a module
> > and it automatically does the right thing?
>
> Hmm. You do have a point here, because with the patch it is possible to
> do something like stupid like "stap -P foo.ko bar.stp".
>
Can't systemtap just check if there is ELF signature at the begining of
the file?
--
Eugeniy Meshcheryakov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/systemtap/attachments/20060913/8ed7b1ad/attachment.sig>
More information about the Systemtap
mailing list