lkml.org 
[lkml]   [2016]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/6] x86/dumpstack: print entry regs when dumping the stack
Date
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(-)

--
2.7.4

\
 
 \ /
  Last update: 2016-10-20 18:35    [W:0.112 / U:4.500 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site