android_kernel_samsung_sm8650/arch/loongarch
Qing Zhang 93a4fa622e LoongArch: Add STACKTRACE support
1. Use common arch_stack_walk() infrastructure to avoid duplicated code
   and avoid taking care of the stack storage and filtering.
2. Add sched_ra (means sched return address) and sched_cfa (means sched
   call frame address) to thread_info, and store them in switch_to().
3. Add __get_wchan() implementation.

Now we can print the process stack and wait channel by cat /proc/*/stack
and /proc/*/wchan.

Signed-off-by: Qing Zhang <zhangqing@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
2022-08-12 13:10:11 +08:00
..
boot LoongArch: Add build infrastructure 2022-06-03 20:09:27 +08:00
configs LoongArch: Add Loongson-3 default config file 2022-06-03 20:09:29 +08:00
include LoongArch: Add STACKTRACE support 2022-08-12 13:10:11 +08:00
kernel LoongArch: Add STACKTRACE support 2022-08-12 13:10:11 +08:00
lib LoongArch: Remove useless header compiler.h 2022-07-29 18:22:32 +08:00
mm LoongArch: Re-tab the assembly files 2022-07-29 18:22:32 +08:00
pci LoongArch: Add PCI controller support 2022-08-12 13:10:11 +08:00
vdso LoongArch: Add vDSO syscall __vdso_getcpu() 2022-08-12 13:10:11 +08:00
Kbuild LoongArch: Add build infrastructure 2022-06-03 20:09:27 +08:00
Kconfig LoongArch: Add STACKTRACE support 2022-08-12 13:10:11 +08:00
Kconfig.debug LoongArch: Add prologue unwinder support 2022-08-12 13:10:11 +08:00
Makefile LoongArch: Add PCI controller support 2022-08-12 13:10:11 +08:00