lkml.org 
[lkml]   [2020]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCHv2] perf kvm: add kvm-stat for arm64
On (20/09/16 15:51), Leo Yan wrote:
> 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 :)

OK.

By the way, arch/arm64/kernel/traps.c has esr_class_str[] with
decoded exception names. Maybe I can reuse some.

-ss

\
 
 \ /
  Last update: 2020-09-16 10:01    [W:0.043 / U:0.984 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site