* Re: [PATCH 2/3] riscv: Add support for perf registers sampling
[not found] ` <mhng-0787435f-0b2c-4ab4-ad73-0b68a815e613@palmer-si-x1e>
@ 2019-04-29 8:42 ` Mao Han
0 siblings, 0 replies; only message in thread
From: Mao Han @ 2019-04-29 8:42 UTC (permalink / raw)
To: Palmer Dabbelt; +Cc: linux-riscv, guoren, linux-kernel
On Thu, Apr 25, 2019 at 02:11:02PM -0700, Palmer Dabbelt wrote:
> On Thu, 11 Apr 2019 00:53:49 PDT (-0700), han_mao@c-sky.com wrote:
> >+ PERF_REG_RISCV_S10,
> >+ PERF_REG_RISCV_S11,
> >+ PERF_REG_RISCV_T3,
> >+ PERF_REG_RISCV_T4,
> >+ PERF_REG_RISCV_T5,
> >+ PERF_REG_RISCV_T6,
> >+ PERF_REG_RISCV_MAX,
> >+};
>
> Is it expected this eventually supports floating-point and vector registers?
> If so, how do we make this extensible?
>
It seems none of current architecture put their fp/vfp registers into this
file, gpr is normally enough for backtrace and context restoration. I'm not
quite understand the problem of extensible. All modification to this file
should be synchronzied as the perf tool is released with the kernel.
Thanks,
Mao Han
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] only message in thread