Re: [PATCH] Move VMEnter and VMExit tracepoints closer to the actual event

From: Sean Christopherson
Date: Tue May 25 2021 - 12:21:06 EST


On Fri, May 21, 2021, Dario Faggioli wrote:
> Hi Sean,
>
> On Thu, 2021-05-20 at 15:32 +0000, Sean Christopherson wrote:
> > I 100% agree that the current behavior can be a bit confusing, but I wonder
> > if we'd be better off "solving" that problem through documentation.
> >
> Indeed. So, do you happen to have in mind what could be the best place
> and the best way for documenting this?

I didn't have anything in mind, but my gut reaction is to add a new file dedicated
to tracing/tracepoints in KVM, e.g.

Documentation/virt/kvm/tracepoints.rst or Documentation/virt/kvm/tracing.rst

I'm sure there are all sorts of tips and tricks people have for using KVM's
tracepoints, it would be nice to provide a way to capture and disseminate them.
My only hesitation is that Documentation/virt/kvm/ might be too formal for what
would effectively be a wiki of sorts.