Re: [RFC][PATCH] powerpc/oops: Provide disassembly on OOPS

2016-12-05 Thread Michael Ellerman
Balbir Singh writes: > This patch is tied to xmon, it can be refactored out > better later if required. The idea is to provide > disassembly using xmon so that when we get an OOPS > we see something like the following below > > ... > NIP [c063a230] lkdtm_WARNING+0x0/0x10 > LR [c06

[RFC][PATCH] powerpc/oops: Provide disassembly on OOPS

2016-12-04 Thread Balbir Singh
This patch is tied to xmon, it can be refactored out better later if required. The idea is to provide disassembly using xmon so that when we get an OOPS we see something like the following below ... NIP [c063a230] lkdtm_WARNING+0x0/0x10 LR [c063986c] lkdtm_do_action+0x3c/0x80 Call