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: Packaging systemtap


On Wed, 2007-05-02 at 21:38 +0800, Eugene Teo wrote:
> John Liang wrote:
> > HI there,
> > 
> > Is there a way to run the complied module for systemtap? 
> > Right now, it seems we can only run it as "stap -g <source name>".
> > Is there a way to run it as "stap -g <module name>"?
> 
> Yes, you can run stap with -k and -m, and save the kernel module. Then on
> your customer's machine, make sure it has systemtap-runtime installed, run
> staprun -L to load and run the module.

You probably just want to do "staprun module_name".  "-L" will load the
module and then detach, allowing it to run in the background. You have
to later connect with "staprun -A" to get any output. It should only be
used in special cases.

Martin



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