Skip to content

x86/dumpstack: print entry regs when dumping the stack

Josh Poimboeuf lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6x86/entry/unwind: create stack frames for saved interrupt registersarch/x86/entry/calling.h arch/x86/entry/entry_32.S arch/x86/entry/entry_64.S +2 more+139 -160 replies
2/6x86/unwind: create stack frames for saved syscall registersarch/x86/kernel/unwind_frame.c+35 -00 replies
3/6x86/dumpstack: print stack identifier on its own linearch/x86/kernel/dumpstack.c+4 -40 replies
4/6x86/dumpstack: print any pt_regs found on the stackarch/x86/kernel/dumpstack.c+15 -10 replies
5/6x86/dumpstack: fix duplicate RIP address display in __show_regs()arch/x86/kernel/process_64.c+2 -20 replies
6/6x86/dumpstack: print orig_ax in __show_regs()arch/x86/kernel/process_64.c+6 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] x86/dumpstack: print entry regs when dumping the stack

Here's the next round of dumpstack-related patches. This adds a mechanism to identify any pt_regs on the stack so they can be printed in the stack dump.

Josh Poimboeuf (6):
x86/entry/unwind: create stack frames for saved interrupt registers x86/unwind: create stack frames for saved syscall registers x86/dumpstack: print stack identifier on its own line x86/dumpstack: print any pt_regs found on the stack x86/dumpstack: fix duplicate RIP address display in __show_regs() x86/dumpstack: print orig_ax in __show_regs()

 arch/x86/entry/calling.h       |  20 ++++++++
 arch/x86/entry/entry_32.S      |  33 ++++++++++--
 arch/x86/entry/entry_64.S      |  10 ++--
 arch/x86/include/asm/unwind.h  |  16 +++++-
 arch/x86/kernel/dumpstack.c    |  24 +++++++--
 arch/x86/kernel/process_64.c   |  11 ++--
 arch/x86/kernel/unwind_frame.c | 111 ++++++++++++++++++++++++++++++++++++++---
 7 files changed, 201 insertions(+), 24 deletions(-)
Signature · 1 line
2.7.4