[PATCH 0/3] riscv: cover to ARCH_STACKWALK

Kefeng Wang wangkefeng.wang at huawei.com
Wed Dec 16 21:34:58 EST 2020


On 2020/11/21 11:01, Palmer Dabbelt wrote:
> On Thu, 12 Nov 2020 22:42:20 PST (-0800), wangkefeng.wang at huawei.com 
> wrote:
>> Use the newer common infrastructure and simpler arch_stack_walk() 
>> interface
>> for stack walk.
>>
>> Kefeng Wang (3):
>>   riscv: Cleanup stacktrace
>>   riscv: Make stack walk callback consistent with generic code
>>   riscv: Enable ARCH_STACKWALK
>>
>>  arch/riscv/Kconfig                  |  1 +
>>  arch/riscv/include/asm/stacktrace.h | 17 ++++++++
>>  arch/riscv/kernel/perf_callchain.c  | 10 +----
>>  arch/riscv/kernel/stacktrace.c      | 62 +++++++----------------------
>>  4 files changed, 34 insertions(+), 56 deletions(-)
>>  create mode 100644 arch/riscv/include/asm/stacktrace.h
>
> Thanks, these are on for-next.


hi Palmer,  I found a extra code about deleting "__INIT",  is there a 
mistaken when merged into for- next?

see link

https://kernel.googlesource.com/pub/scm/linux/kernel/git/riscv/linux/+/5cb0080f1bfdccb56d5c225d1cd648cdb33fa9bb%5E%21/#F1




More information about the linux-riscv mailing list