[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221215040141.18610-1-hejinyang@loongson.cn>
Date: Thu, 15 Dec 2022 12:01:35 +0800
From: Jinyang He <hejinyang@...ngson.cn>
To: Huacai Chen <chenhuacai@...nel.org>,
WANG Xuerui <kernel@...0n.name>,
Qing Zhang <zhangqing@...ngson.cn>
Cc: loongarch@...ts.linux.dev, linux-kernel@...r.kernel.org,
Steven Rostedt <rostedt@...dmis.org>,
Masami Hiramatsu <mhiramat@...nel.org>,
Mark Rutland <mark.rutland@....com>
Subject: [PATCH 0/6] LoongArch: Some fix and new features for unwinders
Make the stacktrace more effective and the codes more clear.
Jinyang He (6):
LoongArch: Get frame info in unwind_start when regs is not supported
LoongArch: Use correct sp value to get graph addr in unwinder guess
LoongArch: Adjust PC value when unwind next frame in prologue unwinder
LoongArch: Strip guess_unwinder out from prologue_unwinder
LoongArch: Add raw_show_trace to enable guess unwinder default
LoongArch: Add generic ex-handler unwind in prologue unwinder
arch/loongarch/include/asm/ftrace.h | 2 -
arch/loongarch/include/asm/unwind.h | 33 +++-
arch/loongarch/kernel/Makefile | 3 +-
arch/loongarch/kernel/genex.S | 3 +
arch/loongarch/kernel/process.c | 12 +-
arch/loongarch/kernel/unwind.c | 52 +++++
arch/loongarch/kernel/unwind_guess.c | 45 ++---
arch/loongarch/kernel/unwind_prologue.c | 248 +++++++++++++++---------
arch/loongarch/mm/tlb.c | 2 +-
9 files changed, 256 insertions(+), 144 deletions(-)
create mode 100644 arch/loongarch/kernel/unwind.c
--
2.34.3
Powered by blists - more mailing lists