lkml.org 
[lkml]   [2008]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 2/2] Use the stack frames to get exact stack-traces for CONFIG_FRAMEPOINTER on x86-64

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

> x86 32 bit already has this feature: This patch uses the stack frames
> with frame pointer into an exact stack trace, by following the frame
> pointer. This only affects kernels built with the CONFIG_FRAME_POINTER
> config option enabled, and greatly reduces the amount of noise in
> oopses.

nice! Applied.

> The code tries to use the frame pointers to do a backtrace, but if it
> smells iffy or invalid, falls back to the traditional way of printing
> backtraces, to make sure that at least some useful backtrace is
> created.
>
> Due to the fragility and importance of the backtrace code, this needs
> to be well reviewed and well tested before merging into mainlne.

yeah, agreed. But i think this is still fundamentally more robust than
the unwind info based backtracer. Cool stuff!

Ingo


\
 
 \ /
  Last update: 2008-01-08 08:15    [W:0.030 / U:6.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site