On Thu, Sep 12, 2024 at 04:00:29PM GMT, zhouquan@xxxxxxxxxxx wrote: > From: Quan Zhou <zhouquan@xxxxxxxxxxx> > > Introduce basic guest support in perf, enabling it to distinguish > between PMU interrupts in the host or guest, and collect > fundamental information. > > Signed-off-by: Quan Zhou <zhouquan@xxxxxxxxxxx> > --- > arch/riscv/include/asm/perf_event.h | 7 ++++++ > arch/riscv/kernel/perf_callchain.c | 38 +++++++++++++++++++++++++++++ > 2 files changed, 45 insertions(+) > Reviewed-by: Andrew Jones <ajones@xxxxxxxxxxxxxxxx>