[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4F5E76CE.4030601@zytor.com>
Date: Mon, 12 Mar 2012 15:21:02 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Jan Kratochvil <jan.kratochvil@...hat.com>
CC: Denys Vlasenko <dvlasenk@...hat.com>,
Roland McGrath <roland@...k.frob.com>,
linux-kernel@...r.kernel.org, Oleg Nesterov <oleg@...hat.com>,
Kushal Das <kdas@...hat.com>
Subject: Re: Extending coredump note section to contain filenames
On 03/12/2012 09:53 AM, Jan Kratochvil wrote:
>
>> Why we don't save library names in coredump?
>
> Because they are useless. If you have a filename there how to find which
> content it should match? Even if you verify the file is still there with the
> same content there is a race it can no longer be true when you read the core
> file 5 seconds later.
>
> The build-id mapping server above always works and without races.
>
It seems to me that there would be value in having *both*.
In particular, for libraries which aren't installed in standard system
directories (because they are test versions or mapped with dlopen()) it
would be good to have a hint of where to find them. The build-id can
then tell you if you have the right version.
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists