Systemtap + tracing processes inside a qemu guest

Frank Ch. Eigler fche@redhat.com
Mon Oct 10 13:55:00 GMT 2011


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



More information about the Systemtap mailing list