Re: [PATCH] perf kvm stat: Update the exit reason mappings

From: Gautam Menghani

Date: Tue May 12 2026 - 12:31:19 EST


On Tue, May 12, 2026 at 08:25:08AM -0700, Ian Rogers wrote:
> On Tue, May 12, 2026 at 5:04 AM Gautam Menghani <gautam@xxxxxxxxxxxxx> wrote:
> >
> > Sync the exit reason mappings with the mappings in trace_book3s.h
>
> I see:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/powerpc/kvm/trace_book3s.h
> Would it make sense to have a copy in perf and use the check headers
> code to keep them in sync?
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/perf/check-headers.sh

I'll take a look at this, thanks

>
> Could you add the commits that add the H_VIRT and H_FAC_UNAVAIL
> definitions? I don't see them in Linus' tree yet.

I posted that patch earlier today - https://lore.kernel.org/linuxppc-dev/20260512115724.59299-1-gautam@xxxxxxxxxxxxx/
should've pasted the link in the patch


Thanks,
Gautam