Re: [PATCH] markers: modpost
- From: Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx>
- Date: Thu, 1 Nov 2007 07:24:07 -0400
* Roland McGrath (roland@xxxxxxxxxx) wrote:
If we want to do it safely, I think we should iterate from
__start___markers to __stop___markers symbols of vmlinux and get the
pointers to the name/format string pairs.
The same can then be done with modules using the __markers section.
Or maybe is there some reason not to do that ?
It's just rather a pain in the ass, a whole lot more fiddly work.
cf "somewhat crude" and "foreseeable future" in my patch's log entry.
Knock yourself out if you're looking for more tedious hacking to do in
modpost.c, but I say fix it when it breaks.
Hmmmm, I have rarely seen code go into mainline without addressing valid
technical criticism first. Please fix.
I'll look into it if I find the time.
Mathieu
Thanks,
Roland
--
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
-
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/
- Follow-Ups:
- Re: [PATCH] markers: modpost
- From: David Smith
- Re: [PATCH] markers: modpost
- References:
- [PATCH] markers: modpost
- From: Roland McGrath
- Re: [PATCH] markers: modpost
- From: Mathieu Desnoyers
- Re: [PATCH] markers: modpost
- From: Roland McGrath
- [PATCH] markers: modpost
- Prev by Date: Re: Suspend to ram regression (2.6.24-rc1-git)
- Next by Date: [RFC 1/2] Char: tty, centralize works
- Previous by thread: Re: [PATCH] markers: modpost
- Next by thread: Re: [PATCH] markers: modpost
- Index(es):
Relevant Pages
|