lkml.org 
[lkml]   [2002]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [patch] dump_stack(): arch-neutral stack trace
Date
On Tuesday 10 September 2002 03:01, Andrew Morton wrote:
> From Christoph Hellwig, also present in 2.4.
>
> Create an arch-independent `dump_stack()' function. So we don't need to do
>
> #ifdef CONFIG_X86
> show_stack(0); /* No prototype in scope! */
> #endif
>
> any more.
>
> The whole dump_stack() implementation is delegated to the architecture.
> If it doesn't provide one, there is a default do-nothing library
> function.

Is there a reason for not calling it "backtrace()" ?

--
Daniel
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.187 / U:0.908 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site