summaryrefslogtreecommitdiffstats
path: root/arch/riscv/Kconfig
diff options
context:
space:
mode:
authorMao Han <han_mao@c-sky.com>2019-08-29 14:57:00 +0800
committerPaul Walmsley <paul.walmsley@sifive.com>2019-09-04 12:43:00 -0700
commitdbeb90b0c1eb86a9b963b929d3c937afb7dadfa3 (patch)
tree75c68accfe0d5c2cefacd0ce511e6efdbbecd196 /arch/riscv/Kconfig
parent909548d6c5789dbd6cd4c7a6b32fcf0ae974f5ee (diff)
downloadlinux-dbeb90b0c1eb86a9b963b929d3c937afb7dadfa3.tar.bz2
riscv: Add perf callchain support
This patch add support for perf callchain sampling on riscv platforms. 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@c-sky.com> Cc: Paul Walmsley <paul.walmsley@sifive.com> Cc: Greentime Hu <green.hu@gmail.com> Cc: Palmer Dabbelt <palmer@sifive.com> Cc: linux-riscv <linux-riscv@lists.infradead.org> Cc: Christoph Hellwig <hch@lst.de> Cc: Guo Ren <guoren@kernel.org> Tested-by: Greentime Hu <greentime.hu@sifive.com> [paul.walmsley@sifive.com: fixed some 'checkpatch.pl --strict' issues; fixed patch description spelling] Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Diffstat (limited to 'arch/riscv/Kconfig')
0 files changed, 0 insertions, 0 deletions