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: Systemtap + tracing processes inside a qemu guest


Hi -

On Mon, Oct 10, 2011 at 02:40:43PM +0100, Richard W.M. Jones wrote:
> [...]
> Can you point me to an example of using --remote in this simpler case
> (just into a qemu guest)?
> Could events from inside the qemu guest be somehow transferred to
> the host kernel so that we can collect them all in one place?  [...]

Sort of; you can run a single script on both kernels:

host% stap --remote ssh://root@GUEST/ --remote direct://  SCRIPT.stp

where SCRIPT.stp can contain both host-side and guest-side probes,
perhaps with "?" (optional) probe point punctuation.  See also
the --remote-prefix flag.

- FChE


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