On Mon, Dec 26, 2016 at 09:34:38PM +0100, LluĂ­s Vilanova wrote:
> The hypertrace channel allows guest code to emit events in QEMU (the host) 
> using
> its tracing infrastructure (see "docs/trace.txt"). This works in both 'system'
> and 'user' modes, is architecture-agnostic and introduces minimal noise on the
> guest.
> 
> See first commit for a full description, use-cases and an example.

As mentioned previously, the -system mode "1 vmexit per trace event"
approach is too heavyweight for for performance analysis or high
frequency tracing.  It might be useful for things like system bringup or
TCG development though.

The -user approach is more promising because overheads are lower when
guest code really just jumps into QEMU code.

I have left comments on the patches.

Attachment: signature.asc
Description: PGP signature

Reply via email to