linux/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
..
2022-08-12 13:10:11 +08:00
2022-08-12 13:10:11 +08:00
2022-07-29 18:22:32 +08:00
2022-08-12 13:10:11 +08:00
2022-08-12 13:10:11 +08:00
2022-08-12 13:10:11 +08:00