]> sourceware.org Git - systemtap.git/commit
RHBZ1795196: tolerate partial elf + missing dwarf vmlinuz for -d kernel
authorFrank Ch. Eigler <fche@redhat.com>
Tue, 28 Jan 2020 20:48:42 +0000 (15:48 -0500)
committerFrank Ch. Eigler <fche@redhat.com>
Tue, 28 Jan 2020 21:48:38 +0000 (16:48 -0500)
commit6053cecf4a4ffd19d1ac0a3bb3ffef100ab83fda
tree03fae194f747360951128a89c3420f1bd5fdaeee
parent0e5287b122459ac10cea6bccf335ac063300c587
RHBZ1795196: tolerate partial elf + missing dwarf vmlinuz for -d kernel

Previous code in dump_symbol_tables() couldn't tolerate the case where
new elfutils opened /boot/vmlinuz* as an elf file for the kernel, and
could not extract a symbol table from that (nor an absent -debuginfo).
New code instead emits a warning and moves on.  A special error code
triggers return to the dump_kallsyms() path that prior elfutils/stap
versions rely on.
testsuite/systemtap.base/kallsyms.exp
translate.cxx
This page took 0.027309 seconds and 5 git commands to generate.