Re: [PATCH v2] Extend core dump note section to contain file namesof mapped files

From: Andi Kleen
Date: Fri Jul 13 2012 - 11:56:27 EST


On Fri, Jul 13, 2012 at 04:58:06PM +0200, Oleg Nesterov wrote:
> On 07/12, Denys Vlasenko wrote:
> >
> > This note has the following format:
> >
> > long count -- how many files are mapped
> > long page_size -- units for file_ofs
> > array of [COUNT] elements of
> > long start
> > long end
> > long file_ofs
> > followed by COUNT filenames in ASCII: "FILE1" NUL "FILE2" NUL...
>
> All I can say, I believe the patch is correct.

Patch looks good to me too.

> Otherwise I can't comment the patch, I simply do not know what
> people do with the coredumps. But Denys certainly knows, he works
> with the tools which need this info.

More information during debugging is always good.

I assume there will be a gdb patch to dump it?

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/