]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
scripts/decode_stacktrace.sh: guess path to vmlinux by release name
authorKonstantin Khlebnikov <khlebnikov@yandex-team.ru>
Fri, 7 Aug 2020 06:17:43 +0000 (23:17 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 7 Aug 2020 18:33:21 +0000 (11:33 -0700)
commitf90dde44c57a1cf338ae01a691110eb980e48563
tree11515ba2e5f5dafa83a498f974c13c8d2c2ec981
parent431151b64af6c8ebec85ee1db3597b56a613f526
scripts/decode_stacktrace.sh: guess path to vmlinux by release name

Add option decode_stacktrace -r <release> to specify only release name.
This is enough to guess standard paths to vmlinux and modules:

$ echo -e 'schedule+0x0/0x0
tap_open+0x0/0x0 [tap]' |
./scripts/decode_stacktrace.sh -r 5.4.0-37-generic
schedule (kernel/sched/core.c:4138)
tap_open (drivers/net/tap.c:502) tap

Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Sasha Levin <sashal@kernel.org>
Link: http://lkml.kernel.org/r/159282923334.248444.2399153100007347838.stgit@buzz
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/decode_stacktrace.sh