diff options
author | Mao Han <[email protected]> | 2019-08-29 14:57:00 +0800 |
---|---|---|
committer | Paul Walmsley <[email protected]> | 2019-09-04 12:43:00 -0700 |
commit | dbeb90b0c1eb86a9b963b929d3c937afb7dadfa3 (patch) | |
tree | 75c68accfe0d5c2cefacd0ce511e6efdbbecd196 /lib/mpi/mpi-cmp.c | |
parent | 909548d6c5789dbd6cd4c7a6b32fcf0ae974f5ee (diff) |
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 <[email protected]>
Cc: Paul Walmsley <[email protected]>
Cc: Greentime Hu <[email protected]>
Cc: Palmer Dabbelt <[email protected]>
Cc: linux-riscv <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Guo Ren <[email protected]>
Tested-by: Greentime Hu <[email protected]>
[[email protected]: fixed some 'checkpatch.pl --strict' issues;
fixed patch description spelling]
Signed-off-by: Paul Walmsley <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions