Re: [patch 4/4] KVM-trace port to tracepoints

Christoph Hellwig
2008-07-23T10:13:53Z

On Wed, Jul 23, 2008 at 01:08:41PM +0300, Avi Kivity wrote:
> trace_mark() is implement kvmtrace, which is propagated to userspace.
> So while trace_mark() itself is not a userspace interface, one of its
> users is.
>
> It's an unstable interface. But so is dmesg; that's the nature of tracing.

Trace_mark is as stable as any other kernel interface, and
the data you pass through it is as stable as you want it to. In most
cases like kvmtrace or my spu scheduler tracing code the trace data
is directly forwarded through a userspace interface, and that is as
stable as any freeform interface, e.g. as like printk mentioned above.