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

2019-09-04 Thread Mao Han
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 outmo

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

2019-09-04 Thread Paul Walmsley
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 > Cc: Paul Walmsley > Cc: Greentime H

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

2019-08-28 Thread Mao Han
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 Cc: Paul Walmsley Cc: Greentime Hu Cc: Palmer Dabbelt Cc: linux-riscv Cc: Christoph Hellwig Cc: