This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Packaging systemtap
- From: Martin Hunt <hunt at redhat dot com>
- To: Eugene Teo <eteo at redhat dot com>
- Cc: John Liang <jliang at ibrix dot com>, systemtap at sources dot redhat dot com
- Date: Wed, 02 May 2007 09:42:49 -0400
- Subject: Re: Packaging systemtap
- Organization: Red Hat Inc.
- References: <20050802201026.1155.fche@redhat.com> <20070330182609.8540.qmail@sourceware.org> <001701c78cb3$f25b41d0$a10aa8c0@ibrixfaf958395> <4638945A.4090805@redhat.com>
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