This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: pre-compiled systemtap modules (try 2)


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

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]