Re: [PATCH 19/19] x86/dumpstack: print any pt_regs found on the stack

2016-07-22 Thread Josh Poimboeuf
On Fri, Jul 22, 2016 at 04:39:00PM -0700, Andy Lutomirski wrote: > On Fri, Jul 22, 2016 at 4:30 PM, Josh Poimboeuf wrote: > > On Fri, Jul 22, 2016 at 04:18:04PM -0700, Andy Lutomirski wrote: > >> On Fri, Jul 22, 2016 at 3:20 PM, Josh Poimboeuf > >> wrote: > >> > On Fri, Jul 22, 2016 at 02:46:10P

Re: [PATCH 19/19] x86/dumpstack: print any pt_regs found on the stack

2016-07-22 Thread Andy Lutomirski
On Fri, Jul 22, 2016 at 4:30 PM, Josh Poimboeuf wrote: > On Fri, Jul 22, 2016 at 04:18:04PM -0700, Andy Lutomirski wrote: >> On Fri, Jul 22, 2016 at 3:20 PM, Josh Poimboeuf wrote: >> > On Fri, Jul 22, 2016 at 02:46:10PM -0700, Andy Lutomirski wrote: >> >> On Fri, Jul 22, 2016 at 8:57 AM, Josh Poi

Re: [PATCH 19/19] x86/dumpstack: print any pt_regs found on the stack

2016-07-22 Thread Josh Poimboeuf
On Fri, Jul 22, 2016 at 04:18:04PM -0700, Andy Lutomirski wrote: > On Fri, Jul 22, 2016 at 3:20 PM, Josh Poimboeuf wrote: > > On Fri, Jul 22, 2016 at 02:46:10PM -0700, Andy Lutomirski wrote: > >> On Fri, Jul 22, 2016 at 8:57 AM, Josh Poimboeuf > >> wrote: > >> > On Thu, Jul 21, 2016 at 10:13:03P

Re: [PATCH 19/19] x86/dumpstack: print any pt_regs found on the stack

2016-07-22 Thread Andy Lutomirski
On Fri, Jul 22, 2016 at 3:20 PM, Josh Poimboeuf wrote: > On Fri, Jul 22, 2016 at 02:46:10PM -0700, Andy Lutomirski wrote: >> On Fri, Jul 22, 2016 at 8:57 AM, Josh Poimboeuf wrote: >> > On Thu, Jul 21, 2016 at 10:13:03PM -0700, Andy Lutomirski wrote: >> >> On Thu, Jul 21, 2016 at 8:30 PM, Josh Poi

Re: [PATCH 19/19] x86/dumpstack: print any pt_regs found on the stack

2016-07-22 Thread Josh Poimboeuf
On Fri, Jul 22, 2016 at 02:46:10PM -0700, Andy Lutomirski wrote: > On Fri, Jul 22, 2016 at 8:57 AM, Josh Poimboeuf wrote: > > On Thu, Jul 21, 2016 at 10:13:03PM -0700, Andy Lutomirski wrote: > >> On Thu, Jul 21, 2016 at 8:30 PM, Josh Poimboeuf > >> wrote: > >> > On Thu, Jul 21, 2016 at 03:32:32P

Re: [PATCH 19/19] x86/dumpstack: print any pt_regs found on the stack

2016-07-22 Thread Andy Lutomirski
On Fri, Jul 22, 2016 at 8:57 AM, Josh Poimboeuf wrote: > On Thu, Jul 21, 2016 at 10:13:03PM -0700, Andy Lutomirski wrote: >> On Thu, Jul 21, 2016 at 8:30 PM, Josh Poimboeuf wrote: >> > On Thu, Jul 21, 2016 at 03:32:32PM -0700, Andy Lutomirski wrote: >> >> On Thu, Jul 21, 2016 at 2:21 PM, Josh Poi

Re: [PATCH 19/19] x86/dumpstack: print any pt_regs found on the stack

2016-07-22 Thread Josh Poimboeuf
On Thu, Jul 21, 2016 at 10:13:03PM -0700, Andy Lutomirski wrote: > On Thu, Jul 21, 2016 at 8:30 PM, Josh Poimboeuf wrote: > > On Thu, Jul 21, 2016 at 03:32:32PM -0700, Andy Lutomirski wrote: > >> On Thu, Jul 21, 2016 at 2:21 PM, Josh Poimboeuf > >> wrote: > >> > Now that we can find pt_regs regi

Re: [PATCH 19/19] x86/dumpstack: print any pt_regs found on the stack

2016-07-21 Thread Andy Lutomirski
On Thu, Jul 21, 2016 at 8:30 PM, Josh Poimboeuf wrote: > On Thu, Jul 21, 2016 at 03:32:32PM -0700, Andy Lutomirski wrote: >> On Thu, Jul 21, 2016 at 2:21 PM, Josh Poimboeuf wrote: >> > Now that we can find pt_regs registers in the middle of the stack due to >> > an interrupt or exception, we can

Re: [PATCH 19/19] x86/dumpstack: print any pt_regs found on the stack

2016-07-21 Thread Josh Poimboeuf
On Thu, Jul 21, 2016 at 03:32:32PM -0700, Andy Lutomirski wrote: > On Thu, Jul 21, 2016 at 2:21 PM, Josh Poimboeuf wrote: > > Now that we can find pt_regs registers in the middle of the stack due to > > an interrupt or exception, we can print them. Here's what it looks > > like: > > > >... >

Re: [PATCH 19/19] x86/dumpstack: print any pt_regs found on the stack

2016-07-21 Thread Andy Lutomirski
On Thu, Jul 21, 2016 at 2:21 PM, Josh Poimboeuf wrote: > Now that we can find pt_regs registers in the middle of the stack due to > an interrupt or exception, we can print them. Here's what it looks > like: > >... >[] do_async_page_fault+0x2c/0xa0 >[] async_page_fault+0x28/0x30 > RI

[PATCH 19/19] x86/dumpstack: print any pt_regs found on the stack

2016-07-21 Thread Josh Poimboeuf
Now that we can find pt_regs registers in the middle of the stack due to an interrupt or exception, we can print them. Here's what it looks like: ... [] do_async_page_fault+0x2c/0xa0 [] async_page_fault+0x28/0x30 RIP: 0010:[] [] __clear_user+0x42/0x70 RSP: 0018:88007876fd38 EFL