Re: [PATCH V6 1/3] riscv: Add perf callchain support

From: Mao Han
Date: Wed Sep 04 2019 - 22:30:10 EST


On Wed, Sep 04, 2019 at 12:54:41PM -0700, Paul Walmsley wrote:
> Hello Mao Han,
>
> On Thu, 29 Aug 2019, Mao Han wrote:
>
> > This patch add support for perf callchain sampling on riscv platform.
> > The return address of leaf function is retrieved from pt_regs as
> > it is not saved in the outmost frame.
> >
> > 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>
>
> There are some 'checkpatch.pl --strict' warnings with this patch (below).
> These have been fixed here. The following patch has been queued for
> v5.4-rc1 with Greentime's Tested-by:. Thanks for your hard work following
> up on the feedback with these patches -
Thanks for the fixes. I'll check patches with --strict next time.

Thanks,
Mao Han