Re: Extraversion in System.map?

Keith Owens (kaos@ocs.com.au)
Mon, 08 Apr 2002 16:18:15 +1000


On Mon, 8 Apr 2002 15:07:23 +0900 (JST),
Tom Holroyd <tomh@po.crl.go.jp> wrote:
>As part of my penance for using the wrong System.map file in the
>readprofile data I sent out, I have prepared a patch to readprofile
>that makes it check the version of the file against the kernel.
>
>Much to my dismay, the extraversion code ('-pre6' for example) does
>not appear to be anywhere in System.map. Or am I wrong? If not, why
>not, and can this be fixed? After all, symbols can and do change
>between -pre versions.

System.map only contains the numeric kernel version. After all, it is
difficult to convert 2.4.19-pre6 to Version_132115-pre6 when symbols
cannot contain '-'.

Don't reinvent the wheel, use ksymoops -s save.map. ksymoops has all
the verification code that I can think off, -s writes the merged map
including module information.

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