Re: [PATCH] Make information about modules available to kgdb.

From: Rusty Russell
Date: Mon Apr 08 2013 - 00:33:43 EST


Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> writes:
> On Sat, Apr 06, 2013 at 03:00:55PM +0200, Sebastian Wankerl wrote:
>> From: Philip Kranz <philip.kranz@xxxxxxxxxxxxxx>
>>
>> To be able to properly debug kernel modules kgbd needs to know all SHF_ALLOC
>> sections of the module. This patch add an array of those sections to struct
>> module. One cannot use sysfs since it does not contain all sections needed.
>
> Why not just add those sections to sysfs so that everyone can see them?

That's what we're going to do, but it breaks PARISC. So we're debating
the exact method with James.

Cheers,
Rusty.
--
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/