Re: [PATCH] markers: modpost



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.


Thanks,
Roland
-
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/



Relevant Pages

  • Re: [PATCH] markers: modpost
    ... pointers to the name/format string pairs. ... The same can then be done with modules using the __markers section. ... Please fix. ...
    (Linux-Kernel)
  • Re: How to name variables in a program?
    ... Phlip wrote: ... >> this convention works with prefixes to indicate variable type. ... > This minor editor feature is a major reason all the early MS code used HN. ... > pointers, ...
    (comp.programming)
  • Re: [PATCH] markers: modpost
    ... Mathieu Desnoyers wrote: ... pointers to the name/format string pairs. ... The same can then be done with modules using the __markers section. ... I don't believe there is anything in gcc that specifies that the strings ...
    (Linux-Kernel)
  • Re: Openssl compilation and gcc options
    ... >> any reason it would be faster, and I can think of reasons it would be ... Neither instruction set is more native than the other. ... There is the possibility of using "denser" CPU instructions (that do ... So a tight loop with 32bit pointers may fit ...
    (comp.security.ssh)
  • Re: Upgrade Anxiety
    ... There was a bad reason: the very weak ClassWizard ... New markers can be added, and new versions will use those markers. ... Yes, but to do otherwise would have required DESIGN, something woefully absent. ...
    (microsoft.public.vc.mfc)