Re: [PATCH V7 1/2] riscv: Add support for perf registers sampling

From: Paul Walmsley
Date: Thu Sep 05 2019 - 03:54:13 EST


On Thu, 5 Sep 2019, Mao Han wrote:

> This patch implements the perf registers sampling and validation API
> for riscv arch. The valid registers and their register ID are defined in
> perf_regs.h. Perf tool can backtrace in userspace with unwind library
> and the registers/user stack dump support.
>
> Signed-off-by: Mao Han <han_mao@xxxxxxxxx>
> Cc: Paul Walmsley <paul.walmsley@xxxxxxxxxx>
> Cc: Greentime Hu <green.hu@xxxxxxxxx>
> Cc: Palmer Dabbelt <palmer@xxxxxxxxxx>
> Cc: linux-riscv <linux-riscv@xxxxxxxxxxxxxxxxxxx>
> Cc: Christoph Hellwig <hch@xxxxxx>
> Cc: Guo Ren <guoren@xxxxxxxxxx>

Thanks, queued for v5.4-rc1 with Greentime's Tested-by: (since the changes
from v6 to v7 had no functional impact).

- Paul