login
Header Space

 
 

Re: [patch 2/2] Use the stack frames to get exact stack-traces for CONFIG_FRAMEPOINTER on x86-64

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Arjan van de Ven <arjan@...>
Cc: <linux-kernel@...>, <mingo@...>, <tglx@...>, <hpa@...>
Date: Tuesday, January 8, 2008 - 1:01 pm

Arjan van de Ven <arjan@infradead.org> writes:


You would also need to add frame pointers to all .S functions, otherwise
it will stop there.


Well it's still the wrong way to do this. The correct way is to reintegrate
Jan's dwarf2 unwinder. Incidentially that code supports frame pointer
unwinding too, but of course with the same limits as described above.


That will likely happen in most non trivial cases (interrupts/exceptions etc.)

-Andi
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [patch 2/2] Use the stack frames to get exact stack-trac..., Andi Kleen, (Tue Jan 8, 1:01 pm)
speck-geostationary