Re: kallsyms __print_symbol prints first weak symbol encountered

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Mathieu Desnoyers <mathieu.desnoyers@...>
Cc: Rusty Russell <rusty@...>, <linux-kernel@...>, systemtap@sourceware.org <systemtap@...>
Date: Tuesday, October 30, 2007 - 3:49 pm

Mathieu Desnoyers wrote:

Hi,


I don't know if it is a concern, but if we're going to fix it, we should
probably do it in "scripts/kallsyms" by providing a list that is already
sorted according to "address, weakness".

This way the run-time kernel keeps the current behavior, without any 
overhead. Something along the lines of the attached patch (just compile 
tested).

However, this is an area where we've had problems in the past with some 
architectures giving different results between passes, and then any 
change to the symbol order might make the problem worse and make the 
build process fail with a "Inconsistent kallsyms data" error message.

So, if someone wants to use this, it should go through -mm for a while, 
first.

-- 
Paulo Marques - www.grupopie.com

"All I ask is a chance to prove that money can't make me happy."
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
kallsyms __print_symbol prints first weak symbol encountered, Mathieu Desnoyers, (Tue Oct 30, 1:49 pm)
Re: kallsyms __print_symbol prints first weak symbol encount..., Paulo Marques, (Tue Oct 30, 3:49 pm)
Re: kallsyms __print_symbol prints first weak symbol encount..., Mathieu Desnoyers, (Tue Oct 30, 7:45 pm)