diff options
author | Borislav Petkov <bp@suse.de> | 2018-04-17 18:11:22 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2018-04-26 16:15:27 +0200 |
commit | 7cccf0725cf7402514e09c52b089430005798b7f (patch) | |
tree | e47f08bcdbdd8be700811f4d6c75062a8aac251d /arch/x86/kernel/i8259.c | |
parent | x86/fault: Dump user opcode bytes on fatal faults (diff) | |
download | linux-7cccf0725cf7402514e09c52b089430005798b7f.tar.xz linux-7cccf0725cf7402514e09c52b089430005798b7f.zip |
x86/dumpstack: Add a show_ip() function
... which shows the Instruction Pointer along with the insn bytes around
it. Use it whenever rIP is printed. Drop the rIP < PAGE_OFFSET check since
probe_kernel_read() can handle any address properly.
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Link: https://lkml.kernel.org/r/20180417161124.5294-8-bp@alien8.de
Diffstat (limited to 'arch/x86/kernel/i8259.c')
0 files changed, 0 insertions, 0 deletions