]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
scripts/decode_stacktrace.sh: Fix address line detection on x86
authorJosh Poimboeuf <jpoimboe@redhat.com>
Mon, 28 Nov 2016 23:06:35 +0000 (17:06 -0600)
committerIngo Molnar <mingo@kernel.org>
Tue, 29 Nov 2016 13:19:50 +0000 (14:19 +0100)
commit53938ee427bf27525a63721b7e25d86b8f31f161
tree75da0d415d07f2cc20637a7062f0f2497b1f8050
parent9b032d21f6482ee305dcdec418c15153614b1dcc
scripts/decode_stacktrace.sh: Fix address line detection on x86

Kirill reported that the decode_stacktrace.sh script was broken by the
following commit:

  bb5e5ce545f2 ("x86/dumpstack: Remove kernel text addresses from stack dump")

Fix it by updating the per-line absolute address check to also check for
function-based address lines like the following:

  write_sysrq_trigger+0x51/0x60

I didn't remove the check for absolute addresses because it's still
needed for ARM.

Reported-by: Kirill A. Shutemov <kirill@shutemov.name>
Tested-by: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Konstantin Khlebnikov <koct9i@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sasha Levin <alexander.levin@verizon.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Fixes: bb5e5ce545f2 ("x86/dumpstack: Remove kernel text addresses from stack dump")
Link: http://lkml.kernel.org/r/20161128230635.4n2ofgawltgexgcg@treble
Signed-off-by: Ingo Molnar <mingo@kernel.org>
scripts/decode_stacktrace.sh