Re: [PATCHv2] perf kvm: add kvm-stat for arm64

Leo Yan
2020-09-16T07:53:41Z

On Wed, Sep 16, 2020 at 09:44:04AM +0900, Sergey Senozhatsky wrote:
> On (20/09/15 21:21), Leo Yan wrote:
> >
> > Sorry if I miss anything for this.
> >
>
> No, you are absolutely right! I should have looked more attentively.
>
> Is "IL" good enough for a decoded reason
>
> {ARM_EXCEPTION_IRQ, "IRQ" }, \
> {ARM_EXCEPTION_EL1_SERROR, "SERROR" }, \
> {ARM_EXCEPTION_TRAP, "TRAP" }, \
> + {ARM_EXCEPTION_IL, "IL" }, \
> {ARM_EXCEPTION_HYP_GONE, "HYP_GONE" }
>
> or should there be "ILLEGAL", or maybe something even better?
> ILLEGAL_EXC, etc.

I personally think "ILLEGAL" is neat and clear :)

Thanks,
Leo