Packaging systemtap
Martin Hunt
hunt@redhat.com
Wed May 2 13:43:00 GMT 2007
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
More information about the Systemtap
mailing list