Messages in this thread | | | Subject | Re: Extraversion in System.map? | From | Robert Love <> | Date | 08 Apr 2002 02:15:20 -0400 |
| |
On Mon, 2002-04-08 at 02:07, Tom Holroyd 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.
Eh, no kernel version is associated with System.map. It has no embedded information, what-so-ever, aside from the symbols.
Do what everyone else does and name your System.map appropriately, i.e. System.map-2.5.8-pre2 and then on boot symlink System.map to System.map-`uname -r`. Most (all?) distributions do this for you already.
You can also pass readprofile the -m flag to specify the map file to use. A little script that does "readprofile -m System.map-`uname -r`" would work fine.
Robert Love
- 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/
| |