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

2019-08-21 Thread Mao Han
Hi Greentime, On Wed, Aug 21, 2019 at 05:16:13PM +0800, Greentime Hu wrote: > Hi Mao, > > Mao Han 於 2019年8月20日 週二 下午4:57寫道: > > > > 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

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

2019-08-21 Thread Greentime Hu
Hi Mao, Mao Han 於 2019年8月20日 週二 下午4:57寫道: > > 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:

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

2019-08-20 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: