Letext symbols in System.map
I've been seeing intermittent Letext symbols showing up in System.maps for a while. They're annoying because they seem to plant themselves at the same address as spinlocks and readprofile picks them over the spinlock symbol.
c02c40d9 t .text.lock.af_packetc02c40d9 t Letext
For me, they only show up when CONFIG_DEBUG_INFO is turned on, but Martin Bligh claims he's seen them other times as well.
After some googling, it appears that Letext is supposed to be a label for a string constant. Since the spinlocks are defined using assembly inside string constants, perhaps the label for that asm string is hanging around too long.
Is ther anything to keep us from simply grepping them away when System.map is created?
$(NM) $@ | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)\|\(Letext\)' | sort > System.map
Signature · 2 lines
Dave Hansen [email protected]