Re: [PATCH 1/2] RISCV: KVM: add tracepoints for entry and exit events

From: Shenlin Liang
Date: Thu Apr 11 2024 - 03:26:51 EST


On 2024-04-10 15:12, Eric Cheng <eric.cheng.linux@xxxxxxxxx> wrote:

>
> On 3/28/2024 11:12 AM, Shenlin Liang wrote:
> > Like other architectures, RISCV KVM also needs to add these event
> > tracepoints to count the number of times kvm guest entry/exit.
> >
> > Signed-off-by: Shenlin Liang <liangshenlin@xxxxxxxxxxxxxxxxxx>
> > ---
> > arch/riscv/kvm/trace_riscv.h | 60 ++++++++++++++++++++++++++++++++++++
>
> Conventionally, it should be named to trace.h, especially if only one. Refer to
> other arch's.

Thank you for the review. I will send the v2 version.