[Crash-utility] [PATCH] filesys.c: add debian vmlinux loc to default search dirs
HAGIO KAZUHITO(萩尾 一仁)
k-hagio-ab at nec.com
Tue Aug 30 23:58:08 UTC 2022
On 2022/08/30 11:52, brookxu.cn at gmail.com wrote:
> 在 2022/8/29 16:59, HAGIO KAZUHITO(萩尾 一仁) 写道:
>> On 2022/08/25 13:07, brookxu wrote:
>>> From: "Chunguang.Xu" <chunguang.xu at shopee.com>
>>>
>>> Now crash cannnot found debian/ubuntu kernel vmlinux, we need
>>> to explicitly specify the path to vmlinux. Try to add the debian
>>> vmlinux location to default search dirs.
>>
>> Thanks for the patch.
>>
>> I don't have a debian/ubuntu machine, so one question,
>> are the full paths of vmlinux on debian/ubuntu like these?
>>
>> /usr/lib/debug/boot/vmlinux-5.11.0-22-generic
>> /usr/lib/debug/boot/vmlinux-5.11.0-23-generic
>> ...
>>
>
> Yes, the default vmlinux path is /usr/lib/debug/boot/vmlinux-`uname -r`.
Thanks. The patch looks good and tested ok.
Acked-by: Kazuhito Hagio <k-hagio-ab at nec.com>
Please wait for another ack.
Thanks,
Kazu
More information about the Crash-utility
mailing list